This function applies a rank-based method for controlling experiment-wise error. Two hypothesis have to be respected: normality of the distribution and no ties in the data. The aim is to be able to detect, among k treatments, those who lead to significant differencies in the values for a variable of interest.
higgins.fisher.kruskal.test(resp, grp, alpha = 0.05)
A matrix with two columns. Each row indicates a combinaison of two groups that have significant different distributions.
vector containing the values for the variable of interest.
vector specifying in which group is each observation.
level of the test.
First, the Kruskal-Wallis test is used to test the equality of the distributions of each treatment. If the test is significant at the level alpha
, the method can be applied.
J.J. Higgins, (2004), Introduction to Modern Nonparametric Statistics, Brooks/Cole, Cengage Learning.