I am trying to run multiple block regressions. I have put a set of explanatory variables in blocks using a global macro. My syntax looks like this
Code:
gl x1 x2 x3 x4 x5 gl y y1 y2 y3 y4 y5 y6 y7 y8 y9 y10
Code:
foreach b in “$x” “$y” { reg z ‘b’ }
0 Response to Block regressions using foreach loop on global macros
Post a Comment