フィルターのクリア

Calculate the average % two stocks are correlated

1 回表示 (過去 30 日間)
CR
CR 2011 年 9 月 1 日
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 件のコメント
CR
CR 2011 年 9 月 4 日
Questions are not duplicated. One is to test for cointegration and the other is to test for correlation.

サインインしてコメントする。

回答 (1 件)

David Young
David Young 2011 年 9 月 1 日
corrcoeff, perhaps, if you don't want to introduce the possibility of time lags between the stock price sequences.

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by