How do I specify stderr when using bootci to compute bootstrap studentized confidence interval?
이전 댓글 표시
I want to compute the studentized bootstrap interval for the mean. The quantity to be computed for each bootstrap sample should be:
(mean(x)-mean(data))./std(x)
where x is a bootstrap sample. I can program this on my own, but I am not sure how to specify the same thing using the function bootci:
ci = bootci(B,{function1,data},'type','stud','stderr',function2);
What should I write for function1 and function2? I have tried several things but the coverages I get from these intervals turn out to be wrong (compared to my own program which I know is correct). I am specifying something incorrectly. Do I specify the divisor std(bootstrapsample) in function1, or in function2 (or in both)? The documentation is sparse.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Resampling Techniques에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!