statsmodels.genmod.families.links.logit.deriv

logit.deriv(p)

Derivative of the logit transform

Parameters
parray_like

Probabilities

Returns
g’(p)ndarray

Value of the derivative of logit transform at p

Notes

g’(p) = 1 / (p * (1 - p))

Alias for Logit: logit = Logit()