Consider the following problem:
1) assume that you have 100 exogenous variables X[i](t), where [i] = 1, .....100
2) run regression of the endogenous variables y1 and y2 on each of the 100 X and save output in tables
3) export 2*100 tables
I would like to export the tables exactly with the name of the variables.
Specifically I would like to save the 200 tables as follows t_y1_x1, t_y1_x2, ... t_y1_x100 and t_y2_x1, t_y2_x2, ... t_y2_x100
Can you help?
Exporting Tables with the name of the variables
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- EViews Developer
- Posts: 562
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Exporting Tables with the name of the variables
Hello,
The following performs the estimations (customize to your needs) and create the tables. All you'd have to add is the specifics of how to you'd like the tables exported.
The following performs the estimations (customize to your needs) and create the tables. All you'd have to add is the specifics of how to you'd like the tables exported.
Code: Select all
for !i = 1 to 2
for !j = 1 to 100
equation eq.ls y!i x!j
freeze(t_y!i_x!j) eq.results
next
next
Who is online
Users browsing this forum: No registered users and 18 guests