HCNBREG: Stata module to estimate Heterogeneous Canonical Negative Binomial Regression
The canonical parameterization of the negative binomial derives directly from the exponential form of the negative binomial probability distribution function. Unlike the NB-2 and NB-1 parameterizations, it is not derived as a Poisson-gamma mixture model, and has the heterogeneity or ancillary parameter as a term in the mean and variance functions. However, the canonical negative binomial can be used effectively to model count response data. The Heterogeneous Canonical Negative Binomial command is similar to Stata's gnbreg command, allowing the ancillary parameter to itself be parameterized. The value of this option is that one may better understand which predictors influence model heterogeneity. That is, it assists in identifying the source of correlation in the data. The command also displays both the AIC and Deviance statistics to aid in model comparison and provides use of Stata's maximum likelihood and survey options.
negative binomial regression, Poisson, gamma, count data
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.