Learn R Programming

BalancedSampling (version 1.5.5)

vsb: Variance estimator for spatially balanced sample

Description

Variance estimator of HT estimator of population total of target variable y

Usage

vsb(probs,ys,xs)

Arguments

probs

vector of length n (sample) with inclusion probabilities

ys

vector of target variable y of length n (sample)

xs

matrix of (standardized) auxiliary variables of n rows (sample) and q columns

Value

Number, the estimated variance

References

Grafstr<U+00F6>m, A., and Schelin, L. (2014). How to select representative samples. Scandinavian Journal of Statistics.