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

st: Re: newey2 v ivreg2


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: newey2 v ivreg2
Date   Tue, 11 Jan 2005 09:34:37 -0500

No; bw(6) does not mean the same thing as lag(6). Try bw(5) [see ivreg2 help].

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

On Jan 11, 2005, at 2:33 AM, Jonathan wrote:


.ivreg2 y x1 x2 (x3=z), bw(6) robust

would have generated the same standard errors as:

.ivreg y x1 x2 (x3=z)
.newey2 y x1 x2 (x3=z), lag(6) t(time)

but when I tried it on a sample data set the two
generated different sets of s.e. Any ideas?
*
*   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