[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: ivreg2 and panel group heteroscedasticity
Quoting Jeffry Jacob <firstname.lastname@example.org>:
> Hi all,
> The latest version of ivreg2 supports panel data by requiring the
> to be tsset. But how does it interpret the _iis_ (individual
It uses it to identify the group/cluster. No fixed effects or anything
> Suppose there is no autocorrelation but group-wise
> heteroscedasticity. Does the _robust_ option give the right
> errors or they only correct for arbitrary heteroscedasticity?
> cluster option with _bw(1)_ do the trick?
Sort of. The -cluster- and -bw- options can't be used together. They do
-cluster- allows for arbitrary within-group correlation (including
autocorrelation of any form). It also allows for arbitrary
heteroskedasticity, including groupwise heteroskedasticity.
-bw- allows for autocorrelation with some time structure, i.e., you expect
the autocorrelation to die out over time. The argument to bandwith is
related to how quickly you expect it to die out. You can combine this
with -robust- to get HAC (heteroskedastic and autocorrelation-consistent)
> Moreover, to use _cluster_
> , I
> have to mean difference my data ( to remove individual
Strictly speaking, the answer to your question is that you can use
-cluster- without mean-differencing or otherwise transforming your data.
But it sounds like you still might want to do this anyway - it depends on
the estimator you want to implement.
> As noted in Wooldridge (2002), Chapter 10, do I correct for the
> of freedom in the standard errors?
Only if you do the mean-differencing or some other transformation.
Hope this helps.
> Any response will be much appreciated.
> * 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/
Prof. Mark Schaffer
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed. If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail. In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail. Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail. Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
* For searches and help try: