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).min.sp argument to gam). May be larger than sp if some terms share
smoothing parameters, and/or some smoothing parameter values were supplied in the sp argument
of gam."GCV" or "UBRE", depending on the fitting
criterion used."magic" parts of smoothing parameter estimation - this will not be very meaningful for pure "outer"
estimation of smoothing parameters. The items are: full.rank, The apparent rank of the problem given the model matrix and
constraints; rank, The numerical rank of the problem;
fully.converged, TRUE is multiple GCV/UBRE converged by meeting
convergence criteria and FALSE if method stopped with a steepest descent step
failure; hess.pos.defWas the hessian of the GCV/UBRE score positive definite at
smoothing parameter estimation convergence?; iter How many iterations were required to find the smoothing parameters?
score.calls, and how many times did the GCV/UBRE score have to be
evaluated?; rms.grad, root mean square of the gradient of the GCV/UBRE score at
convergence.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.full.sp.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