There isn't a step.gam() in mgcv yet it is one of the things that I'd
like to do eventually, although it will probably be based on comparison of
GCV/UBRE scores rather than H_0 testing.
best,
Simon
> I am looking for a step() function for GAM's.
> In the book Statistical Computing by Crawley
hello,
I am looking for a step() function for GAM's.
In the book Statistical Computing by Crawley and a removal of predictors has
been done "by hand"
model <- gam(y ~s(x1) +s(x2) + s(x3))
summary(model)
model2 <- gam(y ~s(x2) + s(x3)) # removal of the unsignificant variable
#then comparing th