nbinom.
inverse
Inverse of the negative binomial transform
Notes
g^(-1)(z) = exp(z)/(alpha*(1-exp(z)))
statsmodels.genmod.families.links.nbinom.deriv2
statsmodels.genmod.families.links.nbinom.inverse_deriv