I have run the following regressions using the loop command which works just fine:
Code:
foreach y in `ylist' { eststo: quietly reg `y' `xlist' `xlist_2' }
I added "L." to the "xlist" in the above loop but this resulted in lagging only the first variable in the "xlist":
Code:
foreach y in `ylist' { eststo: quietly reg `y' L.`xlist' L.`xlist_2' }
0 Response to Regressions with lagged structure using loop command
Post a Comment