Learn R Programming

cols (version 1.5)

cols-package: 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.

Arguments

Author

Michail Tsagris mtsagris@uoc.gr

Maintainers

Michail Tsagris <mtsagris@uoc.gr>.

Details

Package:cols
Type:Package
Version:1.5
Date:2024-12-20

References

Hansen, B. E. (2022). Econometrics, Princeton University Press.