What is the best command to return the % two stocks are cointegrated?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am wondering what command is the best that will return the % average two stocks are cointegrated?
2 Kommentare
Rick Rosson
am 3 Sep. 2011
What does the term "cointegrated" mean in this context? Is it the same thing as "correlated" or is it something different?
the cyclist
am 3 Sep. 2011
Rick, guessing he means this: http://en.wikipedia.org/wiki/Cointegration. It's a term used in economics and finance.
Antworten (2)
the cyclist
am 3 Sep. 2011
Do you have the Economics Toolbox? I don't have it myself, but I expect there are functions in there that would help.
1 Kommentar
Rick Rosson
am 4 Sep. 2011
The Cyclist is correct. The Econometrics Toolbox has two functions that test for cointegration:
- The Johansen cointegration test: jcitest
- The Engle-Granger cointegration test: egcitest
For more information:
HTH.
Best,
Rick
0 Kommentare
Siehe auch
Kategorien
Mehr zu Cointegration Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!