Skip to content
Prev 78150 / 398502 Next

Estimate predictor contribution in GAM models

On Tue, 20 Sep 2005, Yves Magliulo wrote:

            
- The easiest thing to do is probably to refit the model without each
predictor, and look at how much the r^2 drops. You might want to fix the
smoothing parameters when you do this: G$sp gives the original smoothing
parameter estimates for the model with all terms, so you can pick out the
appropriate smoothing parameters to send to `gam' via the `sp' argument,
for the 2 term fits.

best,
Simon