Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: correcting overdispersion in xtpoisson


From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: correcting overdispersion in xtpoisson
Date   Fri, 16 Dec 2005 13:12:51 +0900

Pierre Azoulay wrote (excerpted):

. . . Remember, also, that poisson (without xt) can spew out robust standard
errors.  . . . However, the robust option is not available for
xtpoisson...if the Gods of Stata hear me, maybe that option will be
implemented in an update. For everyone working with publication and patent
data, this would be a life changing event!

--------------------------------------------------------------------------------

Wouldn't -gllamm , . . . family(poisson) link(log) robust- work?

Joseph Coveney

use http://www.stata-press.com/data/r9/ships.dta, clear
compress
generate float ln_service = ln(service)
gllamm accident op_75_79 co_65_69 co_70_74 co_75_79, ///
  i(ship) family(poisson) link(log) offset(ln_service) ///
  robust adapt eform nolog
// cf. XT uxer's manual, p. 243
exit

*
*   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