(mean_j - mean_k) +- q sqrt((MSWG/2)(1/n_j + 1/n_k)).
References
Wilcox, R. R. (2017). Modern Statistics for the Social and Behavioral Sciences, 2nd ed. Eq (12.4).
Examples
TukeyKramer(list(1:3, 2:4, 6:8))$q
#> [1] 4.339195
(mean_j - mean_k) +- q sqrt((MSWG/2)(1/n_j + 1/n_k)).
Wilcox, R. R. (2017). Modern Statistics for the Social and Behavioral Sciences, 2nd ed. Eq (12.4).
TukeyKramer(list(1:3, 2:4, 6:8))$q
#> [1] 4.339195