statsmodels.genmod.qif.QIF.estimate_scale#

QIF.estimate_scale(params)[source]#

Estimate the dispersion/scale.

The scale parameter for binomial and Poisson families is fixed at 1, otherwise it is estimated from the data.

Parameters:
paramsarray_like

The regression coefficients at which the scale is estimated.

Returns:
float

The estimated scale parameter.