Learn R Programming

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

cgam (version 1.4)

Constrained Generalized Additive Model

Description

A constrained generalized additive model is fitted by the cgam routine. Given a set of predictors with or without shape or order restrictions, the maximum likelihood estimator for the constrained generalized additive model is found using an iteratively re-weighted cone projection algorithm. The cone information criterion (CIC) may be used to select the best combination of variables and shapes. One extension of this package is isotonic regression in two dimensions using warped-plane splines without using additivity assumptions, which is implemented by the wps routine.

Copy Link

Version

Install

install.packages('cgam')

Monthly Downloads

2,550

Version

1.4

License

GPL (>= 2)

Maintainer

Xiyue Liao

Last Published

April 14th, 2016

Functions in cgam (1.4)

s.conv

Specify a Smooth and Convex Shape-Restriction in a CGAM Formula
decr.conc

Specify a Decreasing and Concave Shape-Restriction in a CGAM Formula
decr.conv

Specify a Decreasing and Convex Shape-Restriction in a CGAM Formula
decr

Specify a Decreasing Shape-Restriction in a CGAM Formula
incr

Specify an Increasing Shape-Restriction in a CGAM Formula
incr.conc

Specify an Increasing and Concave Shape-Restriction in a CGAM Formula
dd

Specify a Doubly-Decreasing Shape-Restriction in a WPS Formula
incr.conv

Specify an Increasing and Convex Shape-Restriction in a CGAM Formula
di

Specify a Decreasing-Increasing Shape-Restriction in a WPS Formula
conc

Specify a Concave Shape-Restriction in a CGAM Formula
plasma

A Data Set for Cgam
s.incr

Specify a Smooth and Increasing Shape-Restriction in a CGAM Formula
conv

Specify a Convex Shape-Restriction in a CGAM Formula
umbrella

Specify an Umbrella-Ordering in a CGAM Formula
s.decr.conc

Specify a Smooth, Decreasing and Concave Shape-Restriction in a CGAM Formula
ii

Specify a Doubly-Increasing Shape-Restriction in a WPS Formula
s.decr

Specify a Smooth and Decreasing Shape-Restriction in a CGAM Formula
cubic

A Data Set for Cgam
s.decr.conv

Specify a Smooth, Decreasing and Convex Shape-Restriction in a CGAM Formula
s.incr.conc

Specify a Smooth, Increasing and Concave Shape-Restriction in a CGAM Formula
s.incr.conv

Specify an Smooth, Increasing and Convex Shape-Restriction in a CGAM Formula
wps

Warped-Plane Spline-Based Isotonic Regression
s.conc

Specify a Smooth and Concave Shape-Restriction in a CGAM Formula
cgam

Constrained Generalized Additive Model Fitting
plotpersp

Create a 3D Plot for a CGAM or WPS Object
tree

Specify a Tree-Ordering in a CGAM Formula
s

Specify a Smooth Shape-Restriction in a CGAM Formula