[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: FGLS and newey2
On Aug 5, 2004, at 2:33 AM, Clive wrote:
You don't necessarily _have_ to use FGLS. You could, for instance, try
Not to disparage David's excellent work (from which we have liberally
'borrowed') but ivreg2 can do just about anything that newey2 can do,
and more (choice of different kernel estimators for the AC part; AC
without the H; etc.)
David Roodman's user-written -newey2-, downloadable from SSC. With this
routine, you can also fit a fixed-effects model _and_ obtain OLS
estimates corrected for both autocorrelation and heteroscedasticity.
. xi: newey2 y x1 x2 i.fe xk, lag(#) force
I was reminded about all this off-list by another Statalist member last
week. So long as you _don't_ have a lagged dependent variable, this
just as well as -areg- or -xtreg, fe-.
* For searches and help try: