@convert makes eviews break

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

mamo
Posts: 192
Joined: Wed Nov 07, 2012 9:11 am

@convert makes eviews break

Postby mamo » Wed Sep 07, 2016 2:42 am

Dear Eviews team,
I use Eviews version 9.5, 17 March 2016 built with Windows 7.
I found that the function "@convert" to convert a group to a matrix causes Eviews to break if a sample is provided as a function argument to @convert. This happens in both cases, with @convert being called in the command window or within a program.

The code below with the last line uncommented lets Eviews pop up a window saying "Eviews 9.5 has stopped working. A problem caused the program to stop working correctly. Pease close the program", and Eviews breaks down then.

Code: Select all

'Create workfile with some random series 'and collect the series in a group
wfcreate(wf=test) q 1980Q1 2015Q4
!nseries=5
group gr
for !i=1 to !nseries
   series x{!i} = nrnd   
   gr.add x{!i}
next
'The following conversion of the group into a matrix works:
matrix mat=@convert(gr)
' But providing a sample to the @convert function as in the following line makes eviews break:
' matrix mat=@convert(gr, "2000Q1 2015Q4")


Best,
mamo

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

Re: @convert makes eviews break

Postby EViews Gareth » Wed Sep 07, 2016 9:20 am

Thanks, we'll fix.

In the meantime, it does work with a named sample object:

Code: Select all

'Create workfile with some random series 'and collect the series in a group
wfcreate(wf=test) q 1980Q1 2015Q4
!nseries=5
group gr
for !i=1 to !nseries
   series x{!i} = nrnd   
   gr.add x{!i}
next
'The following conversion of the group into a matrix works:
matrix mat=@convert(gr)
' But providing a sample to the @convert function as in the following line makes eviews break:
sample s 2000q1 2015q4
matrix mat=@convert(gr, s)
Follow us on Twitter @IHSEViews


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 15 guests