Dear All,
myabe a stupid question.,,,but I cannot get ride of this.
I have:
I would like to run a regression using those three global one by one. If I type:
I get an error message saying that { is required.
Is it possible to run a foreach command using three or more global?
Thanks in advance
myabe a stupid question.,,,but I cannot get ride of this.
I have:
Code:
global reg1 "x1 x2 x3" global reg2 "x1 x2 x3 x4 x5" global reg3 "x1 x2 x3 x4 x5 x6 x7"
Code:
foreach r of global reg1 reg2 reg3{ xtreg de_investment `r' i.year, fe r testparm i.year }
Is it possible to run a foreach command using three or more global?
Thanks in advance
Comment