Skip to content

Instantly share code, notes, and snippets.

@dbetebenner
Last active December 10, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbetebenner/4479335 to your computer and use it in GitHub Desktop.
Save dbetebenner/4479335 to your computer and use it in GitHub Desktop.
Running SGPs (student growth percentiles) with repeated grades
####################################################################################
###
### Test of consecutive grade progression
###
###################################################################################
### Load SGP package
require(SGP)
### Modify sgpData
tmp.data <- sgpData
tmp.data$GRADE_2011[tmp.data$GRADE_2011==4] <- 3
### Run studentGrowthPercentile analyses
my.sgp <- studentGrowthPercentiles(
panel.data=tmp.data,
sgp.labels=list(my.year=2010, my.subject="Numercy"),
grade.progression=c(3,3,5),
drop.nonsequential.grade.progression.variables=FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment