Exercise

Reading model diagnostics

gam.check() helps you understand whether you have enough basis functions to model the data.

After running checks on the model, answer the following question:

Which smooths do not have sufficient numbers of basis functions?

Instructions 1/2

undefined XP
    1
    2

Print diagnostics on model (mod) basis size and plots of model residuals.