-
Notifications
You must be signed in to change notification settings - Fork 0
Data Analysis 2015
Adam VanIwaarden edited this page Jan 31, 2017
·
2 revisions
For the 2015 Hawaii SGP analyses, we are updating analyses done in 2014 using the updateSGP
function. The source code can be copied and pasted into R or executed using the R source
command. Note that the paths associated with the data being loaded might have to be adjusted based upon how your folders are set up.
In this analysis, updateSGP
takes the Hawaii_SGP object containing all data and analyses up to 2014 and augments that with the 2015 data and subsequently runs all the 2015 analyses.
###########################################################
###
### Hawaii SGP Analysis for 2015
###
###########################################################
### Load SGP Package
require(SGP)
### Load previous SGP object and 2015 data
load("Data/Hawaii_SGP.Rdata")
load("Data/Hawaii_Data_LONG_2015.Rdata")
load("Data/Hawaii_Data_LONG_2015_INSTRUCTOR_NUMBER.Rdata")
### Update SGPs
Hawaii_SGP <-
updateSGP(
Hawaii_SGP,
Hawaii_Data_LONG_2015,
Hawaii_Data_LONG_2015_INSTRUCTOR_NUMBER,
sgp.percentiles.equated=TRUE,
sgPlot.demo.report=TRUE,
parallel.config=list(
BACKEND="PARALLEL",
WORKERS=list(
PERCENTILES=4,
PROJECTIONS=4,
LAGGED_PROJECTIONS=4,
SUMMARY=4,
GA_PLOTS=4,
SG_PLOTS=1)))
### Save results
save(Hawaii_SGP, file="Data/Hawaii_SGP.Rdata")
Running this analysis will internally run the six steps mentioned earlier by performing the following:
-
prepareSGP
Combines the 2015 LONG data file with the existing longitudinal LONG file in Hawaii_SGP@Data and run checks associated withprepareSGP
on merge result. -
analyzeSGP
Performs 2015 SGP analyses including student growth percentiles, student growth projections, and lagged student growth projections. -
combineSGP
Merges results from 2015 analyses back into the master longitudinal record, Hawaii_SGP@Data, and calculates/creates scale scores associated with SGP targets. -
summarizeSGP
Saves previous summaries to hard disk, Hawaii_SGP@Summary, as Hawaii_SGP_Summary_2012.Rdata and calculates new summaries for the current year. -
visualizeSGP
Creates state level summary bubble plots, growth achievement plots (wave charts), and demonstration student growth plots. -
outputSGP
Exports data in multiple formats:
- Hawaii_SGP_Data_LONG.txt.zip a pipe delimited copy of Hawaii_SGP@Data, the complete master longitudinal record.
- Hawaii_SGP_Data_LONG_2015.txt.zip a pipe delimited copy of the 2015 longitudinal record subsetted from Hawaii_SGP@Data.
- Hawaii_SGPData_WIDE.txt.zip a pipe delimited WIDE version of the master longitudinal record, Hawaii_SGP@Data.
- Hawaii_SGP_INSTRUCTOR_Data.txt.zip a pipe delimited LONG version of the INSTRUCTOR_NUMBER file merged with the master longitudinal data record.
SGP - Student Growth Percentiles SGP Blog | SGP GitHub Repo | SGP on CRAN