statsmodels.genmod.families.family.NegativeBinomial.get_distribution

NegativeBinomial.get_distribution(mu, scale=1.0, var_weights=1.0)[source]

Frozen NegativeBinomial distribution instance for given parameters

Parameters:
mundarray

Usually but not always the fitted mean response variable.

scalefloat

The scale parameter is ignored.

var_weightsarray_like

1d array of variance (analytic) weights. The default is 1. var_weights are ignored for NegativeBinomial.

Returns:
distribution instance

Last update: Dec 23, 2024