cgam: An R Package for the Constrained Generalized Additive Model

12/18/2018
by   Xiyue Liao, et al.
0

The cgam package contains routines to fit the generalized additive model where the components may be modeled with shape and smoothness assumptions. The main routine is cgam and nineteen symbolic routines are provided to indicate the relationship between the response and each predictor, which satisfies constraints such as monotonicity, convexity, their combinations, tree, and umbrella orderings. The user may specify constrained splines to fit the components for continuous predictors, and various types of orderings for the ordinal predictors. In addition, the user may specify parametrically modeled covariates. The set over which the likelihood is maximized is a polyhedral convex cone, and a least-squares solution is obtained by projecting the data vector onto the cone. For generalized models, the fit is obtained through iteratively re-weighted cone projections. The cone information criterion is provided and may be used to compare fits for combinations of variables and shapes. In addition, the routine wps implements monotone regression in two dimensions using warped-plane splines, without an additivity assumption. The graphical routine plotpersp will plot an estimated mean surface for a selected pair of predictors, given an object of either cgam or wps. This package is now available from the Comprehensive R Archive Network at http://CRAN.R-project.org/package=cgam.

READ FULL TEXT

page 12

page 17

page 18

research
04/23/2018

A constrained regression model for an ordinal response with ordinal predictors

A regression model is proposed for the analysis of an ordinal response v...
research
02/03/2021

Statistical Inference for Ordinal Predictors in Generalized Linear and Additive Models with Application to Bronchopulmonary Dysplasia

Discrete but ordered covariates are quite common in applied statistics, ...
research
03/02/2020

Score Engineered Robust Least Squares Regression

In other FICO Technical Papers, I have shown how to fit Generalized Addi...
research
06/17/2019

An Optimal Test for the Additive Model with Discrete or Categorical Predictors

In multivariate nonparametric regression the additive models are very us...
research
12/05/2022

Policy Learning with the polle package

The R package polle is a unifying framework for learning and evaluating ...
research
11/20/2019

Additive Bayesian Network Modelling with the R Package abn

The R package abn is designed to fit additive Bayesian models to observa...

Please sign up or login with your details

Forgot password? Click here to reset