output(t) no results

For questions regarding programming in the EViews programming language.

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

rjrow
Posts: 3
Joined: Sun Feb 23, 2014 2:02 pm

output(t) no results

Postby rjrow » Sun Feb 23, 2014 9:10 pm

Hello,

I am certain this is a trivial issue, but the infuriating thing is at one point in time I had this working. I am using eviews 8 and want to simply loop through a folder of .xlsx files > create regressions > output the results into a single text file.

The typical output from the regression is fine, I don't necessarily need to manipulate the results quite yet.

Code: Select all

%filenames = @wdir(%PATH%) cd %PATH% %file = @word(%filenames,1) pageload %file output(t) out.txt for !i=2 to @wcount(%filenames) %file = @word(%filenames, !i) import %file equation eq1 eq1.ls revenue c01 next

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

Re: output(t) no results

Postby EViews Gareth » Sun Feb 23, 2014 9:39 pm

Probably need the (p) option on the LS

rjrow
Posts: 3
Joined: Sun Feb 23, 2014 2:02 pm

Re: output(t) no results

Postby rjrow » Mon Feb 24, 2014 3:33 pm

You are correct, the (p) is the only thing that was wrong.

I have another question regarding this same snippet. On some of the files I am importing I am having matrix inversion issues, more specifically my matrices are singular in *some* instances. However it stops my loop, are there any mechanisms available to continue the loop without stopping entirely?


Thanks

rjrow
Posts: 3
Joined: Sun Feb 23, 2014 2:02 pm

Re: output(t) no results

Postby rjrow » Mon Feb 24, 2014 3:59 pm

I spoke too soon.

maximum error count!

Thank you for your time regardless


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests