var_srs: The estimation of the simple random sampling.

Description Usage Arguments Value References See Also Examples

Description

Computes the estimation of the simple random sampling.

Usage

1
var_srs(Y, w)

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:

S2p

A data.table containing the values of the variance estimation of the population.

varsrs

A data.table containing the values of the variance estimation of the simple random sampling.

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

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


Search within the vardpoor package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.