statsmodels.genmod.families.links.NegativeBinomial.deriv

NegativeBinomial.deriv(p)[source]

Derivative of the negative binomial transform

Parameters:
parray_like

Mean parameters

Returns:
g’(p)ndarray

The derivative of the negative binomial transform link function

Notes

g’(x) = 1/(x+alpha*x^2)


Last update: Oct 29, 2024