Learn R Programming

cols (version 1.5)

Constrained Ordinary Least Squares

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

Copy Link

Version

Install

install.packages('cols')

Monthly Downloads

255

Version

1.5

License

GPL (>= 2)

Maintainer

Michail Tsagris

Last Published

December 20th, 2024

Functions in cols (1.5)

Positively constrained least squares

Positively constrained least squares
cols-package

Constrained Ordinary Least Squares
Positively constrained least squares with a multivariate response

Positively constrained least squares with a multivariate response
Positive and unit sum constrained least squares

Positive and unit sum constrained least squares
Lower and upper bound constrained least squares

Constrained least squares
Constrained least squares

Constrained least squares