statsmodels.genmod.families.links.Logit

class statsmodels.genmod.families.links.Logit[source]

The logit transform

Notes

call and derivative use a private method _clean to make trim p by machine epsilon so that p is in (0,1)

Alias of Logit: logit = Logit()

Methods

deriv(p)

Derivative of the logit transform

deriv2(p)

Second derivative of the logit function.

inverse(z)

Inverse of the logit transform

inverse_deriv(z)

Derivative of the inverse of the logit transform

inverse_deriv2(z)

Second derivative of the inverse link function g^(-1)(z).