Displaying 1 result from an estimated 1 matches for "ffit1".
Did you mean:
fit1
2005 Apr 08
1
anova with gam?
Hello. In SPLUS I am used to comparing nested models in gam using the
anova function. When I tried this in R this doesn't work (the error
message says that anova() doesn't recognise the gam fit). What must I
do to use anova with gam? To be clear, I want to do the following:
fFit1<-gam(y~x,.)
fit1<-fam(y~s(x),.)
anova(fit2,fit1,test="F")
Thanks.
Bill Shipley
[[alternative HTML version deleted]]