powered by
For a single stratum approximate design variances are calculated. Not intended to be called directly.
DVar(popfile, nrefs, yvars, desvars, kvalue, B=1000)
dataframe containing information on stratum of interest.
scalar containing the sample size of the stratum.
character vector containing the name of each variable of interest (dependent variable) for which design variances are required.
character vector containing the names of the design variables.
scalar specifying the value of k for the k-nn imputation.
number of re-samples used to calculate the design variances.
A dataframe containing the design variances for the stratum of interest. Data used to calculate these are also returned.
NC.sample, DesVar.
NC.sample
DesVar
## DesVar(popfile, nrefs, yvars, kvalue, desvars, B=1000)
Run the code above in your browser using DataLab