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. 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.
pc = pval_adjust([0.1 0.3 0.05 0.001 0.1 0.9 0.0004], 'bonferroni')
'holm', 'hochberg', 'hommel', 'bonferroni', 'BH', 'BY', 'fdr', 'sidak' or 'none'.
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