LinearRegressionGetCoefficients Method |
Returns the regression coefficients.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public double[] GetCoefficients()
Public Function GetCoefficients As Double()
public:
array<double>^ GetCoefficients()
member GetCoefficients : unit -> float[]
Return Value
Type:
Double
A
double array containing the regression coefficients.
Remarks
If
HasIntercept is
false its length is equal to the
number of variables. If
HasIntercept is true then its length
is the number of variables plus one and the 0-th entry is the value
of the intercept.
If the model is not full rank, the regression coefficients are not
uniquely determined. In this case, a warning is issued and a solution
with all linearly dependent regressors set to zero is returned.
See Also