multiple comparisons type i error
play

Multiple Comparisons & Type-I Error Paul Gribble Winter, 2019 - PowerPoint PPT Presentation

Multiple Comparisons & Type-I Error Paul Gribble Winter, 2019 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GLM & ANOVA: an example G1 G2 G3 2.1 6.3 2.9 1.6


  1. Multiple Comparisons & Type-I Error Paul Gribble Winter, 2019 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  2. GLM & ANOVA: an example G1 G2 G3 2.1 6.3 2.9 1.6 6.4 3.2 2.2 5.5 3.2 2.5 5.6 3.2 1.8 6.2 3.4 means 2.0 6.0 3.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  3. GLM & ANOVA: an example 6 4 2 0 g1 g2 g3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  4. the model comparison approach: restricted model 8 ● ● ● 6 ● ● data 4 ● ● ● ● ● ● ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E r = ∑ ( H 0 : Y ij = µ + ϵ ij X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  5. the model comparison approach: restricted model 8 ● ● ● 6 ● ● data 4 ● ● ● ● ● ● ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E r = ∑ ( H 0 : Y ij = µ + ϵ ij X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  6. the model comparison approach: restricted model 8 ● ● ● 6 ● ● data 4 ● ● ● ● ● X ● ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E r = ∑ ( H 0 : Y ij = µ + ϵ ij X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  7. the model comparison approach: restricted model 8 ● ● ● 6 ● ● data 4 ● ● ● ● ● X ● ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E r = ∑ ( H 0 : Y ij = µ + ϵ ij X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  8. the model comparison approach: full model 8 ● ● ● 6 ● ● data 4 ● ● ● ● ● ● ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E f = ∑ ( H 1 : Y ij = µ j + ϵ ij X j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  9. the model comparison approach: full model 8 ● ● ● X 2 6 ● ● data 4 ● X 3 ● ● ● ● ● X 1 ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E f = ∑ ( H 1 : Y ij = µ j + ϵ ij X j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  10. the model comparison approach: full model 8 ● ● ● X 2 6 ● ● data 4 ● X 3 ● ● ● ● ● X 1 ● ● 2 ● ● 0 g1 g2 g3 Y ij − ¯ ) 2 E f = ∑ ( H 1 : Y ij = µ j + ϵ ij X j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  11. which model has smaller error? 8 8 ● ● ● ● ● ● X 2 6 6 ● ● ● ● data data 4 4 ● X 3 ● ● ● ● ● ● ● ● ● X ● ● X 1 ● ● 2 ● 2 ● ● ● ● ● 0 0 g1 g2 g3 g1 g2 g3 ▶ estimate 1 parameter ▶ estimate 3 parameters ▶ µ ▶ µ 1 , µ 2 , µ 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  12. which model has smaller error? 8 ● ● ● X 2 6 ● ● data 4 X 3 ● ● ● ● ● ● X 1 ● ● 2 ● ● 8 0 ● ● ● 6 ● ● g1 g2 g3 data 4 ● ● ● ● ● X ● ● ● 2 ● ● 0 ▶ Is the reduction in error g1 g2 g3 you get with the full model worth the extra parameters you need to estimate in H 1 ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  13. Testing differences between individual means ▶ last time we learned about one-way single-factor ANOVA ▶ F test of null hypothesis ▶ µ 1 = µ 2 = ... = µ n ▶ called the "omnibus test" ▶ omnibus test doesn’t tell us which means are different from each other ▶ it does give us permission to start looking for differences between individual means . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  14. Two kinds of multiple comparisons planned comparisons ▶ in advance of looking at your results you know which groups you want to compare ▶ you are restricted to performing only certain comparisons ▶ the comparisons must be orthogonal to each other post-hoc comparisons ▶ the results dictate which means you test (you are chasing the biggest differences ) ▶ you can test as many as you like (usually) ▶ few (if any) restrictions on the nature of the tests you can perform ▶ Type-I error is controlled for by making each test more conservative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  15. Model comparison approach ▶ recall the null hypothesis & restricted model: H 0 : µ 1 = µ 2 = · · · = µ a = µ + ϵ ij Y ij ▶ suppose we wanted to test a new hypothesis that only groups 1 and 2 are equal and the rest are different : µ 1 = µ 2 H 0 µ ∗ + ϵ i 1 Y i 1 = µ ∗ + ϵ i 2 Y i 2 = = µ j + ϵ ij , for j = 3 , 4 , . . . , a Y ij . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  16. Model comparison approach ▶ just as before we can compare full and restricted models by computing sums of squared errors for each (see Maxwell & Delaney for details) ▶ just as before we end up with an F ratio: ( E R − E F ) / ( df R − df F ) F = E F / df F ( ¯ n 1 n 2 Y 1 − ¯ ) 2 = E R − E F Y 2 n 1 + n 2 df F = N − a df R = N − ( a − 1 ) = N − a + 1 = 1 df R − df F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  17. Model comparison approach ▶ after some more tedious algebra: ( ¯ ) 2 Y 1 − ¯ F = n 1 n 2 Y 2 ( n 1 + n 2 ) MS W ▶ or for equal group sizes n: ( ¯ Y 1 − ¯ ) 2 F = n Y 2 2 MS W ▶ MS W is mean-square "within" term (error term) from ANOVA output ▶ df numerator = 1 ▶ df denominator is given in ANOVA output for MS W term . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  18. Model comparison approach ▶ so what we have now is an F test for a full versus restricted model ▶ full model is as before (different mean for each group) ▶ restricted model has same mean for groups 1 and 2, and different means for the rest ▶ restricted model is less restricted than the original restricted model with a single parameter (the grand mean) ▶ but still more restricted than full model ( ¯ ) 2 Y 1 − ¯ F = n Y 2 2 MS W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  19. Complex comparisons ▶ research questions often focus on pairwise comparisons ▶ sometimes you may have a hypothesis that concerns a difference involving more than 2 means ▶ e.g. 4 groups: is group 4 different than the average of the other three? H 0 : 1 3 ( µ 1 + µ 2 + µ 3 ) = µ 4 ▶ we can rewrite this as: H 0 : 1 3 µ 1 + 1 3 µ 2 + 1 3 µ 3 − µ 4 = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  20. Complex comparisons H 0 : 1 3 µ 1 + 1 3 µ 2 + 1 3 µ 3 − µ 4 = 0 ▶ this is just a linear combination of the 4 means so in general we can write: H 0 : c 1 µ 1 + c 2 µ 2 + c 3 µ 3 + c 4 µ 4 = 0 ▶ c 1 through c 4 are coefficients chosen by the experimenter to test a hypothesis of interest ▶ simple pairwise comparison of mean 1 vs mean 2 would be: = − 1 c 1 c 2 = + 1 = 0 c 3 c 4 = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  21. Complex comparisons an expression of the form: H 0 : c 1 µ 1 + c 2 µ 2 + c 3 µ 3 + c 4 µ 4 is known as a "contrast" or a "complex comparison" ▶ linear combination of means in which the coefficients add up to zero ▶ in the general case of a groups, we can write: a ∑ ψ = c j µ j j = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  22. Complex comparisons ▶ our expression for the F test can be simplified (see M&D) to: ψ 2 F = ∑ a ( ) c 2 j / n j MS W j = 1 where ▶ df numerator = 1 ▶ df denominator = N − a a ∑ H 0 : ψ = c j µ j = 0 j = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  23. Complex comparisons ▶ some texts present contrasts not as F tests but as t-test ▶ when df numerator = 1, t-test is just a special case of the F-test t 2 = F √ t = F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Recommend


More recommend