How do you compare 2 correlation matrices?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have 7 correlation matrices, and would like to see which correlation matrix (1 to 6) is most similar to correlation matrix 7. The correlation matrices are 63 x 63 matrices. I used "corrcoef" to create them, so i do have the underlying data
Thanks for your help
I have the following toolboxes in matlab:
Curve Fitting Toolbox
Database Toolbox
Datafeed Toolbox
Financial Toolbox
Optimization Toolbox
Parallel Computing Toolbox
Parallel Computing Toolbox
Spreadsheet Link EX
Statistics Toolbox
2 件のコメント
the cyclist
2011 年 8 月 23 日
Do you have a definition in your head of what you mean by "most similar"? If so, then is it a mathematical definition, a firm conceptual definition, or a hazy conceptual definition?
Sean de Wolski
2011 年 8 月 23 日
Agree with the cyclist. Define most similar? minimum absolute difference?
[junk idx] = min(sum(sum(abs(bsxfun(@minus,corrmat3d,corrmat_care_about)),1),2))
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!