Sets the initial parameter estimates option.
int
indicating the desired initialization method for the initial estimates of the parameters. double
array of length nCoef containing the initial estimates of the parameters where nCoef is the number of estimated coefficients in the model. If this method is not called, init
is set to 0.
init | Action |
---|---|
0 | Unweighted linear regression is used to obtain initial estimates. |
1 | The nCoef, number of coefficients, elements of estimates contain initial estimates of the parameters. Use of this option requires that the user know nCoef beforehand. |
estimates is used if init = 1
. If this member function is not called, unweighted linear regression is used to obtain the initial estimates.
Exception Type | Condition |
---|---|
ArgumentException | is thrown when init is not in the range [0,1] |
CategoricalGenLinModel Class | Imsl.Stat Namespace