Demographic variables from a U.S. national household survey
A data frame with 3,911 observations on the following 16 variables.
Sample design stratum
Primary sampling unit, numbered within each stratum (1,2)
Gender (1 = male; 2 = female)
Recoded age (3 = 18-24 years; 4 = 25-44 years; 5 = 45-64 years; 6 = 65-69 years; 7 = 70-74 years; 8 = 75 years and older)
Hispanic ethnicity (1 = Hispanic; 2 = Non-Hispanic)
Marital status (1 = Separated; 2 = Divorced; 3 = Married; 4 = Single/never married; 5 = Widowed; 9 = Unknown marital status)
Parent(s) of sample person present in the family (1 = Mother, no father; 2 = Father, no mother; 3 = Mother and father; 4 = Neither mother nor father)
Parent(s) of sample person present in the family recode (1 = Yes; 2 = No)
Education (1 = 8th grade or less; 2 = 9-12th grade, no high school diploma; 3 = High school graduate; 4 = General education development (GED) degree recipient; 5 = Some college, no degree; 6 = Associate's degree, technical or vocational; 7 = Associate's degree, academic program; 8 = Bachelor's degree (BA, BS, AB, BBA); 9 = Master's, professional, or doctoral degree)
Education recode (1 = High school, general education development degree (GED), or less; 2 = Some college; 3 = Bachelor's or associate's degree; 4 = Master's degree & higher)
Race (1 = White; 2 = Black; 3 = Other)
Respondent (0 = nonrespondent; 1 = respondent)
The National Health Interview Survey (NHIS) is used to monitor health conditions in the U.S.
Data are collected through personal household interviews. Only demographic variables are included in this subset which was collected in 2003. The
nhis data set contains observations for 3,911 persons. The file contains only persons 18 years and older.
National Health Interview Survey of 2003 conducted by the U.S. National Center for Health Statistics. https://www.cdc.gov/nchs/nhis.htm
data(nhis) str(nhis) table(nhis$sex,nhis$age_r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.