Calculate the average % two stocks are correlated
Afficher commentaires plus anciens
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 commentaire
CR
le 4 Sep 2011
Réponses (1)
David Young
le 1 Sep 2011
0 votes
corrcoeff, perhaps, if you don't want to introduce the possibility of time lags between the stock price sequences.
Catégories
En savoir plus sur Correlation and Convolution dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!