single factor analysis of variance anova
play

Single Factor Analysis of Variance (ANOVA) Bernd Schr oder logo1 - PowerPoint PPT Presentation

The Situation Test Statistic Computing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schr oder logo1 Bernd Schr oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance


  1. The Situation Test Statistic Computing the Quantities ANOVA Terminology 1. I populations or treatments of equal size J are to be compared. 2. µ i denotes the actual mean of the i th population. 3. Null hypothesis. H 0 : µ 1 = µ 2 = ··· = µ I (no difference, or, no effect) 4. Alternative hypothesis. H a : At least two means differ. 5. For example, if among 10 pain relievers, all have a sample average time until pain lessens of around 20 minutes and one has a sample average of around 10 minutes, then it pretty much looks like that one is different. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  2. The Situation Test Statistic Computing the Quantities ANOVA Terminology 1. I populations or treatments of equal size J are to be compared. 2. µ i denotes the actual mean of the i th population. 3. Null hypothesis. H 0 : µ 1 = µ 2 = ··· = µ I (no difference, or, no effect) 4. Alternative hypothesis. H a : At least two means differ. 5. For example, if among 10 pain relievers, all have a sample average time until pain lessens of around 20 minutes and one has a sample average of around 10 minutes, then it pretty much looks like that one is different. When it’s not that obvious, we need a testing procedure (finer analysis). logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  3. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  4. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  5. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  6. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) Data is often displayed in a matrix. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  7. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) Data is often displayed in a matrix. 7. Individual sample means: X i · = ∑ J j = 1 X ij J logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  8. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) Data is often displayed in a matrix. 7. Individual sample means: X i · = ∑ J j = 1 X ij J The dot says we summed over the second variable. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  9. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) Data is often displayed in a matrix. 7. Individual sample means: X i · = ∑ J j = 1 X ij J The dot says we summed over the second variable. � 2 i = ∑ J � X ij − X i · j = 1 8. Sample variance: S 2 J − 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  10. The Situation Test Statistic Computing the Quantities ANOVA Terminology (cont.) 6. X i , j is the random variable that denotes the j th measurement from the i th population/treatment group. x i , j will be the observed value (“as always”) Data is often displayed in a matrix. 7. Individual sample means: X i · = ∑ J j = 1 X ij J The dot says we summed over the second variable. � 2 i = ∑ J � X ij − X i · j = 1 8. Sample variance: S 2 J − 1 9. Grand mean: X ·· = ∑ I i = 1 ∑ J j = 1 X ij IJ logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  11. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  12. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  13. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  14. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  15. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  16. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  17. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  18. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  19. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. 5. To determine if the variation is consistent with the null hypothesis logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  20. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. 5. To determine if the variation is consistent with the null hypothesis, we compare a measure of the variance between the samples logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  21. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. 5. To determine if the variation is consistent with the null hypothesis, we compare a measure of the variance between the samples (“between-samples” variation) logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  22. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. 5. To determine if the variation is consistent with the null hypothesis, we compare a measure of the variance between the samples (“between-samples” variation) to a measure of the variation “within” the samples. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  23. The Situation Test Statistic Computing the Quantities Underlying Assumptions and Their Consequences 1. All populations are assumed to be normally distributed with the same variance σ 2 . Hence all X ij are normally distributed and E ( X ij ) = µ i and V ( X ij ) = σ 2 . 2. If the largest sample standard deviation is at most twice the smallest sample standard deviation, then it is (still) reasonable to assume that the σ s are equal. 3. To check normality, use a normal probability plot. 4. If the null hypothesis µ 1 = µ 2 = ··· = µ I is true, then all sample averages should be close to each other. 5. To determine if the variation is consistent with the null hypothesis, we compare a measure of the variance between the samples (“between-samples” variation) to a measure of the variation “within” the samples. (Remember that we assume all populations have the same σ ). logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  24. The Situation Test Statistic Computing the Quantities logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  25. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  26. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. J � 2 + ··· + �� � 2 � � MSTr = X 1 · − X ·· X I · − X ·· I − 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  27. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  28. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  29. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  30. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  31. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  32. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. 5. If the null hypothesis is true: E ( MSTr ) = E ( MSE ) = σ 2 . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  33. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. 5. If the null hypothesis is true: E ( MSTr ) = E ( MSE ) = σ 2 . If the null hypothesis is false: E ( MSTr ) > E ( MSE ) = σ 2 . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  34. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. 5. If the null hypothesis is true: E ( MSTr ) = E ( MSE ) = σ 2 . If the null hypothesis is false: E ( MSTr ) > E ( MSE ) = σ 2 . 6. When the null hypothesis is true, the statistic F = MSTr MSE has an F -distribution with ν 1 = I − 1 and ν 2 = I ( J − 1 ) . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  35. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. 5. If the null hypothesis is true: E ( MSTr ) = E ( MSE ) = σ 2 . If the null hypothesis is false: E ( MSTr ) > E ( MSE ) = σ 2 . 6. When the null hypothesis is true, the statistic F = MSTr MSE has an F -distribution with ν 1 = I − 1 and ν 2 = I ( J − 1 ) . 7. A rejection region f > F α , I − 1 , I ( J − 1 ) gives a test of significance level α . logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  36. The Situation Test Statistic Computing the Quantities 1. Mean square for treatments. I J � 2 + ··· + J �� � 2 � � 2 � ∑ � MSTr = X 1 · − X ·· X I · − X ·· = X i · − X ·· I − 1 I − 1 i = 1 2. Mean square for error MSE = S 2 1 + ··· + S 2 I . I 3. The test statistic for single factor ANOVA is F = MSTr MSE . 4. The J in MSTr re-scales the spread of the means back to the spread of individual samples. 5. If the null hypothesis is true: E ( MSTr ) = E ( MSE ) = σ 2 . If the null hypothesis is false: E ( MSTr ) > E ( MSE ) = σ 2 . 6. When the null hypothesis is true, the statistic F = MSTr MSE has an F -distribution with ν 1 = I − 1 and ν 2 = I ( J − 1 ) . 7. A rejection region f > F α , I − 1 , I ( J − 1 ) gives a test of significance level α . 8. For p -values, use the area to the right of the test statistic. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  37. The Situation Test Statistic Computing the Quantities Example. Perform an ANOVA on the enclosed test data to see if the “true average performances” can be considered equal. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  38. The Situation Test Statistic Computing the Quantities Example. Perform an ANOVA on the enclosed test data to see if the “true average performances” can be considered equal. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  39. The Situation Test Statistic Computing the Quantities Keeping Track of the Data logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  40. The Situation Test Statistic Computing the Quantities Keeping Track of the Data The key to ANOVA (by hand) is orderly bookkeeping. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  41. The Situation Test Statistic Computing the Quantities Keeping Track of the Data The key to ANOVA (by hand) is orderly bookkeeping. Also remember that all this was done before computers. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  42. The Situation Test Statistic Computing the Quantities Keeping Track of the Data The key to ANOVA (by hand) is orderly bookkeeping. Also remember that all this was done before computers. So anything that could save a few operations logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  43. The Situation Test Statistic Computing the Quantities Keeping Track of the Data The key to ANOVA (by hand) is orderly bookkeeping. Also remember that all this was done before computers. So anything that could save a few operations, or help minimize rounding errors logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  44. The Situation Test Statistic Computing the Quantities Keeping Track of the Data The key to ANOVA (by hand) is orderly bookkeeping. Also remember that all this was done before computers. So anything that could save a few operations, or help minimize rounding errors, was appreciated. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  45. The Situation Test Statistic Computing the Quantities logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  46. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  47. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  48. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  49. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  50. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 5. MSTr = SSTr I − 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  51. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 5. MSTr = SSTr I − 1 (What happened to J ? logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  52. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 5. MSTr = SSTr I − 1 (What happened to J ? It’s the dummy sum over j !) logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  53. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 5. MSTr = SSTr I − 1 (What happened to J ? It’s the dummy sum over j !) SSE 6. MSE = I ( J − 1 ) logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  54. The Situation Test Statistic Computing the Quantities I J ∑ ∑ 1. Grand total: x ·· = x ij i = 1 j = 1 I J I J ij − 1 ( x ij − x ·· ) 2 = x 2 IJ x 2 ∑ ∑ ∑ ∑ 2. Total sum of squares: SST = ·· i = 1 j = 1 i = 1 j = 1 I J I ( x i · − x ·· ) 2 = 1 i · − 1 ∑ ∑ ∑ x 2 IJ x 2 3. Treatment sum of squares: SSTr = ·· , J i = 1 j = 1 i = 1 J ∑ where x i · = x ij j = 1 I J ( x ij − x i · ) 2 ∑ ∑ 4. Error sum of squares: SSE = i = 1 j = 1 5. MSTr = SSTr I − 1 (What happened to J ? It’s the dummy sum over j !) SSE F = MSTr 6. MSE = I ( J − 1 ) , MSE logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  55. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  56. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? SST logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  57. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J ( x ij − x ·· ) 2 ∑ ∑ = SST i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  58. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  59. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 I J I J I J ∑ ∑ x 2 ∑ ∑ ∑ ∑ x 2 = ij − 2 x ·· x ij + ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  60. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 I J I J I J ∑ ∑ x 2 ∑ ∑ ∑ ∑ x 2 = ij − 2 x ·· x ij + ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 � 2 � I J I J I J I J ij − 2 1 ∑ ∑ x 2 ∑ ∑ ∑ ∑ ∑ ∑ = x ij + IJ x ij x ij IJ IJ i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  61. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 I J I J I J ∑ ∑ x 2 ∑ ∑ ∑ ∑ x 2 = ij − 2 x ·· x ij + ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 � 2 � I J I J I J I J ij − 2 1 ∑ ∑ x 2 ∑ ∑ ∑ ∑ ∑ ∑ = x ij + IJ x ij x ij IJ IJ i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 I J I J I J ij − 1 x 2 ∑ ∑ ∑ ∑ ∑ ∑ = x ij x ij IJ i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  62. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 I J I J I J ∑ ∑ x 2 ∑ ∑ ∑ ∑ x 2 = ij − 2 x ·· x ij + ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 � 2 � I J I J I J I J ij − 2 1 ∑ ∑ x 2 ∑ ∑ ∑ ∑ ∑ ∑ = x ij + IJ x ij x ij IJ IJ i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 I J I J I J I J ij − 1 ij − 1 x 2 x 2 IJx 2 ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ = x ij = x ij IJ ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  63. The Situation Test Statistic Computing the Quantities Are the Claimed Formulas Right? I J I J ( x ij − x ·· ) 2 = x 2 ij − 2 x ij x ·· + x 2 ∑ ∑ ∑ ∑ = SST ·· i = 1 j = 1 i = 1 j = 1 I J I J I J ∑ ∑ x 2 ∑ ∑ ∑ ∑ x 2 = ij − 2 x ·· x ij + ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 � 2 � I J I J I J I J ij − 2 1 ∑ ∑ x 2 ∑ ∑ ∑ ∑ ∑ ∑ = x ij + IJ x ij x ij IJ IJ i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 I J I J I J I J ij − 1 ij − 1 x 2 x 2 IJx 2 ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ = x ij = x ij IJ ·· i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 Treatment sum of squares: Similar. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  64. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  65. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE x ij − x ·· logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  66. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  67. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x ·· ) 2 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  68. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  69. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  70. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing over j logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  71. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  72. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 SST logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  73. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J ( x ij − x ·· ) 2 ∑ ∑ SST = i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  74. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J I J I J ( x ij − x ·· ) 2 = ( x ij − x i · ) 2 + ( x i · − x ·· ) 2 ∑ ∑ ∑ ∑ ∑ ∑ SST = i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  75. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J I J I J ( x ij − x ·· ) 2 = ( x ij − x i · ) 2 + ( x i · − x ·· ) 2 = SSE + SSTr ∑ ∑ ∑ ∑ ∑ ∑ SST = i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  76. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J I J I J ( x ij − x ·· ) 2 = ( x ij − x i · ) 2 + ( x i · − x ·· ) 2 = SSE + SSTr ∑ ∑ ∑ ∑ ∑ ∑ SST = i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 1. SST measures the total variation of the data. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  77. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J I J I J ( x ij − x ·· ) 2 = ( x ij − x i · ) 2 + ( x i · − x ·· ) 2 = SSE + SSTr ∑ ∑ ∑ ∑ ∑ ∑ SST = i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 1. SST measures the total variation of the data. 2. SSE is the contribution from the variation within the populations/treatment groups. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  78. The Situation Test Statistic Computing the Quantities Fundamental Identity: SST = SSTr + SSE = ( x ij − x i · )+( x i · − x ·· ) x ij − x ·· ( x ij − x i · ) 2 + 2 ( x ij − x i · )( x i · − x ·· )+( x i · − x ·· ) 2 ( x ij − x ·· ) 2 = Now sum over i,j. The middle term drops out after summing J ∑ over j , because ( x ij − x i · ) = 0. Hence j = 1 I J I J I J ( x ij − x ·· ) 2 = ( x ij − x i · ) 2 + ( x i · − x ·· ) 2 = SSE + SSTr ∑ ∑ ∑ ∑ ∑ ∑ SST = i = 1 j = 1 i = 1 j = 1 i = 1 j = 1 1. SST measures the total variation of the data. 2. SSE is the contribution from the variation within the populations/treatment groups. 3. SSTr is the contribution from between the populations/groups. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  79. The Situation Test Statistic Computing the Quantities Example. Perform an ANOVA on the enclosed test data to see if the “true average performances” can be considered equal. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

  80. The Situation Test Statistic Computing the Quantities Example. Perform an ANOVA on the enclosed test data to see if the “true average performances” can be considered equal. Use a significance level of α = 0 . 05 and also compute the p-value. logo1 Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend