coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression

The coneproj package contains routines for cone projection and quadratic programming, plus applications in estimation and inference for constrained parametric regression and shape-restricted regression problems. A short routine check_irred is included to check the irreducibility of a matrix, whose r...

Full description

Bibliographic Details
Main Authors: Xiyue Liao, Mary C. Meyer
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2014-11-01
Series:Journal of Statistical Software
Online Access:http://www.jstatsoft.org/index.php/jss/article/view/2200
_version_ 1819057264770678784
author Xiyue Liao
Mary C. Meyer
author_facet Xiyue Liao
Mary C. Meyer
author_sort Xiyue Liao
collection DOAJ
description The coneproj package contains routines for cone projection and quadratic programming, plus applications in estimation and inference for constrained parametric regression and shape-restricted regression problems. A short routine check_irred is included to check the irreducibility of a matrix, whose rows are supposed to be a set of cone edges used by coneA or coneB. For the coneA and coneB functions, the vector to project is provided by the user, along with the cone specification and a weight vector. For coneA, a constraint matrix is specified to define the cone, and for coneB, the cone edges are provided. The coneA and coneB algorithms have been coded and compiled in C++, and are called by R. The qprog function transforms a quadratic programming problem into a cone projection problem and calls coneA. The constreg function does estimation and inference for parametric least-squares regression with constraints on the parameters (using coneA). A p value for the one-sided" test is provided. The shapereg function uses coneB to provide a least-squares estimator for a regression function with several choices of constraints including isotonic and convex regression functions, as well as estimates of parametrically modeled covariate effects. Results from hypothesis tests for significance of the effects are also provided. This package is now available from the Comprehensive R Archive Network at http://CRAN.R-project.org/package=coneproj.
first_indexed 2024-12-21T13:36:33Z
format Article
id doaj.art-8bc8091c2c9f4a4e9c5b4d2596831ee9
institution Directory Open Access Journal
issn 1548-7660
language English
last_indexed 2024-12-21T13:36:33Z
publishDate 2014-11-01
publisher Foundation for Open Access Statistics
record_format Article
series Journal of Statistical Software
spelling doaj.art-8bc8091c2c9f4a4e9c5b4d2596831ee92022-12-21T19:02:10ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602014-11-0161112210.18637/jss.v061.i12804coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained RegressionXiyue LiaoMary C. MeyerThe coneproj package contains routines for cone projection and quadratic programming, plus applications in estimation and inference for constrained parametric regression and shape-restricted regression problems. A short routine check_irred is included to check the irreducibility of a matrix, whose rows are supposed to be a set of cone edges used by coneA or coneB. For the coneA and coneB functions, the vector to project is provided by the user, along with the cone specification and a weight vector. For coneA, a constraint matrix is specified to define the cone, and for coneB, the cone edges are provided. The coneA and coneB algorithms have been coded and compiled in C++, and are called by R. The qprog function transforms a quadratic programming problem into a cone projection problem and calls coneA. The constreg function does estimation and inference for parametric least-squares regression with constraints on the parameters (using coneA). A p value for the one-sided" test is provided. The shapereg function uses coneB to provide a least-squares estimator for a regression function with several choices of constraints including isotonic and convex regression functions, as well as estimates of parametrically modeled covariate effects. Results from hypothesis tests for significance of the effects are also provided. This package is now available from the Comprehensive R Archive Network at http://CRAN.R-project.org/package=coneproj.http://www.jstatsoft.org/index.php/jss/article/view/2200
spellingShingle Xiyue Liao
Mary C. Meyer
coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
Journal of Statistical Software
title coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
title_full coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
title_fullStr coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
title_full_unstemmed coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
title_short coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
title_sort coneproj an r package for the primal or dual cone projections with routines for constrained regression
url http://www.jstatsoft.org/index.php/jss/article/view/2200
work_keys_str_mv AT xiyueliao coneprojanrpackagefortheprimalordualconeprojectionswithroutinesforconstrainedregression
AT marycmeyer coneprojanrpackagefortheprimalordualconeprojectionswithroutinesforconstrainedregression