Lesson 5.3: Inference for Multiple Means Using ANOVA

Software Lab 5.3 Solutions

  1. The summary statistics match those in the textbook:
    summary statistics - classdata example
    Figure 1: Group descriptives summary statistics for classdata
  2. The variability within each group is approximately the same since the standard deviations are 13.9, 13.8, and 13.1.
  3. The observations within each group appear to be nearly normal based on the points lying reasonably close to the lines in the following normal probability plots (Fig. 2), with no extreme outliers.
    normal probability plots - classdata example
    Figure 2: Normal probability plots for classdata lectures a, b, and c
  4. The F-statistic, 3.48, and p-value, 0.033, match the values in the textbook:
    anova - classdata example
    Figure 3: ANOVA F-test for classdata example
  5. The code 1-pf(3.48, df1=2, df2=161) returns the value 0.03314.
  6. The p-value 0.033 is less than the significance level \alpha=0.05, so reject H0 in favour of HA and conclude that there is sufficient evidence that at least one population mean is different.
  7. The t-values in the jamovi output (1.23, –1.47, and –2.64) are similar to the t-scores in the textbook (1.21, –1.46, and –2.60).
    anova post-hoc tests - classdata example
    Figure 4: ANOVA post-hoc F-test for classdata lectures a, b, and c 
  8. The p-values calculated from the jamovi t-values (0.2205, 0.1435, and 0.0091) are similar to the p-values in the textbook (0.228, 0.1462, and 0.0102). Since only the p-value for the lecture B versus lecture C comparison (0.0091) is less than the Bonferroni-corrected significance level (0.05/3 = 0.0167), only the lecture B and lecture C means differ statistically.
  9. The adjusted p-values are 0.440, 0.308, and 0.025:
    anova post-hoc tests - classdata example
    Figure 5: ANOVA post-hoc F-tests for classdata lectures a, b, and c 
  10. Since only the p-value for the lecture B versus lecture C comparison (0.025) is less than the significance level (0.05), only the lecture B and lecture C means differ statistically.

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Introduction to Probability and Statistics Copyright © 2023 by Thompson Rivers University is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book