Generate a partial correlation AND p-values from a bootstrap?
显示 更早的评论
Hello,
So I would like to bootstrap my partial correlation analysis but also filter for statistical significance. Is there a way to do this within the bootstrp function?
Previously I filtered this way:
[t pval]=partialcorr(ecosys_d(:,5:8))
pval=pval<.1
t=pval.*t;
But now my bootstrap code is this:
[bootstat,bootsam] = bootstrp(1000,@partialcorr,ecosys_d(:,5:8));
Can I filter for statistical significance within the @bootfun call? Any other ideas? Thank you!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Resampling Techniques 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!