scam: Shape Constrained Additive Models
Version 1.2-1

Routines for generalized additive modelling under shape constraints on the component functions of the linear predictor (Pya and Wood, 2015) . Models can contain multiple shape constrained (univariate and/or bivariate) and unconstrained terms. The routines of gam() in package 'mgcv' are used for setting up the model matrix, printing and plotting the results. Penalized likelihood maximization based on Newton-Raphson method is used to fit a model with multiple smoothing parameter selection by GCV or UBRE/AIC.

AuthorNatalya Pya <nat.pya@gmail.com>
Date of publication2017-02-16 17:27:51
MaintainerNatalya Pya <nat.pya@gmail.com>
LicenseGPL (>= 2)
Version1.2-1
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("scam")

Getting started

Package overview

Popular man pages

marginal.matrices.tescv.ps: Constructs marginal model matrices for "tescv" and "tescx"...
scam: Shape constrained additive models (SCAM) and integrated...
smooth.construct.cv.smooth.spec: Constructor for concave P-splines in SCAMs
smooth.construct.cx.smooth.spec: Constructor for convex P-splines in SCAMs
smooth.construct.micv.smooth.spec: Constructor for monotone increasing and concave P-splines in...
smooth.construct.po.smooth.spec: Constructor for monotone increasing P-splines in SCAMs
smooth.construct.tescv.smooth.spec: Tensor product smoothing constructor for a bivariate function...
See all...

All man pages Function index File listing

Man pages

anova.scam: Approximate hypothesis tests related to SCAM fits
bfgs_gcv.ubre: Multiple Smoothing Parameter Estimation by GCV/UBRE
check.analytical: Checking the analytical gradient of the GCV/UBRE score
derivative.scam: Derivative of the univariate smooth model terms
gcv.ubre_grad: The GCV/UBRE score value and its gradient
linear.functional.terms: Linear functionals of a smooth in GAMs
marginal.matrices.tescv.ps: Constructs marginal model matrices for "tescv" and "tescx"...
marginal.matrices.tesmi1.ps: Constructs marginal model matrices for "tesmi1" and "tesmd1"...
marginal.matrices.tesmi2.ps: Constructs marginal model matrices for "tesmi2" and "tesmd2"...
plot.scam: SCAM plotting
Predict.matrix.mpi.smooth: Predict matrix method functions for SCAMs
predict.scam: Prediction from fitted SCAM model
print.scam: Print a SCAM object
residuals.scam: SCAM residuals
scam: Shape constrained additive models (SCAM) and integrated...
scam.check: Some diagnostics for a fitted scam object
scam.fit: Newton-Raphson method to fit SCAM
scam-package: Shape Constrained Additive Models
shape.constrained.smooth.terms: Shape preserving smooth terms in SCAM
smooth.construct.cv.smooth.spec: Constructor for concave P-splines in SCAMs
smooth.construct.cx.smooth.spec: Constructor for convex P-splines in SCAMs
smooth.construct.mdcv.smooth.spec: Constructor for monotone decreasing and concave P-splines in...
smooth.construct.mdcx.smooth.spec: Constructor for monotone decreasing and convex P-splines in...
smooth.construct.micv.smooth.spec: Constructor for monotone increasing and concave P-splines in...
smooth.construct.micx.smooth.spec: Constructor for monotone increasing and convex P-splines in...
smooth.construct.mpd.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.po.smooth.spec: Constructor for monotone increasing P-splines in SCAMs
smooth.construct.tedecv.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.tedecx.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.tedmd.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.tedmi.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.temicv.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.temicx.smooth.spec: Tensor product smoothing constructor for bivariate function...
smooth.construct.tescv.smooth.spec: Tensor product smoothing constructor for a bivariate function...
smooth.construct.tescx.smooth.spec: Tensor product smoothing constructor for a bivariate function...
smooth.construct.tesmd1.smooth.spec: Tensor product smoothing constructor for a bivariate function...
smooth.construct.tesmd2.smooth.spec: Tensor product smoothing constructor for a bivariate function...
smooth.construct.tesmi1.smooth.spec: Tensor product smoothing constructor for a bivariate function...
smooth.construct.tesmi2.smooth.spec: Tensor product smoothing constructor for a bivariate function...
summary.scam: Summary for a SCAM fit
vis.scam: Visualization of SCAM objects

Functions

D2notExp Source code
D3notExp Source code
DnotExp Source code
Predict.matrix.cv.smooth Man page Source code
Predict.matrix.cx.smooth Man page Source code
Predict.matrix.mdcv.smooth Man page Source code
Predict.matrix.mdcx.smooth Man page Source code
Predict.matrix.micv.smooth Man page Source code
Predict.matrix.micx.smooth Man page Source code
Predict.matrix.mpd.smooth Man page Source code
Predict.matrix.mpi.smooth Man page Source code
Predict.matrix.po.smooth Man page Source code Source code
Predict.matrix.tedecv.smooth Man page Source code
Predict.matrix.tedecx.smooth Man page Source code
Predict.matrix.tedmd.smooth Man page Source code
Predict.matrix.tedmi.smooth Man page Source code
Predict.matrix.temicv.smooth Man page Source code
Predict.matrix.temicx.smooth Man page Source code
Predict.matrix.tescv.smooth Man page Source code
Predict.matrix.tescx.smooth Man page Source code
Predict.matrix.tesmd1.smooth Man page Source code
Predict.matrix.tesmd2.smooth Man page Source code
Predict.matrix.tesmi1.smooth Man page Source code
Predict.matrix.tesmi2.smooth Man page Source code
anova.scam Man page Source code
bfgs_gcv.ubre Man page Source code
check.analytical Man page Source code
derivative.scam Man page Source code
derivative.smooth Source code
dgcv.ubre.nlm Source code
eigXVX Source code
estimate.scam Source code
function.predictors Man page
gcv.ubre Source code
gcv.ubre.derivative Source code
gcv.ubre_grad Man page Source code
initial.sp.scam Source code
linear.functional.terms Man page
liu2 Source code
marginal.linear.extrapolation Source code
marginal.matrices.tescv.ps Man page Source code
marginal.matrices.tesmi1.ps Man page Source code
marginal.matrices.tesmi2.ps Man page Source code Source code
model.matrix.scam Source code
notExp Source code
onAttach Source code
penalty_pident Source code
persp Man page
pinvXVX Source code
plot.mgcv.smooth Source code
plot.random.effect Source code
plot.scam Man page Source code
predict.scam Man page Source code
print.anova.scam Man page Source code
print.scam Man page Source code
print.scam.version Source code
print.summary.scam Man page Source code
reTest.scam Source code
recov.scam Source code
residuals.scam Man page Source code
scam Man page Source code
scam-package Man page
scam.check Man page Source code
scam.fit Man page Source code
scam.fit.post Source code
shape.constrained.smooth.terms Man page
signal.regression Man page
simf Source code
smooth.construct.cv.smooth.spec Man page Source code
smooth.construct.cx.smooth.spec Man page Source code
smooth.construct.mdcv.smooth.spec Man page Source code
smooth.construct.mdcx.smooth.spec Man page Source code
smooth.construct.micv.smooth.spec Man page Source code
smooth.construct.micx.smooth.spec Man page Source code
smooth.construct.mpd.smooth.spec Man page Source code
smooth.construct.mpi.smooth.spec Man page Source code
smooth.construct.po.smooth.spec Man page Source code Source code
smooth.construct.tedecv.smooth.spec Man page Source code
smooth.construct.tedecx.smooth.spec Man page Source code
smooth.construct.tedmd.smooth.spec Man page Source code
smooth.construct.tedmi.smooth.spec Man page Source code
smooth.construct.temicv.smooth.spec Man page Source code
smooth.construct.temicx.smooth.spec Man page Source code
smooth.construct.tescv.smooth.spec Man page Source code
smooth.construct.tescx.smooth.spec Man page Source code
smooth.construct.tesmd1.smooth.spec Man page Source code
smooth.construct.tesmd2.smooth.spec Man page Source code
smooth.construct.tesmi1.smooth.spec Man page Source code
smooth.construct.tesmi2.smooth.spec Man page Source code
smoothTest Source code
summary.scam Man page Source code
testStat Source code
vis.scam Man page Source code

Files

NAMESPACE
R
R/vis.scam.r
R/plot.r
R/derivative.scam.r
R/bivar.smooth.const.R
R/uni.smooth.const-with-po.r
R/bfgs.R
R/residuals.scam.R
R/print.scam.R
R/derivative.smooth.R
R/scam.r
R/check.analytical.R
R/predict.scam.R
R/summary.scam.R
R/estimate.scam.R
R/scam.check.R
MD5
DESCRIPTION
ChangeLog
man
man/smooth.construct.temicx.smooth.spec.Rd
man/plot.scam.Rd
man/predict.scam.Rd
man/gcv.ubre_grad.Rd
man/linear.functional.terms.Rd
man/smooth.construct.micx.smooth.spec.Rd
man/smooth.construct.tedmd.smooth.spec.Rd
man/smooth.construct.po.smooth.spec.Rd
man/smooth.construct.tesmd1.smooth.spec.Rd
man/Predict.matrix.mpi.smooth.Rd
man/smooth.construct.mpi.smooth.spec.Rd
man/smooth.construct.cv.smooth.spec.rd
man/smooth.construct.mdcx.smooth.spec.Rd
man/scam.Rd
man/smooth.construct.mdcv.smooth.spec.Rd
man/marginal.matrices.tesmi1.ps.Rd
man/bfgs_gcv.ubre.Rd
man/smooth.construct.cx.smooth.spec.Rd
man/smooth.construct.temicv.smooth.spec.Rd
man/marginal.matrices.tescv.ps.Rd
man/smooth.construct.tesmd2.smooth.spec.Rd
man/smooth.construct.tedecv.smooth.spec.Rd
man/scam.fit.Rd
man/scam.check.Rd
man/smooth.construct.micv.smooth.spec.Rd
man/smooth.construct.tesmi1.smooth.spec.Rd
man/smooth.construct.tedmi.smooth.spec.Rd
man/derivative.scam.Rd
man/marginal.matrices.tesmi2.ps.Rd
man/residuals.scam.Rd
man/print.scam.Rd
man/shape.constrained.smooth.terms.Rd
man/smooth.construct.tedecx.smooth.spec.Rd
man/smooth.construct.tescx.smooth.spec.Rd
man/check.analytical.Rd
man/smooth.construct.tesmi2.smooth.spec.Rd
man/smooth.construct.mpd.smooth.spec.Rd
man/smooth.construct.tescv.smooth.spec.Rd
man/summary.scam.Rd
man/anova.scam.Rd
man/vis.scam.Rd
man/scam-package.Rd
scam documentation built on May 19, 2017, 4:34 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.