IMSL C# Numerical Library

StepwiseRegression Constructor (Double[,], Double[])

Creates a new instance of StepwiseRegression.

public StepwiseRegression(
   double[,] x,
   double[] y
);

Parameters

x
A double matrix of nObs by nVars, where nObs is the number of observations and nVars is the number of independent variables.
y
A double array containing the observations of the dependent variable.

Exceptions

Exception Type Condition
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

See Also

StepwiseRegression Class | Imsl.Stat Namespace | StepwiseRegression Constructor Overload List