Hello,

I have written a do file with all the codes I need to conduct the tests I want for a year (actually the dependent variable is for year t, and the independent variable is lagged for year t-1, so as some of the control variables), I have multiple years of data and I want to re-run my do file for other years. Is there a quicker way to do this besides changing every single detail to another year in the code?

Thanks!

Flora