Hello all!
I'm trying to run a series of regressions that involve utilizing the same variables over and over again. The do file is getting unwieldy and when I have to make changes, it's a pain to make them to each individual iteration of the model
Now, I thought using the local command would provide some relief but it's creating more issues for me.
I thought I could run a regression after defining a local
The regression runs but doesn't actually report coefficients for any of the variables defined by the local "base_variables"
Can anyone outline for me what I'm doing wrong? Very much appreciated!
I'm trying to run a series of regressions that involve utilizing the same variables over and over again. The do file is getting unwieldy and when I have to make changes, it's a pain to make them to each individual iteration of the model
Now, I thought using the local command would provide some relief but it's creating more issues for me.
I thought I could run a regression after defining a local
Code:
. local base_variables ( var1 var2 var3 var4) . regress dependent_var `base_variables' var5
Can anyone outline for me what I'm doing wrong? Very much appreciated!
Comment