Calculate the average % two stocks are correlated
显示 更早的评论
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
0 个投票
corrcoeff, perhaps, if you don't want to introduce the possibility of time lags between the stock price sequences.
类别
在 帮助中心 和 File Exchange 中查找有关 Correlation and Convolution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!