Crandore Hub

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

Versions across snapshots

VersionRepositoryFileSize
1.6 2026-04-09 windows/windows R-4.5 cols_1.6.zip 33.6 KiB

Dependencies (latest)

Imports