Learn R Programming

survey (version 3.31-2)

mu284: Two-stage sample from MU284

Description

The MU284 population comes from Sarndal et al, and the complete data are available from Statlib. These data are a two-stage sample from the population, analyzed on page 143 of the book.

Usage

data(mu284)

Arguments

Format

A data frame with 15 observations on the following 5 variables.

Source

Carl Erik Sarndal, Bengt Swensson, Jan Wretman. (1991) "Model Assisted Survey Sampling" Springer.

References

Full MU284 population at http://lib.stat.cmu.edu/datasets/mu284

Examples

Run this code
data(mu284)
(dmu284<-svydesign(id=~id1+id2,fpc=~n1+n2, data=mu284))
(ytotal<-svytotal(~y1, dmu284))
vcov(ytotal)

Run the code above in your browser using DataLab