Shape Constrained Additive Models

Generalized additive models under shape constraints on the component functions of the linear predictor. Models can include multiple shape-constrained (univariate and bivariate) and unconstrained terms. Routines of the package 'mgcv' are used to set up the model matrix, print, and plot the results. Multiple smoothing parameter estimation by the Generalized Cross Validation or similar. See Pya and Wood (2015) for an overview. A broad selection of shape-constrained smoothers, linear functionals of smooths with shape constraints, and Gaussian models with AR1 residuals.


Reference manual

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

install.packages("scam")

1.2-22 by Natalya Pya, 7 months ago


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


Authors: Natalya Pya [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports mgcv, methods, stats, graphics, Matrix, splines

Suggests nlme, emmeans, estimability


Imported by FlexGAM, GJRM, MIDASim, PoweREST, cgaim, cpam, funcharts, insurancerating, pammtools, power.nb, reReg, serosv, sspse, trackeR.

Depended on by zetadiv.

Suggested by CAST, IRon, csemTools, gratia, marginaleffects, riskRegression, scar.


See at CRAN