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:¶
- mu
ndarray
Usually but not always the fitted mean response variable.
- scale
float
The scale parameter is ignored.
- var_weightsarray_like
1d array of variance (analytic) weights. The default is 1. var_weights are ignored for NegativeBinomial.
- mu
- Returns:¶
distribution
instance
Last update:
Oct 03, 2024