1. 学习
  2. /
  3. 课程
  4. /
  5. Nonlinear Modeling with Generalized Additive Models (GAMs) in R

Connected

练习

Fixing problems with model diagnostics

You can use gam.check() to improve models by updating them based on its results.

说明

100 XP
  • Run the model diagnostics on mod.
  • Based on the diagnostics, re-fit the model as mod2, changing the number of basis functions (k) for failing smooths.
  • Run the model diagnostics on mod2 to ensure you have fixed the issue.