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

nhdatR 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(nhdat)

Format

A data frame with 1,680 observations on the following 7 variables:

id

Cluster identifier derived from NHANES sequence number (SEQN).

chol

Binary indicator of high total cholesterol: 1 if total cholesterol > 200 mg/dL, 0 otherwise. Derived from LBXTC in TCHOL_F.XPT.

wcat

Four-level ordinal variable for waist to height ratio category, based on BMXWAIST and BMXHT from BMX_F.XPT.

gender

Gender of the participant (1 = male, 2 = female), from RIAGENDR in DEMO_F.XPT.

age

Age in years (continuous), from RIDAGEYR in DEMO_F.XPT.

wt

Sampling weight within strata, based on WTINT2YR from DEMO_G.XPT.

str

Stratum identifier, based on SDMVPSU from DEMO_G.XPT.

Details

This subset includes participants aged 21 to 45 years, selected for illustrating the estimation of the probability of high cholesterol using order constrained survey 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 nhdat in csurvey...