Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 841 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 841 Bytes

Summary

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.

Usage

pc = pval_adjust([0.1 0.3 0.05 0.001 0.1 0.9 0.0004], 'bonferroni')

Correction methods

'holm', 'hochberg', 'hommel', 'bonferroni', 'BH', 'BY', 'fdr', 'sidak' or 'none'.

Reference

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

License

MIT License