Combinations without repetitions

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

xorlosch
Posts: 7
Joined: Thu Oct 23, 2008 12:19 pm

Combinations without repetitions

Postby xorlosch » Thu Oct 30, 2008 2:04 am

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?

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests