-
Notifications
You must be signed in to change notification settings - Fork 0
/
Utah_SGP_Baseline_2019_C_Growth_Projections.R
55 lines (45 loc) · 2.17 KB
/
Utah_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
54
55
##########################################################################################
### ###
### Utah Learning Loss Analyses -- 2019 Baseline Growth Projections ###
### ###
##########################################################################################
### Load packages
require(SGP)
### Load data from baseline SGP analyses
load("Data/Utah_SGP.Rdata")
### Add single-cohort baseline matrices to SGPstateData
SGPstateData <- SGPmatrices::addBaselineMatrices("UT", "2021")
### NULL out assessment transition in 2019 (since already dealth with)
SGPstateData[["UT"]][["Assessment_Program_Information"]][["Assessment_Transition"]] <- NULL
SGPstateData[["UT"]][["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/SCIENCE.R")
source("SGP_CONFIG/2019/BASELINE/Projections/MATHEMATICS.R")
UT_2019_Baseline_Config <- c(
ELA_2019.config,
SCIENCE_2019.config,
MATHEMATICS_2019.config
)
#####
### Run projections analysis - run abcSGP on object from BASELINE SGP analysis
#####
Utah_SGP <- abcSGP(
sgp_object = Utah_SGP,
steps = c("prepareSGP", "analyzeSGP"), # no changes to @Data - don't combine or output
sgp.config = UT_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=16))
)
### Save results
save(Utah_SGP, file="Data/Utah_SGP.Rdata")