Closed dschoenig closed 3 years ago
0ea20b83fb91a78531df5682347d0d1ed8e6ebff now uses method = "REML"
for all calls to gam()
in section 3 and later. The argument is not introduced earlier because theory is explained at the end of section 2. Slides explaining GCV have been hidden.
Simon Wood recommends using ML or REML for fitting GAMs, as it is less prone to overfitting and because the Gaussian approximation to the model posterior will be more accurate (e.g. the confidence intervals are more robust).
REML will become the default method very soon in
mgcv
, it only hasn't been until now for backwards compatibility.Because of that I think we should use
method = "REML"
for allgam()
calls.This change, however, would also affect the explanation of the fitting process, which currently explains GCV.