-
Notifications
You must be signed in to change notification settings - Fork 0
Data Analysis 2013
dbetebenner edited this page Aug 26, 2014
·
1 revision
For the 2013 Hawaii analyses, we are updating analyses from the previous years and use the updateSGP
function.
The source code can be copy 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
2012 and augments that with the 2013 data and subsequently runs all the 2013 analyses.
###########################################################
###
### Hawaii SGP Analysis for 2013
###
###########################################################
### Load SGP Package
require(SGP)
### Load previous SGP object and 2013 data
load("Data/Hawaii_SGP.Rdata")
load("Data/Hawaii_Data_LONG_2013.Rdata")
load("Data/Hawaii_Data_LONG_2013_INSTRUCTOR_NUMBER.Rdata")
### Update SGPs
Hawaii_SGP <- updateSGP(
what_sgp_object=Hawaii_SGP,
with_sgp_data_LONG=Hawaii_Data_LONG_2013,
with_sgp_data_INSTRUCTOR_NUMBER=Hawaii_Data_LONG_2013_INSTRUCTOR_NUMBER,
sgPlot.demo.report=TRUE,
parallel.config=list(BACKEND="PARALLEL", WORKERS=list(PERCENTILES=4, BASELINE_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 2013 LONG data file with the existing longitudinal LONG file in Hawaii_SGP@Data and run checks associated withprepareSGP
on merge result. -
analyzeSGP
Performs 2013 SGP analyses including student growth percentiles, baseline student growth percentiles, student growth projections, baseline student growth projections, lagged student growth projections, lagged baseline student growth projections. -
combineSGP
Merges results from 2013 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_2013.txt.zip a pipe delimited copy of the 2013 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