nhanes.RdData extracted from NHANES 2009-2010 on high cholesterol.
data(nhanes)A data frame with 8591 observations on the following 7 variables.
SDMVPSUPrimary sampling units
SDMVSTRASampling strata
WTMEC2YRSampling weights
HI_CHOLNumeric vector: 1 for total cholesterol over 240mg/dl, 0 under 240mg/dl
race1=Hispanic, 2=non-Hispanic white, 3=non-Hispanic black, 4=other
agecatAge group (0,19] (19,39] (39,59] (59,Inf]
RIAGENDRGender: 1=male, 2=female
Previously at https://wwwn.cdc.gov/nchs/nhanes/search/datapage.aspx?Component=laboratory&CycleBeginYear=2009
data(nhanes)
design <- svydesign(id=~SDMVPSU, strata=~SDMVSTRA, weights=~WTMEC2YR, nest=TRUE,data=nhanes)
design
#> Stratified 1 - level Cluster Sampling design (with replacement)
#> With (31) clusters.
#> svydesign(id = ~SDMVPSU, strata = ~SDMVSTRA, weights = ~WTMEC2YR,
#> nest = TRUE, data = nhanes)