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

조회 수: 2 (최근 30일)
Kate
Kate 2015년 10월 28일
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