bonferroni_holm

Version 4.0 (2,3 KB) von E Zakreski
Bonferroni-Holm method to control family wise error rate. Corrects multiple comparisons/hypothesis tests (returns adjusted p-values)
292 Downloads
Aktualisiert 2 Aug 2019

Lizenz anzeigen

Bonferroni-Holm (aka Holm-Bonferroni) determines whether a series of hypotheses are still significant controlling for family wise error rate (FWE) and subsequently controls for false discovery rate (FDR) The Bonferroni-Holm method corrects for multiple comparisons (hypothesis tests). It less conservative than the Bonferroni correction, but more powerful (so p-values are more likely to stay significant). This function accepts raw p values from 1 or more hypotheses and outputs the FWE-adjusted p-values, and a logical array indicating which p-values are still significant at alpha = 0.05 or other alpha, after correcting for FWE. See function code for instructions.

Zitieren als

E Zakreski (2024). bonferroni_holm (https://www.mathworks.com/matlabcentral/fileexchange/69817-bonferroni_holm), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2018b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
4.0

Changed so that adjusted p-values > 1 are set to 1.

3.0

fixed bug

2.0

fixed bug in adjusted p values

1.0.0