View source: R/post_hoc_DA INCLUDERE.R
adjustRom | R Documentation |
This function takes the particular list of possible hypthesis to correct for multiple testing, as defined in Rom (1990)
adjustRom(pvalues, alpha = 0.05)
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. |
alpha |
value for the averall test |
The test has been implemented according to the version in Garciaet al. (2010), page 2680-2682.
A vector or matrix with the corrected p-values
S. Garcia, A. Fernandez, J. Luengo and F. Herrera (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.
D. M. Rom (1990) A sequentially rejective test procedure based on a modified Bonferroni inequality. Biometrika, 77, 663-665.
data(data_gh_2008)
raw.pvalues <- friedmanPost(data.gh.2008)
raw.pvalues
adjustRom(raw.pvalues, alpha=0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.