Returns the regression coefficients.
A double
array containing the regression coefficients.
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.
Exception Type | Condition |
---|---|
SingularMatrixException | is thrown when the regression matrix is singular |
UserBasisRegression Class | Imsl.Stat Namespace