Description Usage Arguments Value
This function wraps functions from the survey
package for the analysis of complex survey designs.
Specifically, this function will perform statistical
analyses utilizing the provided replicate weights and
multiple plausible values (if specified in the model).
The function will return a list of class
naep.model
with the following elements:
combined the combined results containing estimates and standard errors.
formula the model formula.
models a list of the individual models
before being combined. This has a length of five and
contains the results of each svyFUN
call for each
of the five plausible values. Note that this is only
present for models containing plausible values.
svyFUN the name of the survey
function
called.
variable the name of the plausible value.
1 2 | naep.model(formula, var = NULL, naepData,
svyFUN = svyglm, ...)
|
formula |
model formula |
var |
the variable prefix for an outcome with multiple plausible values (e.g. MRPCM for overall composite math value for math assessment) |
naepData |
a NAEP data object. |
svyFUN |
the function to use from the survey package. |
... |
other parameters passed to the survey function |
an object of class naep.model
with print
and summary
methods defined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.