R: Shape Constrained Additive Models

# Shape Constrained Additive Models

## Documentation for package ‘scam’ version 1.2-17

- DESCRIPTION file.

## Help Pages

A B C D F G L M P Q R S V

scam-package | Shape Constrained Additive Models

## -- A --

AIC.scam | Log likelihood for a fitted SCAM, for AIC
anova.scam | Approximate hypothesis tests related to SCAM fits

## -- B --

bfgs_gcv.ubre | Multiple Smoothing Parameter Estimation by GCV/UBRE

## -- C --

check.analytical | Checking the analytical gradient of the GCV/UBRE score

## -- D --

derivative.scam | Derivative of the univariate smooth model terms

## -- F --

formula.scam | SCAM formula
function.predictors | Linear functionals of a smooth in GAMs

## -- G --

gcv.ubre_grad | The GCV/UBRE score value and its gradient

## -- L --

linear.functional.terms | Linear functionals of a smooth in GAMs
logLik.scam | Log likelihood for a fitted SCAM, for AIC

## -- M --

marginal.matrices.tescv.ps | Constructs marginal model matrices for "tescv" and "tescx" bivariate smooths in case of B-splines basis functions for both unconstrained marginal smooths
marginal.matrices.tesmi1.ps | Constructs marginal model matrices for "tesmi1" and "tesmd1" bivariate smooths in case of B-splines basis functions for both unconstrained marginal smooths
marginal.matrices.tesmi2.ps | Constructs marginal model matrices for "tesmi2" and "tesmd2" bivariate smooths in case of B-splines basis functions for both unconstrained marginal smooths

## -- P --

persp | Visualization of SCAM objects
plot.scam | SCAM plotting
Predict.matrix.cv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.cvBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.cx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.cxBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.lmpi.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mdcv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mdcvBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mdcx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mdcxBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.micv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.micvBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.micx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.micxBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mifo.smooth | Predict matrix method functions for SCAMs
Predict.matrix.miso.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mpd.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mpdBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mpi.smooth | Predict matrix method functions for SCAMs
Predict.matrix.mpiBy.smooth | Predict matrix method functions for SCAMs
Predict.matrix.po.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tecvcv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tecxcv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tecxcx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tedecv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tedecx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tedmd.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tedmi.smooth | Predict matrix method functions for SCAMs
Predict.matrix.temicv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.temicx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tescv.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tescx.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tesmd1.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tesmd2.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tesmi1.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tesmi2.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tismd.smooth | Predict matrix method functions for SCAMs
Predict.matrix.tismi.smooth | Predict matrix method functions for SCAMs
predict.scam | Prediction from fitted SCAM model
print.anova.scam | Approximate hypothesis tests related to SCAM fits
print.scam | Print a SCAM object
print.summary.scam | Summary for a SCAM fit

## -- Q --

qq.scam | QQ plots for scam model residuals

## -- R --

residuals.scam | SCAM residuals

## -- S --

scam | Shape constrained additive models (SCAM) and integrated smoothness selection
scam.check | Some diagnostics for a fitted scam object
scam.control | Setting SCAM fitting defaults
scam.fit | Newton-Raphson method to fit SCAM
shape.constrained.smooth.terms | Shape preserving smooth terms in SCAM
signal.regression | Linear functionals of a smooth in GAMs
smooth.construct.cv.smooth.spec | Constructor for concave P-splines in SCAMs
smooth.construct.cvBy.smooth.spec | Constructor for concave P-splines in SCAMs
smooth.construct.cx.smooth.spec | Constructor for convex P-splines in SCAMs
smooth.construct.cxBy.smooth.spec | Constructor for convex P-splines in SCAMs
smooth.construct.lmpi.smooth.spec | Locally shape-constrained P-spline based constructor (LSCOP-spline): locally increasing splines up to a change point.
smooth.construct.mdcv.smooth.spec | Constructor for monotone decreasing and concave P-splines in SCAMs
smooth.construct.mdcvBy.smooth.spec | Constructor for monotone decreasing and concave P-splines in SCAMs
smooth.construct.mdcx.smooth.spec | Constructor for monotone decreasing and convex P-splines in SCAMs
smooth.construct.mdcxBy.smooth.spec | Constructor for monotone decreasing and convex P-splines in SCAMs
smooth.construct.micv.smooth.spec | Constructor for monotone increasing and concave P-splines in SCAMs
smooth.construct.micvBy.smooth.spec | Constructor for monotone increasing and concave P-splines in SCAMs
smooth.construct.micx.smooth.spec | Constructor for monotone increasing and convex P-splines in SCAMs
smooth.construct.micxBy.smooth.spec | Constructor for monotone increasing and convex P-splines in SCAMs
smooth.construct.mifo.smooth.spec | Constructor for monotone increasing SCOP-splines with an additional 'finish at zero' constraint
smooth.construct.miso.smooth.spec | Constructor for monotone increasing SCOP-splines with an additional 'start at zero' constraint
smooth.construct.mpd.smooth.spec | Constructor for monotone decreasing P-splines in SCAMs
smooth.construct.mpdBy.smooth.spec | Constructor for monotone decreasing P-splines in SCAMs
smooth.construct.mpi.smooth.spec | Constructor for monotone increasing P-splines in SCAMs
smooth.construct.mpiBy.smooth.spec | Constructor for monotone increasing P-splines in SCAMs
smooth.construct.po.smooth.spec | Constructor for SCOP-splines with positivity constraint
smooth.construct.tecvcv.smooth.spec | Tensor product smoothing constructor for bivariate function subject to double concavity constraint
smooth.construct.tecxcv.smooth.spec | Tensor product smoothing constructor for bivariate function subject to mixed constraints: convexity constraint wrt the first covariate and concavity wrt the second one
smooth.construct.tecxcx.smooth.spec | Tensor product smoothing constructor for bivariate function subject to double convexity constraint
smooth.construct.tedecv.smooth.spec | Tensor product smoothing constructor for bivariate function subject to mixed constraints: monotone decreasing constraint wrt the first covariate and concavity wrt the second one
smooth.construct.tedecx.smooth.spec | Tensor product smoothing constructor for bivariate function subject to mixed constraints: monotone decreasing constraint wrt the first covariate and convexity wrt the second one
smooth.construct.tedmd.smooth.spec | Tensor product smoothing constructor for bivariate function subject to double monotone decreasing constraint
smooth.construct.tedmi.smooth.spec | Tensor product smoothing constructor for bivariate function subject to double monotone increasing constraint
smooth.construct.temicv.smooth.spec | Tensor product smoothing constructor for bivariate function subject to mixed constraints: monotone increasing constraint wrt the first covariate and concavity wrt the second one
smooth.construct.temicx.smooth.spec | Tensor product smoothing constructor for bivariate function subject to mixed constraints: monotone increasing constraint wrt the first covariate and convexity wrt the second one
smooth.construct.tescv.smooth.spec | Tensor product smoothing constructor for a bivariate function concave in the second covariate
smooth.construct.tescx.smooth.spec | Tensor product smoothing constructor for a bivariate function convex in the second covariate
smooth.construct.tesmd1.smooth.spec | Tensor product smoothing constructor for a bivariate function monotone decreasing in the first covariate
smooth.construct.tesmd2.smooth.spec | Tensor product smoothing constructor for a bivariate function monotone decreasing in the second covariate
smooth.construct.tesmi1.smooth.spec | Tensor product smoothing constructor for a bivariate function monotone increasing in the first covariate
smooth.construct.tesmi2.smooth.spec | Tensor product smoothing constructor for a bivariate function monotone increasing in the second covariate
smooth.construct.tismd.smooth.spec | Tensor product interaction with decreasing constraint along the first covariate and unconstrained along the second covariate
smooth.construct.tismi.smooth.spec | Tensor product interaction with increasing constraint along the first covariate and unconstrained along the second covariate
summary.scam | Summary for a SCAM fit

## -- V --

vis.scam | Visualization of SCAM objects