statsmodels.genmod.families.links.Logit.deriv

Logit.deriv(p)[source]

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()


Last update: Dec 23, 2024