cgam: Constrained Generalized Additive Model

A constrained generalized additive model is fitted by the cgam routine. Given a set of predictors, each of which may have a 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 ShapeSelect routine chooses a subset of predictor variables and describes the component relationships with the response. For each predictor, the user needs only specify a set of possible shape or order restrictions. A model selection method chooses the shapes and orderings of the relationships as well as the variables. The cone information criterion (CIC) is used to select the best combination of variables and shapes. A genetic algorithm may be used when the set of possible models is large. In addition, the cgam routine implements a two-dimensional isotonic regression using warped-plane splines without additivity assumptions. It can also fit a convex or concave regression surface with triangle splines without additivity assumptions. See Liao X, Meyer MC (2019)<doi:10.18637/jss.v089.i05> for more details.

Version: 1.21
Depends: coneproj (≥ 1.12), svDialogs (≥ 0.9-57), statmod (≥ 1.4.36), lme4 (≥ 1.1-13), Matrix (≥ 1.2-8), R (≥ 3.0.2)
Suggests: stats, MASS, graphics, grDevices, utils, SemiPar
Published: 2023-08-10
DOI: 10.32614/CRAN.package.cgam
Author: Mary Meyer [aut], Xiyue Liao ORCID iD [aut, cre]
Maintainer: Xiyue Liao <xliao at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: cgam citation info
Materials: ChangeLog
CRAN checks: cgam results


Reference manual: cgam.pdf


Package source: cgam_1.21.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cgam_1.21.tgz, r-oldrel (arm64): cgam_1.21.tgz, r-release (x86_64): cgam_1.21.tgz, r-oldrel (x86_64): cgam_1.21.tgz
Old sources: cgam archive

Reverse dependencies:

Reverse depends: csurvey
Reverse imports: cgaim
Reverse suggests: insight, parameters


Please use the canonical form to link to this page.