OK thanks David.
Peter.
-------------------------------------------------------------------------------
-
>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]
--
Peter Siminski
PhD Student
Social Policy Research Centre (SPRC)
Building G2
University of New South Wales
Kensington NSW 2052
Ph: 0425223257
*
* 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/