Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


EdSurvey (version 1.0.6)

getWeightJkReplicates: Return the jackknife replicate weights associated with a weight variable.

Description

Return the jackknife replicate weights on an edsurvey.data.frame or light.edsurvey.data.frame associated with a weight variable.

Usage

getWeightJkReplicates(var, data)

Arguments

var

character indicating the name of the variable for which the jackknife replicate weights are desired.

data

an edsurvey.data.frame or light.edsurvey.data.frame.

Value

A character vector of the jackknife replicate weights.

Examples

Run this code
# NOT RUN {
# read in the example data (generated, not real student data)
sdf <- readNAEP(system.file("extdata/data", "M36NT2PM.dat", package = "NAEPprimer"))

getWeightJkReplicates(var="origwt", data=sdf)
# }

Run the code above in your browser using DataLab