Hi,
I was wondering if anybody knows how I can adjust this code to run regressions for a 10-year periods?
Thank you
I was wondering if anybody knows how I can adjust this code to run regressions for a 10-year periods?
Code:
gen r2small =. forvalues i = 1962(10)1972 { display "`i'" reg prc atpr capxpr ceqpr cogspr dvcpr intanpr ibpr revtpr spipr xadpr xrdpr xsgapr if pyear==`i' & size==0 replace r2small = e(r2_a) if pyear == `i' }
Comment