Creates a new instance of StepwiseRegression from a
user-supplied variance-covariance matrix.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public StepwiseRegression( double[,] cov, int nObservations ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ cov As Double(,), _ nObservations As Integer _ ) |
Visual C++ |
---|
public: StepwiseRegression( array<double,2>^ cov, int nObservations ) |
Parameters
- cov
- Type: array<
System..::.Double
,2>[,](,)[,]
A double matrix containing a variance-covariance or sum-of- squares and crossproducts matrix, in which the last column must correspond to the dependent variable.
- nObservations
- Type: System..::.Int32
An int containing the number of observations associated with cov.
Remarks
cov can be computed using the Covariances class.