Data from the U.S. National Survey on Drug Use and Health on the frequency with which individuals miss work due to mental health issues and other covariates.
data("workdays")
A data frame with 777 observations on the following 8 variables.
cigtry
Reported age that the respondent first smoked a cigarette.
impydays
Reported days in the past year the respondent was unable to work due to mental health (see details).
age2
Respondent age (see details).
service
Has the respondent been in the U.S. Armed Forces? (1
=yes, 0
=no)
health
Rating of overall health, where 1
is excellent and 5
is poor.
movespy2
Number of times the respondent moved in the past 12 months.
schenrl
Whether the respondent is enrolled in any school (1
=yes, 0
=no).
coutyp2
Type of county in which the respondent resides: large metro (large
), small metro (small
), nonmetro (nonmetro
).
Variable names match those from the National Survey on Drug Use and Health, so more
details can be obtained from the survey codebook. Missing data codes have been
changed to NA
. Additionally, age2
is coded so that 7
means 18 years of age, 8
means 19 years of age, ..., 11
means 22 or 23 years of age, 12
means 24 or 25 years,
13
means 26-29, 14
means 30-34, 15
means 35-49, 16
means 50-64, and 17
means 65 and over.
The variable impydays
contains responses to the question "About how many days out of 365 in the past 12 months were you totally unable to work or carry out your normal activities because of your emotions, nerves, or mental health?"
United States Department of Health and Human Services. Substance Abuse and Mental Health Services Administration. Center for Behavioral Health Statistics and Quality. National Survey on Drug Use and Health, 2010. ICPSR32722-v1. Ann Arbor, MI: Inter-university Consortium for Political and Social Research [distributor], 2011-12-05. doi:10.3886/ICPSR32722.v1
# NOT RUN {
data("workdays", package="smdata")
# }
Run the code above in your browser using DataLab