For the following five exercises, you will need to construct indicator variables to use categorical variables as explanatory variables in logistic regression. Be sure to review the material in Chapter 11 on models with categorical explanatory variables (pages 571-575) before attempting these exercises.
17.38 Student athletes and gambling.
A survey of student athletes that asked questions about gambling behavior classified students according to the National Collegiate Athletic Association (NCAA) division.13 For male student athletes, the percent who reported wagering on collegiate sports are given here along with the numbers of respondents in each division:
Division | |||
I | II | III | |
Percent | 17.2% | 21.0% | 24.4% |
Number | 5619 | 2957 | 4089 |