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)])

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2019 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by