adjustShaffer: Shaffer's correction of p-values in pairwise comparisons. .

adjustShafferR Documentation

Shaffer's correction of p-values in pairwise comparisons. .

Description

This function implements the Shaffer's (static) multiple testing correction when the p-values correspond with pairwise comparisons.

Usage

adjustShaffer(raw.matrix)

Arguments

raw.matrix

A matrix with the pairwise p-values. The p-values have to be, at least, in the upper part of the matrix.

Details

The test has been implemented according to the version in Garcia and Herrera (2008), page 2680.

Value

A symetric matrix with the corrected p-values.

References

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.

Examples

data(data_gh_2008)
raw.pvalues <- friedmanPost(data.gh.2008)
raw.pvalues
adjustShaffer(raw.pvalues)

livioivil/r41sqrt10 documentation built on July 29, 2023, 5:40 p.m.