Hi
I have estimated regression equations for 652 sample firms by using LOOP and saved in the workfile by following program:
For !i=1 to 652
equation e{!i}.ls(cov=hac) y{!i} c X1 X2
next
Now the next task I want to do is to check each equation for LM test. I run the following program for that:
For !i=1 to 652
equation e{!i}.ls(cov=hac) y{!i} c X1 X2
e{!i}.auto(2)
next
Now this program simultaneously opens 652 windows. This is difficult to manage. How can I save the results of LM test for all equations in the workfile without allowing eviews to open these results in a 652 windows. I dont want to see these windows individually but want to save results in workfile.
plz help
How to save LM test in a workfile using LOOP
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 2 guests
