Skip to content
Prev 330543 / 398502 Next

Comparing two GAMs using anova (mgcv)

It's ok to use an approximate F test here, provided you are careful with 
the interpretation. e.g. do look at the differences in EDF and not just 
the p-value (negative or very small EDF differences will render the 
p-value essentially meaningless). however...

Where-ever possible it is usually better to test using `summary' or 
`anova' with a single model argument. The approximations used by these 
are better founded than the approximate F-test. i.e. take a look at the 
p-values associated with the 's(y)' term in the larger model.

best,
Simon
On 20/09/13 13:37, Lucas Holland wrote: