Thanks to Kit Baum who has just put a command I made called newey2 in the SSC archive. The code for this command is based heavily on that for ivreg and newey. It can be accessed by typing "net search newey2" in Stata. From the description:
"newey2 provides extensions to Stata's official newey. It accepts panel as well as time series data sets, and can instrument variables. For time series data without instruments, newey2
behaves the same as newey."
Also included are slightly tweaked versions of vif and dmexog, called neweyvif and neweydmexog, which work after newey and newey2, as appropriate.
Comments welcome.
--David Roodman
Center for Global Development
*
* 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/