cols: Constrained Ordinary Least Squares

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>.

Package details

AuthorMichail Tsagris [aut, cre]
MaintainerMichail Tsagris <mtsagris@uoc.gr>
LicenseGPL (>= 2)
Version1.5
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("cols")

Try the cols package in your browser

Any scripts or data that you put into this service are public.

cols documentation built on April 3, 2025, 10:33 p.m.