Dynamically access p values from Johansen cointegration test

For questions regarding programming in the EViews programming language.

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

benlambert18785
Posts: 9
Joined: Tue Sep 18, 2012 8:19 am

Dynamically access p values from Johansen cointegration test

Postby benlambert18785 » Tue Oct 20, 2015 7:28 pm

Hi,

I would like to know - is it possible to dynamically access (in other words in a program file) the p values that are generated from carrying out a Johansen test on a VEC?

At the moment I have the following:

Code: Select all

var macro1.ec(d) 1 6 x1 x2 macro1.coint(d,save=root)
Which saves the eigenvalues of the test, but does not provide the p values, which I actually need. Do you know if this is possible? If not, is there a place I can find the distribution tabulated?

Best,

Ben

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

Re: Dynamically access p values from Johansen cointegration

Postby EViews Gareth » Tue Oct 20, 2015 8:20 pm


benlambert18785
Posts: 9
Joined: Tue Sep 18, 2012 8:19 am

Re: Dynamically access p values from Johansen cointegration

Postby benlambert18785 » Wed Oct 21, 2015 5:40 pm

Great - thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests