-
Notifications
You must be signed in to change notification settings - Fork 0
/
WIDA_IN_SGP_2020.R
39 lines (28 loc) · 1.12 KB
/
WIDA_IN_SGP_2020.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
##########################################################################################
###
### Script for calculating SGPs for 2019-2020 WIDA/ACCESS Indiana
###
##########################################################################################
### Load SGP package
require(SGP)
### Load Data
load("Data/WIDA_IN_SGP.Rdata")
load("Data/WIDA_IN_Data_LONG_2020.Rdata")
### Run analyses
WIDA_IN_SGP <- updateSGP(
WIDA_IN_SGP,
WIDA_IN_Data_LONG_2020,
steps=c("prepareSGP", "analyzeSGP", "combineSGP", "visualizeSGP", "outputSGP"),
sgp.percentiles=TRUE,
sgp.projections=TRUE,
sgp.projections.lagged=TRUE,
sgp.percentiles.baseline=FALSE,
sgp.projections.baseline=FALSE,
sgp.projections.lagged.baseline=FALSE,
get.cohort.data.info=TRUE,
sgp.target.scale.scores=TRUE,
plot.types=c("growthAchievementPlot", "studentGrowthPlot"),
sgPlot.demo.report=TRUE,
parallel.config=list(BACKEND="PARALLEL", WORKERS=list(PERCENTILES=4, BASELINE_PERCENTILES=4, PROJECTIONS=4, LAGGED_PROJECTIONS=4, SGP_SCALE_SCORE_TARGETS=4, GA_PLOTS=1, SG_PLOTS=1)))
### Save results
#save(WIDA_IN_SGP, file="Data/WIDA_IN_SGP.Rdata")