arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.07696stat.AP
收藏

cgam:约束广义可加模型的R程序包

cgam: An R Package for the Constrained Generalized Additive Model

Xiyue Liao, Mary C. Meyer

摘要:

cgam包包含拟合广义可加模型的例程,其中可以使用形状和平滑度假设对组件进行建模。主程序是cgam和19个符号程序,以表明响应和每个预测器之间的关系,满足约束条件,如单调性,凸性,它们的组合,树和伞排序。用户可以指定约束样条来拟合连续预测器的分量,以及序数预测器的各种类型的排序。此外,用户可以指定参数化建模的协变量。似然最大化的集合是一个多面凸锥,通过将数据向量投影到锥上来获得最小二乘解。对于广义模型,拟合是通过迭代重新加权圆锥投影获得的。圆锥信息标准被提供并且可以用于比较变量和形状的组合的拟合。此外,例程wps使用扭曲平面样条在二维中实现单调回归,而没有加性假设。图形例程plotpersp将绘制一个选定的预测因子对的估计平均表面,给定一个cgam或wps对象。这个软件包现在可以从Comprehensive R Archive Network获得,网址是http://CRAN.R-project.org/package=cgam。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑