adjustHolland: Holland correction of p-values.

View source: R/post_hoc_DA INCLUDERE.R

adjustHollandR Documentation

Holland correction of p-values.

Description

This function takes the particular list of possible hypthesis to correct for multiple testing, as defined in Holland and Copenhaver (1987)

Usage

adjustHolland(pvalues)

Arguments

pvalues

Raw p-values in either a vector or a matrix. Note that in case the p-values are in a matrix, all the values are used for the correction. Therefore, if the matrix contains repeated values (as those output by some methods in this package), the repetitions have to be removed.

Details

The test has been implemented according to the version in Garcia et al. (2010), page 2680-2682.

Value

A vector or matrix with the corrected p-values

References

S. Garcia, A. Fernandez, J. Luengo and F. Herrera, F. (2010) Advanced nonparametric tests for multiple comparison in the design of experiments in computational intelligence and data mining: Experimental analysis of power. Information Sciences, 180, 2044-2064.

B. S. Holland and M. D. Copenhaver (1987) An improved sequentially rejective Bonferroni test procedure Biometrics, 43, 417-423.

Examples

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


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