Mixed GAM Computation Vehicle with Automatic Smoothness Estimation

Generalized additive (mixed) models, some of their extensions and other generalized ridge regression with multiple smoothing parameter estimation by (Restricted) Marginal Likelihood, Generalized Cross Validation and similar, or using iterated nested Laplace approximation for fully Bayesian inference. See Wood (2017) for an overview. Includes a gam() function, a wide variety of smoothers, 'JAGS' support and distributions beyond the exponential family.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.8-38 by Simon Wood, 22 days ago

Browse source code at https://github.com/cran/mgcv

Authors: Simon Wood <[email protected]>

Documentation:   PDF Manual  

Task views: Bayesian Inference, Econometrics, Analysis of Ecological and Environmental Data, Statistics for the Social Sciences

GPL (>= 2) license

Imports methods, stats, graphics, Matrix, splines, utils

Depends on nlme

Suggests parallel, survival, MASS

Imported by AIG, AdaptFitOS, AnchorRegression, BNSP, BinQuasi, CIMTx, CKLRT, CatPredi, ClusVis, CondIndTests, DSsim, Epi, FCGR, FDboost, FLightR, FWDselect, GPFDA, GeneralisedCovarianceMeasure, HLMdiag, Haplin, JWileymisc, KarsTS, LFApp, LMERConvenienceFunctions, LW1949, MBHdesign, MBSGS, MFPCA, MHCtools, MHTrajectoryR, MRFcov, ModelMap, MvBinary, NADA2, PolicyPortfolios, PupilPre, PupillometryR, QRM, QuasiSeq, RAPTOR, RLRsim, RPPASPACE, RcmdrPlugin.HH, SACOBRA, SEERaBomb, SSDM, StatDA, TAG, TSA, TSrepr, VWPre, VarSelLCM, WVPlots, WhiteStripe, analogue, anipaths, autoFRK, bayesdfa, baytrends, brms, buildmer, cAIC4, caffsim, car, casebase, causaldrf, cfbfastR, cfda, circularEV, collin, colordistance, dampack, deepregression, demography, discSurv, dlnm, dsims, dtwSat, ebirdst, ecoCopula, ecostats, ef, ega, emon, evgam, ez, fRegression, face, funreg, gamCopula, gamRR, gamm4.test, gapclosing, geoGAM, geonet, ggiraphExtra, ggplot2, gllvm, goeveg, gratia, groc, iRegression, insurancerating, interflex, intsurvbin, invacost, kpcalg, ks, landsat, lmviz, loa, localIV, logistf, lspartition, mfaces, mirt, morphomap, mrds, mudfold, multifamm, networkGen, nfl4th, nflfastR, nlraa, npregfast, oddsratio, oddstream, openair, optimalThreshold, osmose, pagoda2, palaeoSig, pammtools, particles, pdp, penfa, pitchRx, plsmselect, poptrend, ppgam, predkmeans, presmTP, projpred, pspline.inference, psychonetrics, r2glmm, rTG, refitME, refreg, refund, reldist, rioja, rlme, rstpm2, rticulate, sdPrior, secr, selfmade, seqICP, sesem, simPH, simml, simsl, sisal, slp, smurf, snht, spatstat.core, srp, starsExtra, tidymv, tidyvpc, timeSeq, trackeRapp, tripEstimation, tsDyn, tukeytrend, vegan, virtualPollen, vows, voxel, xspliner, xwf, zetadiv.

Depended on by CONCUR, FlexGAM, GJRM, KnowBR, MAPLES, MPINet, NIRStat, PanJen, R2BayesX, STAR, TSVC, TTS, additive, autocart, bamlss, bgeva, cenGAM, coenoflex, coxed, denseFLMM, dsm, eHOF, fcr, fda.usc, gamlss.add, gamlss.spatial, gamm4, gammSlice, gvcm.cat, ibr, ismev, itsadug, labdsv, mgcViz, mombf, multipleNCC, multiridge, nlshelper, nontarget, ordPens, personalized, qgam, robustgam, scam, semsfa, sparseFLMM, structree, trioGxE, tvem, vagam.

Suggested by AlleleShift, BCEA, BiodiversityR, CompareCausalNetworks, DHARMa, DPQ, DynNom, ENMTools, EcoIndR, ForeCA, GeneralizedUmatrix, HRW, HSAUR2, HSAUR3, LinRegInteractive, Mapinguari, MatchIt, MuMIn, PAsso, ProjectionBasedClustering, Rcmdr, RcmdrPlugin.IPSUR, SentimentAnalysis, SpaDES.tools, VGAM, adaptMT, agridat, animint2, auditor, bestNormalize, biomod2, broom, broom.helpers, broom.mixed, caret, catdata, condvis2, ctmcmove, cutpointr, densitr, detrendr, diseasemapping, dynamichazard, earth, ecpc, effectsize, emmeans, fastLaplace, fdapace, flexmix, flextable, freqparcoord, fscaret, gamair, gamclass, ggeffects, ggvis, glmglrt, granova, grattan, gtsummary, heemod, influential, inlabru, insight, latticeExtra, lazyData, lme4, longRPart2, loon, macleish, marginaleffects, mediation, metagam, metamicrobiomeR, mlt.docreg, modelbased, multidplyr, munsellinterpol, myTAI, opera, parameters, parsnip, performance, plotluck, pscl, quantregGrowth, remap, riskRegression, rpanel, rstanarm, sageR, season, shapr, simex, simstudy, spatialEco, spatialrisk, spatialwarnings, targeted, tourr, treedater, vinereg.

Enhanced by sfsmisc, stargazer.

See at CRAN