nhdat2 {csurvey} | R Documentation |
Subset of NHANES 2009 to 2010 Data for Constrained Survey Analysis
Description
A structured subset of the 2009 to 2010 NHANES data designed for illustrating constrained survey estimation methods.
Usage
data(nhdat2)
Format
A data frame with 1,933 observations and the following 8 variables:
id
An identification vector specifying cluster ids from largest level to smallest level, derived from NHANES sequence number
SEQN
.chol
Total cholesterol, measured in mg/dL. This variable is derived from
LBXTC
in the laboratory fileTCHOL_F.XPT
.wcat
A 4 level ordinal categorical variable representing waist to height ratio categories, computed from
BMXWAIST
(waist circumference in cm) andBMXHT
(height in cm) in the body measures fileBMX_F.XPT
.icat
A 4 level ordinal categorical variable. It categorizes income based on the ratio of family income to the federal poverty level (INDFMPIR), with cutpoints at 0.75, 1.38, and 3.5 to reflect meaningful policy thresholds. It is derived from
INDFMIN2
in the demographics fileDEMO_F.XPT
.gender
Gender of the participant, with values 1 (male) and 2 (female), derived from
RIAGENDR
inDEMO_F.XPT
.age
Age in years (continuous), derived from
RIDAGEYR
in the demographics fileDEMO_F.XPT
.wt
Sampling weight within each stratum, derived from (
WTINT2YR
) fromDEMO_G.XPT
.str
Stratum identifier, derived from (
SDMVPSU
) fromDEMO_G.XPT
.
Details
This subset includes participants aged 21 through 45, selected to demonstrate estimation of domain means using order constrained methods.
Source
National Center for Health Statistics. NHANES 2009 to 2010 Public Use Data Files. https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2009