Questions are not duplicated. One is to test for cointegration and the other is to test for correlation.
Calculate the average % two stocks are correlated
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to calculate the average % two stock prices are correlated. I am a new to matlab and am wondering what would be the best function to use?
답변 (1개)
David Young
2011년 9월 1일
corrcoeff, perhaps, if you don't want to introduce the possibility of time lags between the stock price sequences.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!