Generate a partial correlation AND p-values from a bootstrap?

3 次查看(过去 30 天)
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 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by