var_srs {vardpoor}R Documentation

The estimation of the simple random sampling.

Description

Computes the estimation of the simple random sampling.

Usage

var_srs(Y, w = rep(1, length(Y)))

Arguments

Y

The variables of interest.

w

Weight variable. One dimensional object convertible to one-column data.frame.

Value

A list with objects are returned by the function:

References

Yves G. Berger, Tim Goedeme, Guillame Osier (2013). Handbook on standard error estimation and other related sampling issues in EU-SILC, URL https://ec.europa.eu/eurostat/cros/content/handbook-standard-error-estimation-and-other-related-sampling-issues-ver-29072013_en

See Also

vardom, vardomh, varpoord

Examples

Ys <- matrix(rchisq(10, 3), 10, 1)
ws <- c(rep(2, 5), rep(3, 5))
var_srs(Ys, ws)


[Package vardpoor version 0.20.1 Index]