adjustShaffer | R Documentation |
This function implements the Shaffer's (static) multiple testing correction when the p-values correspond with pairwise comparisons.
adjustShaffer(raw.matrix)
raw.matrix |
A matrix with the pairwise p-values. The p-values have to be, at least, in the upper part of the matrix. |
The test has been implemented according to the version in Garcia and Herrera (2008), page 2680.
A symetric matrix with the corrected p-values.
S. Garcia and F. Herrera (2008) An Extension on "Statistical Comparisons of Classifiers over Multiple Data Sets" for All Pairwise Comparisons. Journal of Machine Learning Research, 9, 2677-2694.
J.P. Shaffer (1986) Modified sequentially rejective multiple test procedures. Journal of the American Statistical Association, 81(395), 826-831.
data(data_gh_2008)
raw.pvalues <- friedmanPost(data.gh.2008)
raw.pvalues
adjustShaffer(raw.pvalues)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.