spearman correlation in bootstrap function
3 次查看(过去 30 天)
显示 更早的评论
Hi Matlab experts,
How can I implement a spearman correlation in the bootstrp function:
bootstat = bootstrp(1000,@corr,a,b) ?
Thanks,
Tamir
0 个评论
回答(1 个)
Jeff Miller
2019-3-11
scorr = @(a,b)(corr(a,b,'Spearman'));
bootstat = bootstrp(1000,scorr,a,b);
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!