statsmodels.genmod.families.links.nbinom¶
-
class
statsmodels.genmod.families.links.
nbinom
(alpha=1.0)[source]¶ The negative binomial link function.
Notes
g(p) = log(p/(p + 1/alpha))
nbinom is an alias of NegativeBinomial. nbinom = NegativeBinomial(alpha=1.)
Methods
deriv
(p)Derivative of the negative binomial transform
deriv2
(p)Second derivative of the negative binomial link function.
inverse
(z)Inverse of the negative binomial transform
Derivative of the inverse of the negative binomial transform
Second derivative of the inverse link function g^(-1)(z).