Ordered, cross-sectional smoking responses from 237 Statistics I students at the University of Adelaide. The response levels are never, occasional, regular, and heavy. One student did not report a smoking level, which is stored as a missing response.
This data can be used to model the choice of smoking based on age and exercise frequency.
Format
A tibble with 237 rows and 4 columns:
- student [
integer] The student identifier.
- choice [
ordered] The smoking level.
- age [
numeric] The student's age in years.
- exercise [
factor] Whether the student exercises frequently, sometimes, or not at all.
Source
Adapted from survey in the
MASS package.
The original student survey is documented by Venables and Ripley (2002).
