Why ANOVA compares variances, why a significant omnibus test is not a list of pairwise results, and why an interaction changes the story.
Three groups have means of 50, 51, and 58, with 12 observations per group and SD = 7. Suppose the omnibus ANOVA is significant.
1a. Does that force all three pairwise comparisons (A–B, A–C, B–C) to be significant? Predict which pairs Tukey HSD will flag, and explain your reasoning.
1b. If the group means stay fixed but the within-group SD doubles, what should happen to F, p, and η²?
The simulator holds n = 12 per group. Move the three means to change the between-group signal; move the SD to change the within-group noise. The dots are a constructed dataset whose displayed means and sample SD are exact, so the same settings always produce the same ANOVA.
| Difference | Estimate | 95% familywise CI | Conclusion |
|---|
Use the named presets. Record values to two decimals, except p to three decimals (or < .001).
For one preset, check the book's two rules in the readout: SS between + SS within = SS total, and MS between ÷ MS within = F.
| Preset | F | p | η² | Which Tukey pairs differ? |
|---|---|---|---|---|
| One pair differs | ||||
| No signal | ||||
| Same means, more noise |
Q1. In the first preset, the omnibus test is significant but only one Tukey interval excludes 0. Explain why those conclusions are not contradictory.
Q2. Compare the first and fourth presets. The means did not move. Use the phrase signal-to-noise ratio to explain why the statistical conclusions changed.
Q2b. Click No signal. F is exactly 0. Chapter 17's “Where F comes from” says F lands near 1 when nothing is going on. Both are right. What does this simulator do to the group means that real samples never do?
This is a balanced 2 × 2 design with 15 observations in each cell and within-cell SD = 6. Each slider controls one model term. The interaction slider is literally the difference of differences:
(Method B − Method A in large classes) − (Method B − Method A in small classes)
Method A Method B. Parallel lines mean interaction = 0; nonparallel lines mean interaction ≠ 0. Crossing is one possible interaction, not the definition.
| Effect | F(1, 56) | p | partial η² |
|---|---|---|---|
| Method | |||
| Class size | |||
| Method × Class size |
| Class size | Difference | 95% CI | Conclusion |
|---|---|---|---|
| Small | |||
| Large |
Q3. Use the Parallel main effects preset. How do the plot, interaction row, and two simple effects all tell the same story?
Q4. Use the Ordinal interaction preset. The lines do not cross. What proves that an interaction still exists?
Q5. Use the Crossover; no main effects preset. Why would reporting only the two non-significant main effects be deeply misleading?
Q6. In that crossover preset, state the two simple effects with their confidence intervals, then describe the interaction in plain language.
The first block recreates the opening one-way preset. scale() makes a fixed set of 12 offsets with mean 0 and sample SD 1, so each constructed group has the exact mean and SD shown in the simulator.
z <- as.numeric(scale(c(-1.7, -1.2, -.9, -.6, -.3, -.1,
.1, .3, .6, .9, 1.2, 1.7)))
oneway <- data.frame(
group = factor(rep(c("A", "B", "C"), each = 12)),
score = c(50 + 7*z, 51 + 7*z, 58 + 7*z)
)
m1 <- aov(score ~ group, data = oneway)
summary(m1)
effectsize::eta_squared(m1)
TukeyHSD(m1)
Df Sum Sq Mean Sq F value Pr(>F) group 2 456 228 4.653 0.0166 * Residuals 33 1617 49 Eta2 = 0.220 Tukey 95% family-wise confidence intervals: B-A 1.000 [ -6.012, 8.012] C-A 8.000 [ 0.988, 15.012] C-B 7.000 [ -0.012, 14.012]
The next block recreates the crossover preset. There is no marginal method or class-size difference, but there is a large interaction.
z15 <- as.numeric(scale(seq(-1.4, 1.4, length.out = 15)))
twoway <- expand.grid(
person = 1:15,
method = factor(c("A", "B")),
class_size = factor(c("small", "large"))
)
cell_mean <- with(twoway,
ifelse(method == "A" & class_size == "small", 54,
ifelse(method == "B" & class_size == "small", 46,
ifelse(method == "A" & class_size == "large", 46, 54))))
twoway$score <- cell_mean + 6 * rep(z15, 4)
m2 <- aov(score ~ method * class_size, data = twoway)
summary(m2)
effectsize::eta_squared(m2, partial = TRUE)
Df Sum Sq Mean Sq F value Pr(>F) method 1 0 0 0.00 1 class_size 1 0 0 0.00 1 method:class_size 1 960 960 26.67 3.32e-06 *** Residuals 56 2016 36 Partial Eta2 (interaction) = 0.323
Q7. Run both blocks. Identify one number in each R result that matches the simulator, and explain what it represents.
R1. Return to your Step 1 predictions. What did you get right, and what did the one-way simulator force you to revise?
R2. A report says, "There was no overall effect of teaching method, p = 1.00, so the methods worked equally well." The interaction is p < .001. Rewrite the conclusion.
R3. In one sentence each, distinguish: omnibus effect, pairwise comparison, main effect, simple effect, and interaction.
Grading: Credit/no-credit. Credit requires a genuine attempt and complete written reasoning, not perfect predictions.
anova-playground_lastname1_lastname2.pdf.