DVar: Design variances for single stratum.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DVar.R

Description

For a single stratum approximate design variances are calculated. Not intended to be called directly.

Usage

1
DVar(popfile, nrefs, yvars, desvars, kvalue, B=1000)

Arguments

popfile

dataframe containing information on stratum of interest.

nrefs

scalar containing the sample size of the stratum.

yvars

character vector containing the name of each variable of interest (dependent variable) for which design variances are required.

desvars

character vector containing the names of the design variables.

kvalue

scalar specifying the value of k for the k-nn imputation.

B

number of re-samples used to calculate the design variances.

Value

A dataframe containing the design variances for the stratum of interest. Data used to calculate these are also returned.

Author(s)

G. Melville

See Also

NC.sample, DesVar.

Examples

1
## DesVar(popfile, nrefs, yvars, kvalue, desvars, B=1000) 

NCSampling documentation built on May 1, 2019, 10:15 p.m.

Related to DVar in NCSampling...