prepareSGP
, SGP data analysis, analyzeSGP
,
data combining, combineSGP
, data summary, summarizeSGP
, data visualization visualizeSGP
and data output
outputSGP
.
abcSGP(sgp_object,
state=NULL,
steps=c("prepareSGP", "analyzeSGP", "combineSGP",
"summarizeSGP", "visualizeSGP", "outputSGP"),
years=NULL,
content_areas=NULL,
grades=NULL,
prepareSGP.var.names=NULL,
prepareSGP.create.additional.variables=FALSE,
sgp.percentiles=TRUE,
sgp.projections=TRUE,
sgp.projections.lagged=TRUE,
sgp.percentiles.baseline=TRUE,
sgp.projections.baseline=TRUE,
sgp.projections.lagged.baseline=TRUE,
sgp.use.my.coefficient.matrices=NULL,
sgp.minimum.default.panel.years=NULL,
sgp.target.scale.scores=FALSE,
sgp.target.scale.scores.only=FALSE,
simulate.sgps=TRUE,
calculate.simex=NULL,
calculate.simex.baseline=NULL,
goodness.of.fit.print=TRUE,
parallel.config=NULL,
save.intermediate.results=FALSE,
save.old.summaries=FALSE,
sgPlot.demo.report=FALSE,
sgp.config=NULL,
sgp.summaries=NULL,
summary.groups=NULL,
data_supplementary=NULL,
confidence.interval.groups=NULL,
plot.types=c("bubblePlot", "studentGrowthPlot", "growthAchievementPlot"),
outputSGP.output.type=c("LONG_Data",
"LONG_FINAL_YEAR_Data",
"WIDE_Data",
"INSTRUCTOR_Data"),
verbose.output=FALSE,
sgp.sqlite=NULL,
sgp.percentiles.equated=NULL, sgp.percentiles.equating.method=NULL,
sgp.percentiles.calculate.sgps=TRUE,
SGPt=NULL)
sgpData_LONG
for an exemplar. By including the name of the state in the object name (e.g., Idaho_SGP), the function
will detect what state is associated with the data and supply that to the 'state' argument of the function so that state meta-data located in the SGPstateData object can be utilized.
NOTE: Data preparation must be meticulous to utilize this enhanced functionality.
sgp_object
.
prepareSGP
, analyzeSGP
, combineSGP
, summarizeSGP
, visualizeSGP
indicating what steps the user wants accomplished. Default is to perform all steps.
prepareSGP
for more details. Defaults to NULL.combineSGP
indicating whether target scale scores associated with SGP_TARGETs should be calculated as
part of the combineSGP
run. Defaults to FALSE.
combineSGP
indicating whether ONLY target scale scores associated with SGP_TARGETs should be calculated as
part of the combineSGP
run. Defaults to FALSE.
abcSGP
only.
analyzeSGP
.
analyzeSGP
indicating whether to print goodness of fit results.
FOREACH
or PARALLEL
. Please consult the manuals and vignettes for information of these packages! The analyzeSGP
help page contains more thorough explanation and examples of the parallel.config
setup. The parallel.config list is passed to analyzeSGP
, combineSGP
, summarizeSGP
and visualizeSGP
. The WORKERS list can accordingly contain
elements for PERCENTILES, PROJECTIONS, LAGGED_PROJECTIONS, BASELINE_MATRICES, BASELINE_PERCENTILES for analyzeSGP
, SUMMARY for summarizeSGP
and GA_PLOTS and SG_PLOTS for
visualizeSGP
. See those functions help pages for details.
abcSGP
be saved after each of prepareSGP
, analyzeSGP
,
combineSGP
, and summarizeSGP
. Default is FALSE.
@Summary
slot before creating new summaries)
indicating whether the call to summarizeSGP
should save existing summaries in the @Summary
slot.
analyzeSGP
and combineSGP
for user specified SGP analyses. See analyzeSGP
documentation for details on format of configuration argument.
summary.group
argument. Default is NULL allowing the summarizeSGP
function to produce the list of summaries automatically.
institution
, content
, time
, institution_type
,
institution_level
, demographic
, and institution_inclusion
. Summaries generated in summarizeSGP are for all possible combinations of the 8 types of group. See documentation for
summarizeSGP
for more detail.
summarizeSGP
. See sgpData_INSTRUCTOR_NUMBER
for an example. Supplied data is embedded in the @Data_Supplementary slot.
summary.groups
argument indicating which groups to provide confidence intervals for.
See documentation for summarizeSGP
for more detail.
visualizeSGP
indicating the types of plots to produce. Currently supported plots include bubblePlot
s,
studentGrowthPlot
s, and growthAchievementPlot
s.
LONG_Data
, LONG_FINAL_YEAR_Data
, WIDE_Data
,
and INSTRUCTOR_Data
.@Data
slot and subsequently
used to extract data subsets for analyses conducted in order to reduce the amount of RAM memory required. See full argument description in analyzeSGP
.
analyzeSGP
indicating whether equating should be used on the most recent year of test data provided. Equating allows for student growth projections to be calculated in
across assessment transitions where the scale for the assessment changes.
analyzeSGP
indicating type(s) of equating method to used if sgp.percentiles.equated=TRUE
.
Default is NULL indicating 'equipercentile' equating. Options include 'identity', 'mean', 'linear', and 'equipercentile'.
analyzeSGP
indicating whether student growth percentiles are
produced as part of calls to the studentGrowthPercentiles
function. Default is TRUE. Setting to FALSE produces only coefficient
matrices.
@Data
slot as a data.table keyed using VALID_CASE
, CONTENT_AREA
,
YEAR
, ID
, SGP results including student growth percentile and student growth projections/trajectories in the SGP slot, and summary results in the
@Summary
slot.
prepareSGP
, analyzeSGP
, combineSGP
, summarizeSGP
,
studentGrowthPercentiles
, and studentGrowthProjections
## Not run:
# ## Runs all 5 steps
#
# Demonstration_SGP <- abcSGP(sgp_object=sgpData_LONG, state="DEMO")
#
#
# ## Or letting the function detect the state.
#
# Demonstration_SGP <- abcSGP(sgpData_LONG)
#
#
# ###
# ### Example uses of the parallel.config argument
# ###
#
# Demonstration_SGP <- abcSGP(sgpData_LONG,
# parallel.config=list(
# BACKEND="PARALLEL", TYPE="PSOCK",
# WORKERS=list(
# PERCENTILES=8, BASELINE_PERCENTILES=8, PROJECTIONS=7, LAGGED_PROJECTIONS=6,
# SUMMARY=8,
# GA_PLOTS=8, SG_PLOTS=8)
# )
# )
#
# ## End(Not run)
Run the code above in your browser using DataLab