nhdat2: Subset of NHANES 2009 to 2010 Data for Constrained Survey...

nhdat2R 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 file TCHOL_F.XPT.

wcat

A 4 level ordinal categorical variable representing waist to height ratio categories, computed from BMXWAIST (waist circumference in cm) and BMXHT (height in cm) in the body measures file BMX_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 file DEMO_F.XPT.

gender

Gender of the participant, with values 1 (male) and 2 (female), derived from RIAGENDR in DEMO_F.XPT.

age

Age in years (continuous), derived from RIDAGEYR in the demographics file DEMO_F.XPT.

wt

Sampling weight within each stratum, derived from (WTINT2YR) from DEMO_G.XPT.

str

Stratum identifier, derived from (SDMVPSU) from DEMO_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


csurvey documentation built on June 8, 2025, 12:41 p.m.

Related to nhdat2 in csurvey...