gam and of class
"gam" inheriting from classes "glm" and "lm". Method
functions anova, logLik, influence, plot,
predict, print, residuals and summary exist for
this class.All compulsory elements of "glm" and "lm" objects are present,
but the fitting method for a GAM is different to a linear model or GLM, so
that the elements relating to the QR decomposition of the model matrix are
absent.
gam object has the following elements:pterms) each parameter relates to: applies only to non-smooth terms.update to be used with gam objects, for example).gam control list used in the fit."glm" compatibility)."GCV" or "UBRE", depending on the fitting
criterion used."mgcv" or "magic" parts of smoothing
parameter estimation - this will not be very meaningful for pure "outer"
estimation of smoothing parameters. mgcv.conv differs for method "magic" and "mgcv". Here is
the "mgcv" version:g above - i.e. the leading diagonal of the Hessian.}
TRUE if the second smoothing parameter guess improved the GCV/UBRE score.}
TRUE if the algorithm terminated by failing to improve the GCV/UBRE score rather than by `converging'.
Not necessarily a problem, but check the above derivative information quite carefully.}
In the case of "magic" the items are:
TRUE is multiple GCV/UBRE converged by meeting
convergence criteria. FALSE if method stopped with a steepest descent step
failure.}
na.action used in fitting.gam.method) then this is present and contains whatever was
returned by the optimization routine used (currently nlm or optim).terms object for strictly parametric part of model.smooth.construct objects.terms object of model model frame.Wood, S.N. (2006) Generalized Additive Models: An Introduction with R. Chapman & Hall/ CRC, Boca Raton, Florida
Key Reference on GAMs generally:
Hastie (1993) in Chambers and Hastie (1993) Statistical Models in S. Chapman and Hall.
Hastie and Tibshirani (1990) Generalized Additive Models. Chapman and Hall.
gam