Logo

Navigation

  • index
  • modules |
  • Install
  •  | 
  • Support
  •  | 
  • Bugs
  •  | 
  • Develop
  •  | 
  • Examples
  •  | 
  • FAQ
  •  | 
  • Generalized Linear Models |

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

__call__(p) Negative Binomial transform link function
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
inverse_deriv(z) Derivative of the inverse of the negative binomial transform

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
inverse_deriv(z) Derivative of the inverse of the negative binomial transform

This Page

  • Show Source

Quick search

© Copyright 2009-2017, Josef Perktold, Skipper Seabold, Jonathan Taylor, statsmodels-developers. Created using Sphinx 1.5.3.