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)."magic"
for the new more stable method, "mgcv"
for the Wood (2000) method."GCV"
or "UBRE"
, depending on smoothing parameter selection method used
(or appropriate, if none used)."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.}
terms
object for strictly parametric part of model.smooth.construct
objects.terms
object of model
model frame.Wood, S.N. (2000) Modelling and Smoothing Parameter Estimation with Multiple Quadratic Penalties. J.R.Statist.Soc.B 62(2):413-428
Wood, S.N. (2003) Thin plate regression splines. J.R.Statist.Soc.B 65(1):95-114
Wood, S.N. (in press) Stable and efficient multiple smoothing parameter estimation for generalized additive models. J. Amer. Statist. Ass.
Wood, S.N. (2004) On confidence intervals for GAMs based on penalized regression splines. Technical Report 04-12 Department of Statistics, University of Glasgow.
Wood, S.N. (2004) Low rank scale invariant tensor product smooths for generalized additive mixed models. Technical Report 04-13 Department of Statistics, University of Glasgow.
Key Reference on GAMs and related models:
Hastie (1993) in Chambers and Hastie (1993) Statistical Models in S. Chapman and Hall.
Hastie and Tibshirani (1990) Generalized Additive Models. Chapman and Hall.
Wahba (1990) Spline Models of Observational Data. SIAM
gam