statsmodels.genmod.families.links.NegativeBinomial.inverse¶ NegativeBinomial.inverse(z)[source]¶ Inverse of the negative binomial transform Parameters:¶ z : array_like¶The value of the inverse of the negative binomial link at p. Returns:¶ p – Mean parameters Return type:¶ ndarray Notes g^(-1)(z) = exp(z)/(alpha*(1-exp(z)))