matrix 501 by 501 to excel in eviews 11

For questions regarding programming in the EViews programming language.

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

mark lynch
Posts: 10
Joined: Tue Jul 16, 2019 10:37 am

matrix 501 by 501 to excel in eviews 11

Postby mark lynch » Thu Aug 20, 2020 2:27 pm

Hi

Trying to write a 501 by 501 matrix to excel using this code:

bet1sina.sheet
bet1sina.write(t=xls, b2) "c:\users\beta1.xls" range="beta1"

I get this error - Exceeds maximum size for spreadsheet (502 > 256 columns)

Is there a better way?
thanks

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

Re: matrix 501 by 501 to excel in eviews 11

Postby EViews Gareth » Thu Aug 20, 2020 3:29 pm

Unfortunately, no.

The only solution is to create a new page with 501 observations, copy the matrix over, convert the matrix into a group/series with mtos, then use wfsave to save the page as an excel file.
Follow us on Twitter @IHSEViews

mark lynch
Posts: 10
Joined: Tue Jul 16, 2019 10:37 am

Re: matrix 501 by 501 to excel in eviews 11

Postby mark lynch » Thu Aug 20, 2020 4:33 pm

thanks - will give it a try

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

Re: matrix 501 by 501 to excel in eviews 11

Postby startz » Thu Aug 20, 2020 5:47 pm

As a mildly insane thought, might it work to push the matrix out to R or Matlab and then use a couple of lines of code there to send the matrix onward to Excel?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 32 guests