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!