Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: count time series model


From   [email protected]
To   Statalist <[email protected]>
Subject   Re: st: count time series model
Date   Wed, 29 Jan 2014 15:55:44 -0800

Hello Ikuho,

The easiest thing is to run the Poisson or negbinom regressions using
-glm- which allows Newey-West error structure:

glm count a b c, family(Pois) link(log) vce(hac nwest n)

where the n can be estimated with -ivreg2- (from SSC) using the bw(auto) option.

IIRC the same models can be obtained using -arpois- (SSC), but
optimization and reporting are less well developed.

Hope this helps; there's surprising little published on such models!

cheers-
Andrew Lover

___________________________________________________
Epidemiologist
Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index