Hello,
I need to do multiple regressions of y on the same variable x. Say I have 3 variables called A, B and C, and I am trying to do the following:
reg A X
reg B X
reg C X, etc...
Since the number of my variables is over 100, I find it troublesome to type it all out. Moreover, the defendant variables do not have names in any order (they are not called y1-y156). Is there a faster way to do these regressions?
Thanks!
I need to do multiple regressions of y on the same variable x. Say I have 3 variables called A, B and C, and I am trying to do the following:
reg A X
reg B X
reg C X, etc...
Since the number of my variables is over 100, I find it troublesome to type it all out. Moreover, the defendant variables do not have names in any order (they are not called y1-y156). Is there a faster way to do these regressions?
Thanks!
Comment