SPOOL

For questions regarding programming in the EViews programming language.

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

lpluser
Posts: 3
Joined: Thu Jul 02, 2009 3:41 pm

SPOOL

Postby lpluser » Thu Jul 02, 2009 7:13 pm

I m a very new Eviews user and have seen questions elsewhere on this board that suggest using SPOOL function to print to in order to capture a series of regression model outputs.

could someone provide a sample of how to do this using SPOOL and printing to SPOOL

Thanks

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

Re: SPOOL

Postby EViews Gareth » Thu Jul 02, 2009 7:47 pm

Code: Select all

create u 100 series y=nrnd series x1=nrnd series x2=nrnd equation e1.ls y c x1 equation e2.ls y c x2 spool myspool myspool.append e1 myspool.append e2

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: SPOOL

Postby startz » Thu Jul 02, 2009 7:56 pm

Or, after having created mySpool, redirect desired output in the Print dialog.

lpluser
Posts: 3
Joined: Thu Jul 02, 2009 3:41 pm

Re: SPOOL

Postby lpluser » Fri Jul 03, 2009 9:07 am

Thank you.

Can I redirect within the programing environment, or can I only do that via the dialog

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: SPOOL

Postby startz » Fri Jul 03, 2009 9:38 am

Gareth's example effectively does that. In addition, you might want to look at the Output command in the help system.

lpluser
Posts: 3
Joined: Thu Jul 02, 2009 3:41 pm

Re: SPOOL

Postby lpluser » Fri Jul 03, 2009 11:57 am

wonderful..thanks to you both


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests