Package: cols
Type: Package
Title: Constrained Ordinary Least Squares
Version: 1.7
Date: 2026-04-15
Authors@R: person("Michail", "Tsagris", role = c("aut", "cre"), email = "mtsagris@uoc.gr")
Author: Michail Tsagris [aut, cre]
Maintainer: Michail Tsagris <mtsagris@uoc.gr>
Depends: R (>= 4.0)
Imports: nnsolve, quadprog, Rfast, Rfast2
Description: 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>.
License: GPL (>= 2)
NeedsCompilation: no
Packaged: 2026-04-15 17:52:43 UTC; mtsag
Repository: CRAN
Date/Publication: 2026-04-15 18:30:02 UTC
Built: R 4.6.0; ; 2026-04-25 15:09:23 UTC; unix
