statsmodels.genmod.families.varfuncs.NegativeBinomial.__call__

method

NegativeBinomial.__call__(mu)[source]

Negative binomial variance function

Parameters
muarray-like

mean parameters

Returns
variancearray

variance = mu + alpha*mu**2