Skip to content
Prev 2180 / 7420 Next

Stepwise algorithm for GAM

On Tue, 2011-05-24 at 07:45 +0200, Zoltan Botta-Dukat wrote:
anova(b1, b2, test = "Chisq")
Small difference in terms of the selected model perhaps, but I think the
difference between manual selection and the penalisation using `select =
TRUE` is vast. In the former you have used the training data to inform
model selection - the standard errors and p-values know nothing of this
selection and are thus biased. In the latter with `select = TRUE`, an
additional penalty term in the smoothness selection is optimised over
during model fitting. The p-values, whilst still approximate, are at
least interpretable in that case.

G