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:
mundarray

Usually but not always the fitted mean response variable.

scalefloat

The scale parameter is required argument for get_distribution.

var_weightsarray_like

1d array of variance (analytic) weights. The default is 1.

Returns:
distribution instance

Last update: Nov 14, 2024