Other packages > Find by keyword >

cgam  

Constrained Generalized Additive Model
View on CRAN: Click here


Download and install cgam package within the R console
Install from CRAN:
install.packages("cgam")

Install from Github:
library("remotes")
install_github("cran/cgam")

Install by package version:
library("remotes")
install_version("cgam", "1.30")



Attach the package and use:
library("cgam")
Maintained by
Xiyue Liao
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-03-05
Latest Update: 2025-07-05
Description:
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) for more details.
How to cite:
Xiyue Liao (2014). cgam: Constrained Generalized Additive Model. R package version 1.30, https://cran.r-project.org/web/packages/cgam. Accessed 16 Jul. 2026.
Previous versions and publish date:
(2026-07-09 07:25), 1.0 (2014-03-05 18:14), 1.1 (2014-04-17 00:13), 1.2 (2014-09-10 21:48), 1.3 (2015-10-01 13:18), 1.4 (2016-04-15 00:43), 1.5 (2016-06-05 18:41), 1.6 (2016-11-02 19:52), 1.7 (2017-07-03 00:16), 1.8 (2017-10-02 09:08), 1.9 (2018-02-15 19:21), 1.10 (2018-04-11 19:42), 1.11 (2018-06-28 21:48), 1.12 (2018-11-08 20:00), 1.13 (2019-04-23 06:10), 1.14 (2019-05-01 19:30), 1.15 (2019-10-13 23:30), 1.16 (2020-09-29 08:40), 1.17 (2021-12-13 18:40), 1.18 (2022-07-18 17:50), 1.19 (2022-10-04 21:50), 1.20 (2022-11-16 13:11), 1.21 (2023-08-10 18:30), 1.22 (2025-02-17 21:00), 1.23 (2025-02-19 09:50), 1.24 (2025-04-11 06:50), 1.25 (2025-04-24 00:20), 1.26 (2025-04-28 12:00), 1.27 (2025-05-13 00:10), 1.28 (2025-07-05 23:00), 1.29 (2025-08-23 19:40), 1.30 (2026-01-16 10:10), 1.31 (2026-02-08 07:10)
Other packages that cited cgam R package
View cgam citation profile
Other R packages that cgam depends, imports, suggests or enhances
Complete documentation for cgam
Functions, R codes and Examples using the cgam R package
Some associated functions: COforest . Ord . ShapeSelect . best.fit . cgam . cgamm . conc . conv . cubic . decr.conc . decr.conv . decr . in.or.out . incr.conc . incr.conv . incr . mental . plasma . plotpersp . predict.cgam . s.conc.conc . s.conc . s.conv.conv . s.conv . s.decr.conc . s.decr.conv . s.decr.decr . s.decr.incr . s.decr . s.incr.conc . s.incr.conv . s.incr.decr . s.incr.incr . s.incr . s . shapes . tree . umbrella . 
Some associated R codes: cgam.R . cgamm.R .  Full cgam package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA