What is the best command to return the % two stocks are cointegrated?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am wondering what command is the best that will return the % average two stocks are cointegrated?
댓글 수: 2
Rick Rosson
2011년 9월 3일
What does the term "cointegrated" mean in this context? Is it the same thing as "correlated" or is it something different?
the cyclist
2011년 9월 3일
Rick, guessing he means this: http://en.wikipedia.org/wiki/Cointegration. It's a term used in economics and finance.
답변 (2개)
the cyclist
2011년 9월 3일
Do you have the Economics Toolbox? I don't have it myself, but I expect there are functions in there that would help.
Rick Rosson
2011년 9월 4일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Cointegration Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!