cols: Constrained Ordinary Least Squares (original) (raw)

Constrained ordinary least squares is performed. One constraint is that all beta coefficients (including the constant) cannot be negative. They can be either 0 or strictly positive. Another constraint is that the sum of the beta coefficients equals a constant. References: Hansen, B. E. (2022). Econometrics, Princeton University Press. ISBN:9780691235899.

Version: 1.5
Depends: R (≥ 4.0)
Imports: quadprog, Rfast, Rfast2
Published: 2024-12-20
DOI: 10.32614/CRAN.package.cols
Author: Michail Tsagris [aut, cre]
Maintainer: Michail Tsagris
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: cols results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=colsto link to this page.