survey (version 3.9-1)

hospital: Sample of obstetric hospitals

Description

The hospital data frame has 15 rows and 5 columns.

Usage

data(hospital)

Arguments

source

http://www.ats.ucla.edu/stat/books/sop/hospsamp.dta

References

Levy and Lemeshow. "Sampling of Populations" (3rd edition). Wiley.

Examples

Run this code
data(hospital)
hospdes<-svydesign(strata=~oblevel, id=~hospno, weights=~weighta,
fpc=~tothosp, data=hospital)
hosprep<-as.svrepdesign(hospdes)

svytotal(~births, design=hospdes)
svytotal(~births, design=hosprep)

Run the code above in your browser using DataLab