statsmodels.genmod.families.links.nbinom.deriv2¶
method
-
nbinom.
deriv2
(p)¶ Second derivative of the negative binomial link function.
- Parameters
- parray-like
Mean parameters
- Returns
- g’’(p)array
The second derivative of the negative binomial transform link function
Notes
g’’(x) = -(1+2*alpha*x)/(x+alpha*x^2)^2