SelectionRegressionCompute Method (Double, Int32) |
Computes the best multiple linear regression models using a
user-supplied covariance matrix.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void Compute(
double[,] cov,
int nObservations
)
Public Overridable Sub Compute (
cov As Double(,),
nObservations As Integer
)
public:
virtual void Compute(
array<double,2>^ cov,
int nObservations
)
abstract Compute :
cov : float[,] *
nObservations : int -> unit
override Compute :
cov : float[,] *
nObservations : int -> unit
Parameters
- cov
- Type: SystemDouble
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: SystemInt32
An int containing the number of observations used to compute
cov.
Exceptions Remarks See Also