nhdat | R Documentation |
A structured subset of the 2009 to 2010 NHANES data designed for illustrating constrained survey estimation methods.
data(nhdat)
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
.
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.
National Center for Health Statistics. NHANES 2009 to 2010 Public Use Data Files.\ https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2009
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.