Actuarial Notes

Multiple Comparisons

Study guide: Exam MAS-I

Multiple Comparisons is the testing of several hypotheses about group means, or the building of several confidence intervals for them, at once while holding the family-wise error rate at a chosen \alpha. Its procedures are used after an ANOVA F test to find which means differ. The family-wise error rate is

\text{FWER} = P(\text{at least one true } H_0 \text{ in the family is rejected})

If g independent tests are each run at level \alpha, the family-wise error rate is 1 - (1 - \alpha)^g, which grows quickly with g.

An actuary tests 10 candidate rating variables, each at significance level 0.05. If none of them affects losses and the tests are independent, what is the probability that at least one variable is found significant?

  • Each test fails to reject a true H_0 with probability 0.95.
  • The probability that all 10 tests fail to reject is 0.95^{10} = 0.599.
  • The family-wise error rate is 1 - 0.599 = 0.401.

Contrasts of group means

In a one-way ANOVA with k groups, group i has n_i observations and sample mean \bar{y}_i, the total number of observations is N = n_1 + \cdots + n_k, and \hat{\sigma}^2 is the mean squared error on N - k degrees of freedom. A contrast is a combination of the group means

\psi = \sum_{i=1}^{k} a_i \mu_i

  • The coefficients a_i satisfy a_1 + \cdots + a_k = 0.

A pairwise difference \mu_i - \mu_j is the simplest contrast. The contrast is estimated by \hat{\psi} = \sum a_i \bar{y}_i, whose standard error is

\text{SE}(\hat{\psi}) = \sqrt{\hat{\sigma}^2 \sum_{i=1}^{k} \frac{a_i^2}{n_i}}

For one contrast on its own, the confidence interval is \hat{\psi} \pm t_{\alpha/2,\,N-k}\,\text{SE}(\hat{\psi}). The three methods below keep this form and replace the t value with a larger multiplier.

Bonferroni method

For g contrasts chosen before the data are seen, the Bonferroni method builds each interval at level \alpha/g:

\hat{\psi} \pm t_{\alpha/(2g),\,N-k}\,\text{SE}(\hat{\psi})

  • t_{\alpha/(2g),\,N-k} is the upper \alpha/(2g) point of the t distribution, which has two-sided tail area \alpha/g.

The Bonferroni inequality guarantees that all g intervals hold together with probability at least 1 - \alpha, whether or not the comparisons are independent and whether or not the group sizes are equal.

Six territories have 4 claims each, and the ANOVA gives \hat^2 = 2.25 on 18 degrees of freedom. Before seeing the data, the actuary planned to compare territories B to F with territory A at 90% family confidence. The differences from A are 1.1, 3.8, -0.6, 2.9 and 0.8. Which territories differ from A by the Bonferroni method?

  • For a pairwise difference, \sum a_i^2 / n_i = 1/4 + 1/4, so \text{SE}(\hat{\psi}) = \sqrt{2.25 \times 0.5} = 1.061.
  • There are g = 5 comparisons, so each interval uses two-sided tail area 0.10/5 = 0.02, and the t table with 18 degrees of freedom gives 2.552.
  • The half-width is 2.552 \times 1.061 = 2.71.
  • Territories C (3.8) and E (2.9) differ from A by more than 2.71.

Scheffé method

For all contrasts at once, including contrasts chosen after looking at the data, the Scheffé method uses the interval

\hat{\psi} \pm \sqrt{(k - 1)\,F_{\alpha,\,k-1,\,N-k}}\;\text{SE}(\hat{\psi})

  • F_{\alpha,\,k-1,\,N-k} is the upper \alpha point of the F distribution with k - 1 and N - k degrees of freedom.

The family confidence is exactly 1 - \alpha over every contrast. If the ANOVA F test rejects at level \alpha, at least one contrast is significant by the Scheffé method.

For the six territories above, with 90% family confidence, which territories differ from A by the Scheffé method?

  • With k = 6 groups and 18 degrees of freedom, F_{0.10,5,18} = 2.196.
  • The multiplier is \sqrt{5 \times 2.196} = 3.314, so the half-width is 3.314 \times 1.061 = 3.51.
  • Only territory C (3.8) differs from A by more than 3.51.

Tukey method

For all pairwise differences when every group has the same size n, the Tukey method uses the interval

\bar{y}_i - \bar{y}_j \pm q_{\alpha,\,k,\,N-k} \sqrt{\frac{\hat{\sigma}^2}{n}}

  • q_{\alpha,\,k,\,N-k} is the upper \alpha point of the studentized range distribution, the distribution of the range of k independent normal values divided by an independent estimate of their standard deviation.

The family confidence is exactly 1 - \alpha over all pairwise differences.

Four groups have 6 observations each, with means 10.2, 11.0, 12.5 and 9.8, and \hat^2 = 1.5 on 20 degrees of freedom. With q_ = 3.958, which pairs differ at 95% family confidence?

  • The half-width is 3.958 \sqrt{1.5 / 6} = 3.958 \times 0.5 = 1.979.
  • Group 3 differs from group 1 by 12.5 - 10.2 = 2.3 and from group 4 by 12.5 - 9.8 = 2.7, both more than 1.979.
  • Every other difference is at most 12.5 - 11.0 = 1.5.
  • Only the pairs of group 3 with groups 1 and 4 differ.

Choosing a method

A comparison chosen after looking at the data, such as the largest difference of means, is in effect the largest of all the pairwise comparisons. An ordinary interval for it understates the error rate, so it needs a method that covers all pairs or all contrasts.

Family of comparisons Method with the narrowest intervals
A few contrasts chosen in advance Bonferroni
All pairwise differences, equal group sizes Tukey, which is exact, while Bonferroni is conservative and Scheffé is widest
Any contrasts, including contrasts that are not pairwise or are chosen after the data Scheffé

Running an ordinary t test on every pair Running an ordinary t test at level \alpha on each pair of means after a significant F test does not hold the family-wise error rate at \alpha. With 6 groups there are 15 pairs, and the chance of at least one false difference is far above \alpha.

Practice questions

Actuarial Notes