How do I test Kendall Rank Correlation Coefficient in a matrix?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi all!
So I have a matrix that is 76x4000 (76 rows, 4000 columns). I would like to test the Kendall Rank correlation coefficient between each row to every other row, including itself, so the end matrix will be 76x76. How do I write it as a function?
Thank you very much!
0 件のコメント
回答 (1 件)
Natch Ruengsakulrach
2016 年 8 月 31 日
If you would like to perform a pairwise correlation coefficient between each pair of rows, you can transpose your matrix "A" and use the "corr" function
r = corr(A','type','Kendall');
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Hypothesis Tests についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!