TY - JOUR
AU - Liao, Xiyue
AU - Meyer, Mary C.
PY - 2014/11/25
Y2 - 2023/12/05
TI - coneproj: An R Package for the Primal or Dual Cone Projections with Routines for Constrained Regression
JF - Journal of Statistical Software
JA - J. Stat. Soft.
VL - 61
IS - 12
SE - Articles
DO - 10.18637/jss.v061.i12
UR - https://www.jstatsoft.org/index.php/jss/article/view/v061i12
SP - 1 - 22
AB - 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.
ER -