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
A data frame with 16126 rows and 34 columns.
Unique identifier for each NLSY respondent
Respondent's sex. 1 denotes male, 2 denotes female.
Indicator for whether or not respondent's identified as Black
Respondent's body mass index - calculated from reported height and weight
Highest grade completed by respondent's father
Highest grade completed by respondent's mother
Indicator for whether or not respondent's race identified as Hispanic
Number of siblings of respondent
Indicator for whether or not respondent identified as white.
Highest grade completed by respondent
Age that respondent reported first using tobacco. If they reported never using tobacco, recorded as 100.
Age that respondent reported first drinking alcohol. If they reported never drinking alcohol, recorded as 100.
Race, as recorded by NLSY. 1 denotes Hispanic, 2 denotes Black, 3 denotes White.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.