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.