CMLS-package | R Documentation |
Solves multivariate least squares (MLS) problems subject to constraints on the coefficients, e.g., non-negativity, orthogonality, equality, inequality, monotonicity, unimodality, smoothness, etc. Includes flexible functions for solving MLS problems subject to user-specified equality and/or inequality constraints, as well as a wrapper function that implements 24 common constraint options. Also does k-fold or generalized cross-validation to tune constraint options for MLS problems. See ten Berge (1993, ISBN:9789066950832) for an overview of MLS problems, and see Goldfarb and Idnani (1983) <doi:10.1007/BF02591962> for a discussion of the underlying quadratic programming algorithm.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
The cmls
function provides a user-friendly interface for solving the MLS problem with 24 common constraint options (the const
function prints or returns the different contraint options). The cv.cmls
function does k-fold or generalized cross-validation to tune the constraint options of the cmls
function. The mlsei
function solves the MLS problem subject to user-specified equality and/or inequality (E/I) constraints on the coefficients. The mlsun
function solves the MLS problem subject to unimodality constraints and user-specified E/I constraints on the coefficients.
Nathaniel E. Helwig <helwig@umn.edu>
Maintainer: Nathaniel E. Helwig <helwig@umn.edu>
Goldfarb, D., & Idnani, A. (1983). A numerically stable dual method for solving strictly convex quadratic programs. Mathematical Programming, 27, 1-33. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/BF02591962")}
Helwig, N. E. (in prep). Constrained multivariate least squares in R.
Ten Berge, J. M. F. (1993). Least Squares Optimization in Multivariate Analysis. Volume 25 of M & T Series. DSWO Press, Leiden University. ISBN: 9789066950832
Turlach, B. A., & Weingessel, A. (2019). quadprog: Functions to solve Quadratic Programming Problems. R package version 1.5-8. https://CRAN.R-project.org/package=quadprog
# See examples for cmls, cv.cmls, mlsei, and mlsun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.