fakenmc/pval_adjust
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
tests
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. |
|