overflow

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

pinson
Posts: 2
Joined: Wed Jul 25, 2018 2:37 am

overflow

Postby pinson » Thu Aug 02, 2018 2:00 am

Hi,
how do I deal with an overflow message, please?
I am trying to fill in a matrix with the following:

matrix(16,10) vev
scalar sca=1
for !i=1 to 16
vev(!i, 1)=sca
scalar sca = sca+1
next
for !i=1 to @rows(vev)
for !j=2 to @columns(vev)
vev(!i,!j)=vev(!i,!j-1)^2
next
next

but can not get past vev(4,10)?
setting maxerrors to 10 000 didnt help.
Any leads on what am I doing wrong?

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

Re: overflow

Postby EViews Gareth » Thu Aug 02, 2018 7:37 am

You're generating a number too large for the computer to handle.

You're squaring 13,407,807,929,942,600,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000.
Follow us on Twitter @IHSEViews

pinson
Posts: 2
Joined: Wed Jul 25, 2018 2:37 am

Re: overflow

Postby pinson » Thu Aug 02, 2018 9:03 am

Thanks, Gareth. Yes, that is the task I was given. Admittedly, it's part of an eviews-learning exercise. So nothing to do about that? i.e. it's a silly operation to do?

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

Re: overflow

Postby EViews Gareth » Thu Aug 02, 2018 9:04 am

Indeed.
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 5 guests