statsmodels.genmod.families.family.Gamma.weights¶ Gamma.weights(mu)¶ Weights for IRLS steps Parameters:¶ muarray_likeThe transformed mean response variable in the exponential family Returns:¶ wndarrayThe weights for the IRLS steps Notes w=1/(g′(μ)2∗Var(μ))