-
Notifications
You must be signed in to change notification settings - Fork 1
/
Indiana_SGP_Baseline_2019_C_Growth_Projections.R
53 lines (43 loc) · 2.06 KB
/
Indiana_SGP_Baseline_2019_C_Growth_Projections.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
################################################################################
### ###
### Indiana Learning Loss Analyses -- 2019 Baseline Growth Projections ###
### ###
################################################################################
### Load packages
require(SGP)
### Load data from baseline SGP analyses
load("Data/Indiana_SGP.Rdata")
### Add single-cohort baseline matrices to SGPstateData
SGPstateData <- SGPmatrices::addBaselineMatrices("IN", "2021")
### NULL out assessment transition in 2019 (since already dealth with)
SGPstateData[["IN"]][["Assessment_Program_Information"]][["Assessment_Transition"]] <- NULL
SGPstateData[["IN"]][["Assessment_Program_Information"]][["Scale_Change"]] <- NULL
### Update SGPstateData with grade/course/lag progression information
source("SGP_CONFIG/2019/BASELINE/Projections/Skip_Year_Projections_MetaData.R")
### Read in BASELINE projections configuration scripts and combine
source("SGP_CONFIG/2019/BASELINE/Projections/ELA.R")
source("SGP_CONFIG/2019/BASELINE/Projections/MATHEMATICS.R")
IN_2019_Baseline_Config <- c(
ELA_2019.config,
MATHEMATICS_2019.config
)
#####
### Run projections analysis - run abcSGP on object from BASELINE SGP analysis
#####
Indiana_SGP <- abcSGP(
sgp_object = Indiana_SGP,
steps = c("prepareSGP", "analyzeSGP"), # no changes to @Data - don't combine or output
sgp.config = IN_2019_Baseline_Config,
sgp.percentiles = FALSE,
sgp.projections = FALSE,
sgp.projections.lagged = FALSE,
sgp.percentiles.baseline = FALSE,
sgp.projections.baseline = TRUE, # Need P50_PROJ_YEAR_1_CURRENT for Ho's Fair Trend/Equity Check metrics
sgp.projections.lagged.baseline = FALSE,
save.intermediate.results = FALSE,
parallel.config = list(
BACKEND = "PARALLEL",
WORKERS=list(PROJECTIONS=8))
)
### Save results
save(Indiana_SGP, file="Data/Indiana_SGP.Rdata")