-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKansas_SGP_2025.R
More file actions
34 lines (29 loc) · 1.02 KB
/
Kansas_SGP_2025.R
File metadata and controls
34 lines (29 loc) · 1.02 KB
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
###################################################################
### Kansas SGP Analysis - 2025
###################################################################
### Load required libraries
library(data.table)
library(SGP)
### Load Kansas data
load("Data/Kansas_SGP.Rdata")
load("Data/Kansas_Data_LONG.Rdata")
Kansas_Data_LONG_2025 <- Kansas_Data_LONG[YEAR == "2025"]
### Source configurations
source("SGP_CONFIG/2025/MATHEMATICS.R")
source("SGP_CONFIG/2025/ELA.R")
KS_2025.config <- c(MATHEMATICS_2025.config, ELA_2025.config)
### Calculate SGPs
Kansas_SGP <- updateSGP(
what_sgp_object=Kansas_SGP,
with_sgp_data_LONG=Kansas_Data_LONG_2025,
state="KS",
steps=c("prepareSGP", "analyzeSGP", "combineSGP", "outputSGP"),
sgp.percentiles=TRUE,
sgp.projections=FALSE,
sgp.projections.lagged=FALSE,
sgp.percentiles.baseline=FALSE,
sgp.projections.baseline=FALSE,
sgp.projections.lagged.baseline=FALSE,
sgp.config=KS_2025.config)
### Save results
save(Kansas_SGP, file="Data/Kansas_SGP.Rdata")