nlsySample {splinetree} | R Documentation |
Baseline socioeconomic information and BMI of 100 individuals.
Description
A dataset containing the body mass index (BMI) and baseline socioeconomic information of 100 individuals from the National Longitudinal Survey of Youth 1979 (NLSY), a freely available longitudinal dataset. The 1000 individuals were drawn randomly from among all NLSY respondents with at least 10 non-missing height/weight responses spread out over at least 20 years. This dataset is used in the package vignettes and code examples. Only a small subset of the variables available from the NLSY are included here. See https://www.bls.gov/nls/nlsy79.htm for more
Usage
nlsySample
Format
A data frame with 16126 rows and 34 columns.
- ID
Unique identifier for each NLSY respondent
- SEX
Respondent's sex. 1 denotes male, 2 denotes female.
- AGE
Respondent's age
- BLACK
Indicator for whether or not respondent's identified as Black
- BMI
Respondent's body mass index - calculated from reported height and weight
- HGC_FATHER
Highest grade completed by respondent's father
- HGC_MOTHER
Highest grade completed by respondent's mother
- HISP
Indicator for whether or not respondent's race identified as Hispanic
- Num_sibs
Number of siblings of respondent
- WHITE
Indicator for whether or not respondent identified as white.
- HGC
Highest grade completed by respondent
- Age_first_smoke
Age that respondent reported first using tobacco. If they reported never using tobacco, recorded as 100.
- Age_first_alc
Age that respondent reported first drinking alcohol. If they reported never drinking alcohol, recorded as 100.
- RACE
Race, as recorded by NLSY. 1 denotes Hispanic, 2 denotes Black, 3 denotes White.
Source
https://www.bls.gov/nls/nlsy79.htm