Page 1 of 1

Combinations without repetitions

Posted: Thu Oct 30, 2008 2:04 am
by xorlosch
I do have a group of variables and I want to run a regression of all combinations (order does not matter and each object can be chosen once). For example, I have 3 regressors named r1, r2 and r3.
Then I could run the following combinations:
r1
r2
r3
r1 r2
r1 r3
r2 r3
r1 r2 r3

How can I write this in Eviews?