Hi all, I would need help in bootstrapping the residuals to overcome the "generated regressors problem" when estimating a series of local projections. This is what I currently have:
Code:
forvalues i = 1/16 { ivreg2 f`i'g `instrument1' `instrument2' L(1/4).`instrument1' L(1/4).`instrument2', robust bw(auto) predict double shock`i' ivreg2 f`i'var`dep' shock`i' L(1/4).shock`i', robust bw(auto) }
Comment