1. Fit a further GAM to these data, one that uses cubic splines rather than loess fits.
2. Does the model fit better than the loess model considered in the text?
3. Use the results from the fitting of GAM given in this chapter to select a possible logistic regression model for the data.
4. Fit your chosen model and interpret the results.