Usage
studentGrowthPercentiles(panel.data,
sgp.labels,
panel.data.vnames,
grade.progression,
num.prior,
subset.grade,
percentile.cuts,
use.my.knots.boundaries,
use.my.coefficient.matrices,
print.other.gp,
calculate.sgps=TRUE,
rq.method="br",
knot.cut.percentiles=c(0.2,0.4,0.6,0.8),
convert.0and100=TRUE,
sgp.quantiles="Percentiles",
percuts.digits=0,
isotonize=TRUE,
convert.using.loss.hoss=TRUE,
goodness.of.fit=TRUE)
Arguments
panel.data
REQUIRED. Object of class list, data.frame, or matrix containing longitudinal student data in wide format. If supplied as part of a list, data should be
contained in panel.data$Panel_Data
. Data must be formatted so that student ID is the f
sgp.labels
REQUIRED. A list, sgp.labels
, of the form list(my.year= ,
my.subject= )
. The user-specified values are used to save the student growth percentiles, coefficient matrices, knots/boundaries, and goodness of fit result
panel.data.vnames
Vector of variables to use in student growth percentile calculations. If not specified, function attempts to use all available variables.
grade.progression
Preferred argument to specify a student grade/time progression in the data. For example, 3:4
would indicate to subset the
data where the two most recent years of data available are 3 and 4, respectively. Also allows for non-sequential grade
num.prior
Number of prior scores one wishes to use in the analysis. Defaults to num.panels-1
.
If num.prior=1
, then only 1st order growth percentiles are computed, if num.prior=2
, then 1st and 2nd order are computed,
if <
subset.grade
Student grade level for sub-setting. If the data fed into the function contains multiple
grades, setting subset.grade=5
selects out those students in grade five in the most recent year of the data. If no sub-setting is desired,
argument d
percentile.cuts
Additional percentile cuts (supplied as a vector) associated with each student's conditional distribution.
Default is to provide NO growth percentile cuts (scale scores associated with those growth percentiles) for each student.
use.my.knots.boundaries
A list of the form list(my.year= , my.subject= )
specifying a set of pre-calculated
knots and boundaries for B-spline calculations. Most often used to utilize knots and boundaries calculated from a previous analysis. Knots and boundaries
use.my.coefficient.matrices
A list of the form list(my.year= , my.subject= )
specifying a set of pre-calculated
coefficient matrices to use for student grwoth percentile calculations. Can be used to calculate baseline referenced student growth percentiles or to calc
print.other.gp
Boolean argument (defaults to FALSE) indicating whether growth percentiles of all orders should be returned. The default returns only the highest order growth percentile for each student.
calculate.sgps
Boolean argument (defaults to TRUE) indicating whether student growth percentiles should be calculated following coefficient matrix calculation.
rq.method
Argument to define the estimation method used in the quantile regression calculations. The default is the the "br"
method referring to the Barrodale and Roberts l1 estimation detailed in Koenker (2005) and in the help for the quantile regress
knot.cut.percentiles
Argument that specifies the quantiles to be used for calculation of B-spline knots. Default is to place knots at the 0.2, 0.4, 0.6, and 0.8 quantiles.
convert.0and100
Boolean argument (defaults to TRUE) indicating whether conversion of growth percentiles of 0 and 100 to growth percentiles of 1 and 99, respectively, occurs. The default produces growth percentiles ranging from 1 to 99.
sgp.quantiles
Argument to specify quantiles for quantile regression estimation. Default is Percentiles. User can additionally submit a vector of quantiles (between 0 and 1). Goodness of fit output only available currently for PERCENTILES.
percuts.digits
Argument specifying how many digits (defaults to 2) to print percentile cuts (if asked for) with.
isotonize
Boolean argument (defaults to TRUE) indicating whether quantile regression results are isotonized to prevent quantile crossing following the
methods derived by Dette & Volgushev (2008).
convert.using.loss.hoss
Boolean argument (defaults to TRUE) indicating whether requested percentile cuts are adjusted using the lowest obtainable scale
score (LOSS) and highest obtainable scale score (HOSS). Those percentile cuts above the HOSS are replaced with the HOSS and
goodness.of.fit
Boolean argument (defaults to TRUE) indicating whether to produce goodness of fit results associated with produced student growth percentiles.
Goodness of fit results are grid.grobs stored in panel.data$Goodness_of_Fit
$my.year.my.s