Re: [R] gam and step

2003-07-14 Thread Simon Wood
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

[R] gam and step

2003-07-14 Thread Martin Wegmann
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