Click or drag to resize
UserBasisRegressionGetCoefficients Method
Returns the regression coefficients.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public double[] GetCoefficients()

Return Value

Type: Double
A double array containing the regression coefficients.
Exceptions
ExceptionCondition
SingularMatrixException is thrown when the regression matrix is singular
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.

See Also