Tukey's range test
Tukey's range test, also known as the Tukey's test, Tukey method, Tukey's honest significance test, Tukey's HSD (honest significant difference) test, or the Tukey–Kramer method, is a single-step multiple comparison procedure and statistical test. It can be used on raw data or in conjunction with an ANOVA (post-hoc analysis) to find means that are significantly different from each other. Named after John Tukey, it compares all possible pairs of means, and is based on a studentized range distribution (q) (this distribution is similar to the distribution of t from the t-test. See below). The Tukey HSD tests should not be confused with the Tukey Mean Difference tests (also known as the Bland–Altman diagram).
Tukey's test compares the means of every treatment to the means of every other treatment; that is, it applies simultaneously to the set of all pairwise comparisons
and identifies any difference between two means that is greater than the expected standard error. The confidence coefficient for the set, when all sample sizes are equal, is exactly for any . For unequal sample sizes, the confidence coefficient is greater than 1 − α. In other words, the Tukey method is conservative when there are unequal sample sizes.
Assumptions of Tukey's testEdit
The test statisticEdit
Tukey's test is based on a formula very similar to that of the t-test. In fact, Tukey's test is essentially a t-test, except that it corrects for family-wise error rate (when there are multiple comparisons being made, the probability of making a Type I error within at least one of the comparisons, increases — Tukey's test corrects for that, and is thus more suitable for multiple comparisons than a number of t-tests would be).
The formula for Tukey's test is:
where YA is the larger of the two means being compared, YB is the smaller of the two means being compared, and SE is the standard error of the sum of the means.
This qs value can then be compared to a q value from the studentized range distribution. If the qs value is larger than the critical value obtained from the distribution, the two means are said to be significantly different at level .
Since the null hypothesis for Tukey's test states that all means being compared are from the same population (i.e. μ1 = μ2 = μ3 = ... = μk), the means should be normally distributed (according to the central limit theorem). This gives rise to the normality assumption of Tukey's test.
The studentized range (q) distributionEdit
The Tukey method uses the studentized range distribution. Suppose that we take a sample of size n from each of k populations with the same normal distribution N(μ, σ) and suppose that min is the smallest of these sample means and max is the largest of these sample means, and suppose S2 is the pooled sample variance from these samples. Then the following random variable has a Studentized range distribution.
This value of q is the basis of the critical value of q, based on three factors:
- α (the Type I error rate, or the probability of rejecting a true null hypothesis)
- k (the number of populations)
- df (the number of degrees of freedom (N-k) where N is the total number of observations)
The distribution of q has been tabulated and appears in many textbooks on statistics. In some tables the distribution of q has been tabulated without the factor. To understand which table it is, we can compute the result for k=2 and compare it to the result of the Student's t-distribution with the same degrees of freedom and the same α. In addition, R offers a cumulative distribution function (
ptukey) and a quantile function (
qtukey) for q.
The Tukey confidence limits for all pairwise comparisons with confidence coefficient of at least 1 − α are
Notice that the point estimator and the estimated variance are the same as those for a single pairwise comparison. The only difference between the confidence limits for simultaneous comparisons and those for a single comparison is the multiple of the estimated standard deviation.
Also note that the sample sizes must be equal when using the studentized range approach. is the standard deviation of the entire design, not just that of the two groups being compared. It is possible to work with unequal sample sizes. In this case, one has to calculate the estimated standard deviation for each pairwise comparison as formalized by Clyde Kramer in 1956, so the procedure for unequal sample sizes is sometimes referred to as the Tukey–Kramer method which is as follows:
where n i and n j are the sizes of groups i and j respectively. The degrees of freedom for the whole design is also applied.
Advantages and disadvantagesEdit
When doing all pairwise comparisons, this method is considered the best available when confidence intervals are needed or sample sizes are not equal. When samples sizes are equal and confidence intervals are not needed Tukey’s test is slightly less powerful than the stepdown procedures, but if they are not available Tukey’s is the next-best choice, and unless the number of groups is large, the loss in power will be slight. In the general case when many or all contrasts might be of interest, Scheffé's method tends to give narrower confidence limits and is therefore the preferred method.
- Lowry, Richard. "One Way ANOVA – Independent Samples". Vassar.edu. Retrieved December 4, 2008. Also occasionally as "honestly," see e.g. Morrison, S.; Sosnoff, J. J.; Heffernan, K. S.; Jae, S. Y.; Fernhall, B. (2013). "Aging, hypertension and physiological tremor: The contribution of the cardioballistic impulse to tremorgenesis in older adults". Journal of the Neurological Sciences. 326 (1–2): 68–74. doi:10.1016/j.jns.2013.01.016.
- Tukey, John (1949). "Comparing Individual Means in the Analysis of Variance". Biometrics. 5 (2): 99–114. JSTOR 3001913.
- Linton, L.R., Harder, L.D. (2007) Biology 315 – Quantitative Biology Lecture Notes. University of Calgary, Calgary, AB
- Montgomery, Douglas C. (2013). Design and Analysis of Experiments (Eighth ed.). Wiley. Section 3.5.7.