statsmodels.genmod.families.varfuncs.Power

class statsmodels.genmod.families.varfuncs.Power(power=1.0)[source]

Power variance function

Parameters:
powerfloat

exponent used in power variance function

Notes

Formulas

V(mu) = numpy.fabs(mu)**power

Aliases for Power: mu = Power() mu_squared = Power(power=2) mu_cubed = Power(power=3)

Methods

call

Returns the power variance

Methods

deriv(mu)

Derivative of the variance function v'(mu)