Hello all
I am conducting a IV regression with two-way fixed effects on panel data of Australian states and given I have a small number of states/clusters (8) I would like to use wild bootstrapped standard errors. However the problem I am running into is that my data is clustered differently at the first and second stage of the IV regression and I cannot work out an easy way to tell stata to do this. The variables are as follows:
X= expected election outcome
Y=public debt
Z= presence of political scandal in term of office
My instrument, scandals, is clustered at the election term level (in my data occurs typically on a 4-year cycle but with some anomalies) and takes the value 1 each year if there is a scandal in that term, and 0 if not. Expected election results are at the term level also. Public debt is annual. I cannot convert all variables into term format because the election periods differ between states.
Tl;dr: how do I cluster differently at first and second stage of IV regression, while also including TWFE and wild bootstrap SEs?
Many thanks for any assistance!
I am conducting a IV regression with two-way fixed effects on panel data of Australian states and given I have a small number of states/clusters (8) I would like to use wild bootstrapped standard errors. However the problem I am running into is that my data is clustered differently at the first and second stage of the IV regression and I cannot work out an easy way to tell stata to do this. The variables are as follows:
X= expected election outcome
Y=public debt
Z= presence of political scandal in term of office
My instrument, scandals, is clustered at the election term level (in my data occurs typically on a 4-year cycle but with some anomalies) and takes the value 1 each year if there is a scandal in that term, and 0 if not. Expected election results are at the term level also. Public debt is annual. I cannot convert all variables into term format because the election periods differ between states.
Tl;dr: how do I cluster differently at first and second stage of IV regression, while also including TWFE and wild bootstrap SEs?
Many thanks for any assistance!
Comment