Fits a multiple linear regression model using the minimax criterion.
Required Arguments
X — NOBS by NCOL matrix containing the data. (Input)
IIND — Independent variable option. (Input) The absolute value of IIND is the number of independent (explanatory) variables. The sign of IIND specifies the following options :
IIND
Meaning
< 0
The data for the ‑IIND independent variables are given in the first ‑IIND columns of X.
> 0
The data for the IIND independent variables are in the columns of X whose column numbers are given by the elements of INDIND.
= 0
There are no independent variables.
The regressors are the constant regressor (if INTCEP = 1) and the independent variables.
INDIND — Index vector of length IIND containing the column numbers of X that are the independent (explanatory) variables. (Input, if IIND is positive) If IIND is negative, INDIND is not referenced and can be a vector of length one.
IRSP — Column number IRSP of X contains the data for the response (dependent) variable. (Input)
B — Vector of length INTCEP + ∣IIND∣ containing a minimax solution for the regression coefficients. (Output) If INTCEP = 1, B(1) contains the intercept estimate. B(INTCEP + I) contains the coefficient estimate for the I-th independent variable.
Optional Arguments
NOBS — Number of observations. (Input) Default: NOBS = size (X,1).
NCOL — Number of columns in X. (Input) Default: NCOL = size (X,2).
LDX — Leading dimension of X exactly as specified in the dimension statement in the calling program. (Input) Default: LDX = size (X,1).
IRANK — Rank of the matrix of regressors. (Output) If IRANK is less than INTCEP + ∣IIND∣, linear dependence of the regressors was declared.
AEMAX — Magnitude of the largest residual. (Output)
ITER — Number of iterations performed. (Output)
NRMISS — Number of rows of data containing NaN (not a number) for the dependent or independent variables. (Output) If a row of data contains NaN for any of these variables, that row is excluded from the computations.
FORTRAN 90 Interface
Generic: CALLRLMV (X, IIND, INDIND, IRSP, B[, …])
Specific: The specific interface names are S_RLMV and D_RLMV.
Routine RLMV computes estimates of the regression coefficients in a multiple linear regression model. The criterion satisfied is the minimization of the maximum deviation of the observed response yi from the fitted response for a set on n observations. Under this criterion, known as the minimax or LMV (least maximum value) criterion, the regression coefficient estimates minimize
The estimation problem can be posed as a linear programming problem. A dual simplex algorithm is appropriate, however, the special nature of the problem allows for considerable gains in efficiency by modification of the dual simplex iterations so as to move more rapidly toward the optimal solution. The modifications are described in detail by Barrodale and Phillips (1975).
When multiple solutions exist for a given problem, RLMV may yield different estimates of the regression coefficients on different computers, however, the largest residual in absolute value should have the same absolute value (within rounding differences). The informational error indicating nonunique solutions may result from rounding accumulation. Conversely, because of rounding, the error may fail to result even when the problem does have multiple solutions.
Comments
1. Workspace may be explicitly provided, if desired, by use of R2MV/DR2MV. The reference is:
Calculations terminated prematurely due to rounding.
3. If X is not needed, LDX = NOBS, and IIND < 0, then X and the first NOBS* (‑IIND + 1) elements of WK may occupy the same storage locations. The reference would be: