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
Related Posts with re-run the entire do file with different data (different years)
Graph STATA RR 95% CI with different colors and space between barsHello everybody, I am really struggling to create a graph in STATA that looks like the attached one…
Variable transormation and change in coefficientsDear Stata members Let us say that my dependent variable is Net credit, derived as a difference betw…
Reshape from wide to long with multiple variablesHello everyone, Just trying to puzzle out how to reshape my dataset from wide format to long, but w…
How to test for differences in two WTP distributions using the complete combinatorial approachDear all, Does anyone know how to test for differences in two WTP distributions using the complete …
Scaling problems of the y-axis in marginsplot with multiple imputed dataDear all, I would like to make a marginsplot with multiple imputed data. See my syntax below. I am …
Subscribe to:
Post Comments (Atom)
0 Response to re-run the entire do file with different data (different years)
Post a Comment