Data from the U.S. National Survey on Drug Use and Health on the frequency with which individuals skip school and other covariates.
data("skipping")
A data frame with 252 observations on the following 6 variables.
income
Reported household income, where 1
means < $20k;
2
means >= $20k and < $50k;
3
means >= $50k and < $75k;
4
means >= $75k.
irsex
Gender; 1
is male and 2
is female.
educatn2
Grade in school (see details).
schdskip
Reported number of school days skipped out of the past 30.
wrkhrsw2
Reported number of hours worked in the past week.
anyskip
A binary version of schdskip
, signifying whether the
respondent skipped any days of school out of the past 30.
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, the educatn2
has been recoded to generally
match the actual grade in which the respondent is enrolled. The only exceptions to this
are that 14
means the second and third years in college, and 15
means the fourth
or higher year in college.
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("skipping", package="smdata")
# }
Run the code above in your browser using DataLab