Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: -nbreg- not working properly?


From   "David M. Drukker" <[email protected]>
To   [email protected]
Subject   Re: st: -nbreg- not working properly?
Date   Wed, 8 Aug 2007 08:47:45 -0500 (CDT)

Peter Siminski <[email protected]> asked why -nbreg- (with defaults) does not produce the same results as -glm- with family(nbinomial).

The manual entry for -glm- (note 4 on page 499 of [R] A-H) notes that

``Although -glm- can be used to fit [negative binomial models],
using Stata's maximum likelihood -nbreg- is probably better. In the
GLM approach, you specify -family( nbinomial #_k) and then search
for the #_k that results in the deviance-based dispersion being 1.
-nbreg-, on the other hand, finds the maximum likelihood estimate of
#_k and reports a confidence interval for it.

I hope that this helps.

--David
[email protected]

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index