Problem with using egcitest for cointegration

23 vues (au cours des 30 derniers jours)
vanja andrejev
vanja andrejev le 7 Avr 2019
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)])

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by