nhdat2 dataset

A Subset of National Health and Nutrition Examination Survey (NHANES)

A Subset of National Health and Nutrition Examination Survey (NHANES)

The National Health and Nutrition Examination Survey (NHANES) combines in-person interviews and physical examinations to produce a comprehensive data set from a probability sample of residents of the U.S.

This data set is a subset of the NHANES data with 1,933 subjects.

data(nhdat2)

Format

A data frame with 1933 observations on the following 8 variables.

  • id: a identification vector specifying cluster ids from largest level to smallest level
  • chol: a continuous vector of cholesterol level
  • wcat: a vector of categorized waist and height ratio
  • icat: an ordinal vector of categorized income level
  • gender: a binary vector of genders
  • age: a vector of categorized age
  • wt: sampling weight within each stratum
  • str: a numeric vector

Details

The variable chol in this data set is continuous, which the varible chol in the nhdat data set is binomial.

Examples

## Not run: data(nhdat2) summary(nhdat2) ## End(Not run)
  • Maintainer: Xiyue Liao
  • License: GPL (>= 2)
  • Last published: 2025-02-20

About the dataset

  • Number of rows: 1933
  • Number of columns: 8
  • Class: data.frame

Column names and types

  • id:numeric
  • chol:numeric
  • wcat:numeric
  • icat:numeric
  • gender:numeric
  • age:numeric
  • wt:numeric
  • str:numeric