statsmodels.genmod.families.links.NegativeBinomial.inverse_deriv2

NegativeBinomial.inverse_deriv2(z)

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

Parameters:
zarray_like

z is usually the linear predictor for a GLM or GEE model.

Returns:
g’^(-1)(z)ndarray

The value of the second derivative of the inverse of the link function

Notes

This reference implementation gives the correct result but is inefficient, so it can be overridden in subclasses.


Last update: Dec 14, 2023