fakenmc/pval_adjust

Adjust p-values for multiple comparisons
432 Downloads
Updated 27 Aug 2019

A MATLAB/Octave function for adjusting p-values for multiple comparisons. Given a set of p-values, returns p-values adjusted using one of several methods: 'holm', 'hochberg', 'hommel', 'bonferroni', 'BH', 'BY', 'fdr', 'sidak' or 'none'.

This is an implementation of the p.adjust R function, the documentation of which can be found at http://www.inside-r.org/r-doc/stats/p.adjust. Contrary to the R function, this function does not handle missing values, and adds one additional correction method, 'sidak', as described in https://en.wikipedia.org/wiki/%C5%A0id%C3%A1k_correction.

If you use this script in your research please cite the following paper:

* Fachada N, Rosa AC. (2018). micompm: A MATLAB/Octave toolbox for multivariate independent comparison of observations. Journal of Open Source Software. 3(23):430. https://doi.org/10.21105/joss.00430

Cite As

Fachada N, Rosa AC. (2018). micompm: A MATLAB/Octave toolbox for multivariate independent comparison of observations. Journal of Open Source Software. 3(23):430. https://doi.org/10.21105/joss.00430

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.2.0.2

Fix paper reference

1.2.0.1

- Add paper reference

1.2.0.0

Fix bug in Holm method (acknowledgements to Giuseppe Altieri for finding bug)

1.1.0.0

Update description, add Sidak method.

1.0.0.0

Fix typo in description.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.