statsmodels.genmod.families.family.Gamma.get_distribution¶
- Gamma.get_distribution(mu, scale, var_weights=1.0)[source]¶
Frozen Gamma distribution instance for given parameters
- Parameters:
- mu
ndarray
Usually but not always the fitted mean response variable.
- scale
float
The scale parameter is required argument for get_distribution.
- var_weightsarray_like
1d array of variance (analytic) weights. The default is 1.
- mu
- Returns:
distribution
instance