Generate a partial correlation AND p-values from a bootstrap?
Show older comments
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!
Answers (0)
Categories
Find more on Resampling Techniques in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!