Research Methods — Week 7
Last week: t-tests for two groups. The base rate fallacy.
This week: what happens when you have more than two groups — and more than one test.
Submit questions anonymously:
PollEv.com/geol
text geol to 07480 781235
🎓 Concept block 1
Three groups (e.g., wind farms in three regions).
You could run three pairwise t-tests: A vs B, A vs C, B vs C.
Each test has a 5% false positive rate.
Three tests: P(at least one false positive) = 1 − 0.95³ ≈ 14%
Ten tests: 40%
Twenty tests: 64%
| Number of tests | P(≥1 false positive) |
|---|---|
| 1 | 5% |
| 3 | 14% |
| 10 | 40% |
| 20 | 64% |
| 100 | 99.4% |
Run enough tests and you’re guaranteed to “find” something.
HolmesCo
“Geological Solutions Since 2019”
Press Release — Multi-Element Anomaly Discovered!
“We tested soil samples from 20 sites for enrichment in 20 elements. We found statistically significant enrichment (p < 0.05) for three elements at one site!”
If there’s truly nothing there, how many significant results would you expect by chance?
20 × 20 = 400 tests at α = 0.05
Expected false positives: 20
HolmesCo found 3.
That’s fewer than expected by chance. The “discovery” is noise.
💬 Exercise 1
How many comparisons are you planning to make?
If you run all of them at α = 0.05, what’s your family-wise false positive rate?
Formula: 1 − (1 − α)k where k = number of tests
🎓💻 Concept block 2
ANOVA (Analysis of Variance) asks:
“Does any group differ from the others?”
Without specifying which.
| Method | How | When |
|---|---|---|
| Tukey’s HSD | All pairwise, designed for ANOVA | After a significant ANOVA |
| Bonferroni | Divide α by number of tests | Simple, conservative, any context |
Both reduce the false positive rate by being stricter about what counts as significant.
✏️💻 Exercise 2
Provided dataset: wind farm output in four regions.
aov()TukeyHSD() — which pairs differ?🎓 Concept block 3
HolmesCo
“Geological Solutions Since 2019”
Two boreholes, 1,000 readings each.
Mean difference: 0.02°C. p-value: 0.001.
“Highly significant temperature anomaly detected!”
Is 0.02°C meaningful for any practical purpose?
A standardised measure of how far apart two groups are:
| d | Interpretation |
|---|---|
| 0.2 | Small |
| 0.5 | Medium |
| 0.8 | Large |
Proportion of variance explained by the grouping variable.
| η² | Interpretation |
|---|---|
| 0.01 | Small |
| 0.06 | Medium |
| 0.14 | Large |
Always report both the p-value and an effect size.
A policy-maker needs to know “how big?” — not just “is it real?”
✏️💬 Integrative exercise
HolmesCo
“Geological Solutions Since 2019”
Technical Summary
For each: should we act on this? Why or why not?
Application session: “Deepening your analysis”
Apply ANOVA or refine your t-test with effect sizes and assumption checks.