How to retrieve function results not stored in matrices?

For questions regarding programming in the EViews programming language.

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

Steve06
Posts: 19
Joined: Fri Apr 29, 2011 2:51 pm

How to retrieve function results not stored in matrices?

Postby Steve06 » Sat Apr 30, 2011 11:36 pm

Hi,
I'm using the "coint" method for co-integration of the var object and were disappointed to see that the matrix which is supposed to store the results for further processing is very incomplete. for example, if you include a test of cointegrating restrictions (which you do by imposing constraints with the append method), i don't see how you learn about whether a restriction was rejected or not!
I suppose that the eviews team forgot to supply this important information through a matrix, but still this won't be fixed anytime soon, can you indicate me a workaround how to grab the information I need from the cells of the output view?
Thanks
Steve

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

Re: How to retrieve function results not stored in matrices?

Postby EViews Gareth » Sun May 01, 2011 8:35 am

Matrices can only store numbers. Thus it would be impossible to add text to them. However, you can always freeze the output into a table, which is essentially a matrix that allows text.

Steve06
Posts: 19
Joined: Fri Apr 29, 2011 2:51 pm

Re: How to retrieve function results not stored in matrices?

Postby Steve06 » Sun May 01, 2011 8:49 am

oh i wasn't thinking about text, i just need values not returned by the matrix, e.g. the p-value of the test for cointegrating restrictions.
the issue when using a table is that the content won't always be at the same place, i.e. the row coordinate of the cell you're looking at may vary in function of the amount of results displayed before. Do you have an idea how to deal with that?

Steve06
Posts: 19
Joined: Fri Apr 29, 2011 2:51 pm

Re: How to retrieve function results not stored in matrices?

Postby Steve06 » Sun May 01, 2011 11:23 am

besides, the matrix that coint returns includes the test statistics, but not the critical values or p-values in order to decide about reject of the null or not! where is one supposed to obtain the critical values (if not from the table)?

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

Re: How to retrieve function results not stored in matrices?

Postby EViews Gareth » Sun May 01, 2011 12:31 pm

You'll just have to program through the table. You can usually work out where the position of the relevant information is.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest