How to save the regression output

For questions regarding programming in the EViews programming language.

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

shalu
Posts: 3
Joined: Thu Nov 12, 2009 7:09 am

How to save the regression output

Postby shalu » Thu Nov 12, 2009 7:17 am

I have to run a ols regression for several firms.
When i was doing it for simple regression the program saved the regression as text file. But when I used newey west correction and used
eq1.ls(n) C3 c PSL ER1 size BM
instead of eq1.ls(p) C3 c PSL ER1 size BM
the program did not give any output.

Can anyone help

This is the code that I wrote:
load D:/eview/1-1996.wf1

output(t) D:/eview/1996-1.txt

equation eq1
eq1.ls(p) C3 c PSL ER1 size BM
eq1.ls(p) C4 c PSL ER1 size BM
eq1.ls(p) C5 c PSL ER1 size BM
eq1.ls(p) C7 c PSL ER1 size BM
eq1.ls(p) C9 c PSL ER1 size BM
eq1.ls(p) C13 c PSL ER1 size BM
eq1.ls(p) C15 c PSL ER1 size BM




output off

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to save the regression output

Postby EViews Gareth » Thu Nov 12, 2009 9:12 am

eq1.ls(n,p) C3 c PSL ER1 size BM

shalu
Posts: 3
Joined: Thu Nov 12, 2009 7:09 am

Re: How to save the regression output

Postby shalu » Fri Nov 13, 2009 2:02 am

Thanks it worked


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests