vsb: Variance estimator for spatially balanced sample

View source: R/RcppExports.R

vsbR Documentation

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öm, A., and Schelin, L. (2014). How to select representative samples. Scandinavian Journal of Statistics.


BalancedSampling documentation built on June 29, 2022, 5:06 p.m.