GLM.estimate_scale()

statsmodels.genmod.generalized_linear_model.GLM.estimate_scale

GLM.estimate_scale(mu) [source]

Estimates the dispersion/scale.

Type of scale can be chose in the fit method.

Parameters:

mu : array

mu is the mean response estimate

Returns:

Estimate of scale :

See also

statsmodels.glm.fit

Notes

The default scale for Binomial and Poisson families is 1. The default for the other families is Pearson?s Chi-Square estimate.

doc_statsmodels
2017-01-18 16:09:33
Comments
Leave a Comment

Please login to continue.