statsmodels.genmod.families.links.Logit.deriv2

Logit.deriv2(p)[source]

Second derivative of the logit function.

Parameters
parray_like

probabilities

Returns
g’’(z)ndarray

The value of the second derivative of the logit function