Learn R Programming

⚠️There's a newer version (1.9-4) of this package.Take me there.

mgcv (version 1.5-3)

GAMs with GCV/AIC/REML smoothness estimation and GAMMs by PQL

Description

Routines for GAMs and other generalized ridge regression with multiple smoothing parameter selection by GCV, REML or UBRE/AIC. Also GAMMs by REML or PQL. Includes a gam() function.

Copy Link

Version

Install

install.packages('mgcv')

Monthly Downloads

106,646

Version

1.5-3

License

GPL (>= 2)

Maintainer

Simon Wood

Last Published

April 22nd, 2009

Functions in mgcv (1.5-3)

new.name

Obtain a name for a new variable that is not already in use
interpret.gam

Interpret a GAM formula
gam.convergence

GAM convergence and performance issues
anova.gam

Hypothesis tests related to GAM fits
Predict.matrix

Prediction methods for smooth terms in a GAM
uniquecombs

find the unique rows in a matrix
gam.fit3

P-IRLS GAM estimation with GCV & UBRE/AIC or RE/ML derivative calculation
tensor.prod.model.matrix

Utility functions for constructing tensor product smooths
residuals.gam

Generalized Additive Model residuals
predict.gam

Prediction from fitted GAM model
step.gam

Alternatives to step.gam
magic.post.proc

Auxilliary information from magic fit
smoothCon

Prediction/Construction wrapper functions for GAM smooth terms
gam.outer

Minimize GCV or UBRE score of a GAM using `outer' iteration
smooth.construct.tensor.smooth.spec

Tensor product smoothing constructor
mroot

Smallest square root of matrix
mono.con

Monotonicity constraints for a cubic regression spline
full.score

GCV/UBRE score for use within nlm
smooth.construct.ad.smooth.spec

Adaptive smooths in GAMs
smooth.construct.ps.smooth.spec

P-splines in GAMs
smooth.construct

Constructor functions for smooth terms in a GAM
cSplineDes

Evaluate cyclic B spline basis
te

Define tensor product smooths in GAM formulae
formula.gam

GAM formula
gamObject

Fitted gam object
gam.fit

GAM P-IRLS estimation with GCV/UBRE smoothness estimation
s

Defining smooths in GAM formulae
gam.check

Some diagnostics for a fitted gam model
formXtViX

Form component of GAMM covariance matrix
plot.gam

Default GAM plotting
gamSim

Simulate example data for GAMs
choose.k

Basis dimension choice for smooths
exclude.too.far

Exclude prediction grid points too far from data
mgcv.control

Setting mgcv defaults
notExp

Functions for better-than-log positive parameterization
fixDependence

Detect linear dependencies of one matrix on another
gam.selection

Generalized Additive Model Selection
fix.family.link

Modify families for use in GAM fitting
gam2objective

Objective functions for GAM smoothing parameter estimation
initial.sp

Starting values for multiple smoothing parameter estimation
ldTweedie

Log Tweedie density evaluation
get.var

Get named variable or evaluate expression from list or data.frame
pcls

Penalized Constrained Least Squares Fitting
gam.side

Identifiability side conditions for a GAM
negbin

GAM negative binomial family
smooth.construct.tp.smooth.spec

Penalized thin plate regression splines in GAMs
Predict.matrix.cr.smooth

Predict matrix method functions
mgcv

Multiple Smoothing Parameter Estimation by GCV or UBRE
model.matrix.gam

Extract model matrix from GAM fit
logLik.gam

Extract the log likelihood for a fitted GAM
summary.gam

Summary for a GAM fit
extract.lme.cov

Extract the data covariance matrix from an lme object
print.gam

Print a Generalized Additive Model object.
mgcv-package

GAMs with GCV/AIC/REML smoothness estimation and GAMMs by REML/PQL
influence.gam

Extract the diagonal of the influence/hat matrix for a GAM
vis.gam

Visualization of GAM objects
pdIdnot

Overflow proof pdMat class for multiples of the identity matrix
notExp2

Alternative to log parameterization for variance components
pdTens

Functions implementing a pdMat class for tensor product smooths
magic

Stable Multiple Smoothing Parameter Estimation by GCV or UBRE, with optional fixed penalty
null.space.dimension

The basis of the space of un-penalized functions for a TPRS
gam.control

Setting GAM fitting defaults
place.knots

Automatically place a set of knots evenly through covariate values
vcov.gam

Extract parameter (estimator) covariance matrix from GAM fit
smooth.terms

Smooth terms in GAM
Tweedie

GAM Tweedie family
smooth.construct.cr.smooth.spec

Penalized Cubic regression splines in GAMs
gam

Generalized additive models with integrated smoothness estimation
gam.models

Specifying generalized additive models
gamm

Generalized Additive Mixed Models
sp.vcov

Extract smoothing parameter estimator covariance matrix from (RE)ML GAM fit
linear.functional.terms

Linear functionals of a smooth in GAMs