This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

NBINREG: Stata module to estimate negative binomial regression models

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Joseph Hilbe () (Arizona State University)

Additional information is available for the following registered author(s):

Abstract

Here is the first version of a maximum liklihood negative binomial with cluster, robust, and score options. Initial values are calculated my a call to poisson. Two scores are produced: 1) the normal B-based scores, and 2) the score based on the alpha parameter. The latter score necessitates a digamma function, which is approximated here until a formal one is developed by Statacorp. I have not added the comparison with Poisson here, but it takes only a little extra code. Otherwise, the output is the same as other ML algorithms. A caveat: if the true value of alpha is close to 0, then the model is really Poisson. There may be convergence problems. This is true with any NB type program. Actually, when modeling it is probably best to start with Poisson - and if found to be overdispersed then use the NB. The value of the robust option here is quite important. It may be quite likely that an instance of overdispersed Poisson data is not truly negative binomial either. A clustering effect, for instance, which may cause overdispersion, may not take a gamma shape. If so, then the robust options becomes important.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/n/nbinreg.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/n/nbinlf.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/n/nbinreg.hlp
File Format: text/plain
File Function: help file
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S334001.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: Stata
Requires:
Date of creation: 08 Feb 1998
Date of revision:
Handle: RePEc:boc:bocode:s333901

Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords:

Statistics
Access and download statistics

Did you know? The RePEc project started in 1997. Its precursor, NetEc, dates back to 1993.

This page was last updated on 2008-8-19.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.