Skip to content
Prev 302880 / 398503 Next

mgcv and gamm4: REML, GCV, and AIC

john benson <smilodon2000 <at> hotmail.com> writes:
To the best of my knowledge, REML and GCV are not doing
similar things.  REML is an approach for estimating variance
components in a less-biased way (as you will have seen in your
reading).  However, one major caveat with REML is that it is
inappropriate to compare models with different fixed effects
that have been estimated via REML, so (if that's what you're
doing) **you might not want to use REML** ...  In contrast, GCV is
used to estimate the degree of smoothing/penalization factor
for the smooth functions.
I seem to recall that this is a bit delicate, and that there
may be a discussion somewhere in the mgcv help files -- but I 
don't remember where and can't find it at the moment.  The thing to be
careful about is that the effective degrees of freedom are 
appropriately represented in the 'mer' part of the fit ...