statsmodels.genmod.families.links.Power

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

The power transform

Parameters:
powerfloat

The exponent of the power transform

Notes

Aliases of Power: Inverse = Power(power=-1) Sqrt = Power(power=.5) InverseSquared = Power(power=-2.) Identity = Power(power=1.)

Methods

__call__(p)

Power transform link function

Methods

deriv(p)

Derivative of the power transform

deriv2(p)

Second derivative of the power transform

inverse(z)

Inverse of the power transform link function

inverse_deriv(z)

Derivative of the inverse of the power transform

inverse_deriv2(z)

Second derivative of the inverse of the power transform


Last update: Feb 14, 2024