spearman correlation in bootstrap function
古いコメントを表示
Hi Matlab experts,
How can I implement a spearman correlation in the bootstrp function:
bootstat = bootstrp(1000,@corr,a,b) ?
Thanks,
Tamir
回答 (1 件)
Jeff Miller
2019 年 3 月 11 日
scorr = @(a,b)(corr(a,b,'Spearman'));
bootstat = bootstrp(1000,scorr,a,b);
2 件のコメント
Tamir Eisenstein
2019 年 3 月 12 日
Jeff Miller
2019 年 3 月 12 日
Ooops, sorry, it should be
scorr = @(a,b)(corr(a,b,'type','Spearman'));
カテゴリ
ヘルプ センター および File Exchange で Resampling Techniques についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!