Page 1 of 1

Cointegration Test gives wrong P-Value

Posted: Tue May 15, 2018 5:53 am
by grabodan
Dear EViews-Team
When I perform a Johansen Cointegration Test for a VAR and the Trace od ME Test Statistic are much larger than the critical value, the p-value should be close to zero. Instead, I shows the Prob: 1.0000.
The programm code I used, just as an example, was:

Code: Select all

wfcreate(wf=Koint) u 10000
smpl @all
series x=0
series y=0
series z=0
series trend = 0
smpl @first+1 @last
series u=@nrnd
series v=@nrnd
series w=@nrnd
trend = 1+trend(-1)+@nrnd
x= trend + u
y= y(-1) + 0.5*(x(-1) - y(-1))  + v
z= 10 + z(-1) + w
varest 1 1 x y z


I am using EViews 10, but I think I have encountered the same problem already years ago with Version 8 or so.

Edit: The issue disappears if, e.g., I reduce the number of obs to 1000 such that the p-value is 0.0001 or such. Thus, I only appears for p-values extreme close to zero, displaying 1 instead.

Best regards,
Daniel

Re: Cointegration Test gives wrong P-Value

Posted: Tue May 15, 2018 9:37 am
by EViews Glenn
Thanks. We will take a look.

Re: Cointegration Test gives wrong P-Value

Posted: Fri May 25, 2018 4:47 pm
by EViews Glenn
We've identified the issue.

In the MacKinnon algorithm for the response surface, we have found that there are potential issues with the polynomial approximation to the response surface for extreme values. In this case, the statistic value is so out of bounds that the existing algorithm approximation is quite poor. We have implemented a fix for the tail conditions which provides additional robustness to these large values and are in the process of testing the changes. A fix will appear soon (most likely in the next patch for EViews 10).

Thank you for your patience.

Re: Cointegration Test gives wrong P-Value

Posted: Mon Jun 04, 2018 6:31 am
by grabodan
Thanks for the response,
Daniel