statsmodels.genmod.families.links.Logit.inverse_deriv2¶
- Logit.inverse_deriv2(z)¶
Second derivative of the inverse link function g^(-1)(z).
- Parameters:
z (array_like) – z is usually the linear predictor for a GLM or GEE model.
- Returns:
g’^(-1)(z) – The value of the second derivative of the inverse of the link function
- Return type:
ndarray
Notes
This reference implementation gives the correct result but is inefficient, so it can be overridden in subclasses.