statsmodels.genmod.families.links.NegativeBinomial.inverse

NegativeBinomial.inverse(z)[source]

Inverse of the negative binomial transform

Parameters
zarray_like

The value of the inverse of the negative binomial link at p.

Returns
pndarray

Mean parameters

Notes

g^(-1)(z) = exp(z)/(alpha*(1-exp(z)))