Hi,
I have to run a regression with the need of block-bootstrapping standard errors. I tried to follow Bertrand and Duflo, 2004, but got some issues, so I decided to go with this code. I have a panel of individuals i in year t and I want to block bootstrap at state level (state in which these individuals live).
reg y treatment i.id i.year, vce(bootstrap, cluster(state) seed( 1 2 3 4) rep(50))
Could you please tell me if this is the right way of block bootstrapping?
Thank you everyone for precious help.
I have to run a regression with the need of block-bootstrapping standard errors. I tried to follow Bertrand and Duflo, 2004, but got some issues, so I decided to go with this code. I have a panel of individuals i in year t and I want to block bootstrap at state level (state in which these individuals live).
reg y treatment i.id i.year, vce(bootstrap, cluster(state) seed( 1 2 3 4) rep(50))
Could you please tell me if this is the right way of block bootstrapping?
Thank you everyone for precious help.
Comment