Skip to content
dbetebenner edited this page Aug 26, 2014 · 1 revision

2014 SGP Analyses

For the 2014 Hawaii SGP analyses, we are updating analyses done in 2013 using 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 2013 and augments that with the 2014 data and subsequently runs all the 2014 analyses.

###########################################################
###
### Hawaii SGP Analysis for 2014
###
###########################################################

### Load SGP Package

require(SGP)


### Load previous SGP object and 2014 data

load("Data/Hawaii_SGP.Rdata")
load("Data/Hawaii_Data_LONG_2014.Rdata")
load("Data/Hawaii_Data_LONG_2014_INSTRUCTOR_NUMBER.Rdata")


### Update SGPs

Hawaii_SGP <- updateSGP(
			what_sgp_object=Hawaii_SGP,
			with_sgp_object=Hawaii_Data_LONG_2014,
			with_sgp_object_INSTRUCTOR_NUMBER=Hawaii_Data_LONG_2014_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:

  1. prepareSGP Combines the 2014 LONG data file with the existing longitudinal LONG file in Hawaii_SGP@Data and run checks associated with prepareSGP on merge result.
  2. analyzeSGP Performs 2014 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.
  3. combineSGP Merges results from 2014 analyses back into the master longitudinal record, Hawaii_SGP@Data, and calculates/creates scale scores associated with SGP targets.
  4. summarizeSGP Saves previous summaries to hard disk, Hawaii_SGP@Summary, as Hawaii_SGP_Summary_2012.Rdata and calculates new summaries for the current year.
  5. visualizeSGP Creates state level summary bubble plots, growth achievement plots (wave charts), and demonstration student growth plots.
  6. 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_2014.txt.zip a pipe delimited copy of the 2014 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.

Clone this wiki locally