-
Notifications
You must be signed in to change notification settings - Fork 1
/
ATI_SGP_2015.R
53 lines (36 loc) · 1.14 KB
/
ATI_SGP_2015.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
#########################################################
###
### Calculate EOCT SGPs for ATI for 2015-15
###
##########################################################
### Load SGP Package
require(SGP)
require(data.table)
### Load ATI SGP object
ATI_Data_LONG <- fread('Data/Base_Files/ATI_2014-15_MidYear.csv')
### Load EOCT configurations
source("SGP_CONFIG/2015/READING.2015.config")
source("SGP_CONFIG/2015/MATHEMATICS.2015.config")
ATI.config <- c(
READING.2015.config,
MATHEMATICS.2015.config)
####################################################################################
###
### SGP Analyses
###
####################################################################################
ATI_SGP <- abcSGP(
ATI_Data_LONG,
steps=c("prepareSGP", "analyzeSGP", "combineSGP"),
sgp.config=ATI.config,
sgp.percentiles=TRUE,
sgp.projections=FALSE,
sgp.projections.lagged=FALSE,
sgp.percentiles.baseline=FALSE,
sgp.projections.baseline= FALSE,
sgp.projections.lagged.baseline=FALSE,
simulate.sgps=FALSE)
### Save results
save(ATI_SGP, file="Data/ATI_SGP.Rdata")
### Output Long file
outputSGP(ATI_SGP, output.type="LONG_Data")