Creates a new instance of StepwiseRegression.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public StepwiseRegression( double[,] x, double[] y ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ x As Double(,), _ y As Double() _ ) |
Visual C++ |
---|
public: StepwiseRegression( array<double,2>^ x, array<double>^ y ) |
Parameters
- x
- Type: array<
System..::.Double
,2>[,](,)[,]
A double matrix of nObs by nVars, where nObs is the number of observations and nVars is the number of independent variables.
- y
- Type: array<
System..::.Double
>[]()[]
A double array containing the observations of the dependent variable.
Exceptions
Exception | Condition |
---|---|
Imsl.Stat..::.TooManyObsDeletedException | is thrown if more observations have been deleted than were originally entered |
Imsl.Stat..::.MoreObsDelThanEnteredException | is thrown if more observations are being deleted from the output covariance matrix than were originally entered |
Imsl.Stat..::.DiffObsDeletedException | is thrown if different observations are being deleted from the return matrix than were originally entered |