Statalist


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

st: 2SLS with random effects correcting for autocorrelation


From   Helene Ehrhart <[email protected]>
To   [email protected]
Subject   st: 2SLS with random effects correcting for autocorrelation
Date   Fri, 20 Mar 2009 09:35:31 +0100

Dear all,

I would like to estimate an equation with instrumental variables using
random effects and correcting for autocorrelation.
I already tried many ways to do that in stata but no command was able
to meet all the three requirements :

- xtivreg , re does not allow for autocorrelation correction
- xtivreg2 does not allow for random effects
- xtdata to transform data so that it corresponds to random effects
and then estimation with ivreg28 but then the option bw(1) is not
possible since the data are transformed
- estimating the first stage with xtreg ,re ; taking the predicted
dependant value and using it as regressors for the 2nd stage using
xtregar ,re which corrects for autocorrelation. This works but the
standard errors should then be corrected by bootstrapping to correct
the bias of using a predicted value as regressor. Unfortunately,
traditional bootstrap using a random sample does not maintain the
autocorrelation structure. So this method should also be eliminated.

If anyone already faced this problem, estimating in 2SLS with random
effects correcting for autocorrelation, I would really appreciate to
know what is the proper way to do that in Stata.

Thanks,

Hélène Ehrhart.



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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