rho: a value in the range [0,1] specifying the maximum allowed collinearity between pairs of covariates.
exclude: a character vector giving the names of the covariates to be excluded from the constraint (default is "(Intercept)").
big_m: a double giving the big-M parameter.
eps: a double giving the epsilon for the equal sign constraint. Since most numerical solvers can only handle constraints up to some epsilon, e.g., the constraint Ax≥b is typically transformed to ∣Ax−b∣≥0. By providing an eps>0 and changing the constraint to ∣Ax−b∣≥eps we can ensure ∣Ax−b∣>0.
use: an optional character string giving a method for computing covariances in the presence of missing values. The parameter is passed to cor, therefore see cor for more information.
method: a character string indicating which correlation coefficient is to be computed. The parameter is passed to cor, therefore see cor for more information.
Returns
A holistic generalized model constraint, object inheriting from class "hglmc".
Carrizosa, E., Olivares-Nadal, A. V., & Ramírez-Cobo, P. (2020). Integer Constraints for Enhancing Interpretability in Linear Regression. SORT. Statistics and Operations Research Transactions, 44: 67-98. tools:::Rd_expr_doi("10.2436/20.8080.02.95") .