Click or drag to resize
SelectionRegressionCompute Method (Double, Double)
Computes the best multiple linear regression models.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual void Compute(
	double[,] x,
	double[] y
)

Parameters

x
Type: SystemDouble
A double matrix containing the observations of the candidate (independent) variables.
y
Type: SystemDouble
A double array containing the observations of the dependent variable.
Exceptions
ExceptionCondition
NoVariablesException is thrown if no variables can enter any model
TooManyObsDeletedException is thrown if more observations have been deleted than were originally entered
MoreObsDelThanEnteredException is thrown if more observations are being deleted from the output covariance matrix than were originally entered
DiffObsDeletedException is thrown if different observations are being deleted from the return matrix than were originally entered
Remarks

The number of columns in x must be equal to the number of variables set in the constructor.

See Also