Problem with using egcitest for cointegration

I am trying to test cointegration for variables that are clearly cointegreted and egcitest does not reject hypothesis. I attached graph which showes cointegration. I can not figure out what I am doing wrong?
>> [h,pValue] = egcitest([novipodaci1(:,end),novipodaci1(:,1)])
h =
0
pValue =
0.3554
>> plot(x,[novipodaci1(:,end),novipodaci1(:,1)])

Respuestas (0)

Preguntada:

el 7 de Abr. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by