
Research Skills — Week 8
You can now test hypotheses, compare groups, and quantify effect sizes.
This week: models.
A model is a simplified story about how the world works. The question is always: how much does it capture, and what does it leave out?
Submit questions:
PollEv.com/geol
text geol to 07480 781235
💬 Homework recap
The Economist, 23 September 2026: “Many surgical interventions are little better than placebo”.
Hands up: a row? Two rows? Full house?
Which square was hardest to fill?
Patients felt better after surgery. Three stories fit that:
Pooling 100 surgical trials: about two-thirds of the improvement was stories 2 and 3.
| Compare | Isolates |
|---|---|
| Surgery vs sham surgery | the operation itself |
| Sham surgery vs no treatment | the placebo |
| No treatment, before vs after | natural recovery |
One 2002 trial splashed water into a dish so the sham sounded right.
Scans find tears and “abnormalities” in knees, backs and shoulders.
The same abnormalities are common in people with no pain at all.
How plausible was this before we tested?
| Surgery | Geology |
|---|---|
| Only recovered patients return | Dry holes and failed slopes never get written up |
| Patients heal anyway | Groundwater recovers once pumping stops. Did the remediation work? |
| Abnormal scans in painless knees | Faults are everywhere. Is this one why the ground subsided? |
| Surgeons have no uncertainty | Experts disagree on the same seismic section |
In geology nobody says the word “placebo”. Would you spot these?
🎓💻 Concept block 1
A deliberate simplification that captures some features of reality and ignores others.
Every statistical test you’ve run contains an implicit model.
The t-test models data as two normal distributions with equal variance.
Now we make the model explicit.
\[y = \beta_0 + \beta_1 x + \varepsilon\]
“y increases by β₁ for every one-unit increase in x, plus noise.”
That’s the whole model. It’s powerful — and limited.
| Element | Meaning |
|---|---|
| Intercept (β₀) | Predicted y when x = 0 |
| Slope (β₁) | Change in y per unit change in x |
| R² | Proportion of variance explained |
| p-value (slope) | Is the slope distinguishable from zero? |
✏️💻 Exercise 1
Solar panel output vs temperature — counterintuitive.
lm()Is the relationship linear? Does the model capture the pattern?
🎓 Concept block 2
Four plots, two that matter most:
| Plot | What to look for |
|---|---|
| Residuals vs Fitted | Pattern = non-linearity or heteroscedasticity |
| QQ plot | Departures from the line = non-normal residuals |
✏️💬 Exercise 2
HolmesCo
“Geological Solutions Since 2019”
Groundwater Analysis Report
Linear model: groundwater level ~ rainfall. R² = 0.49.
“Rainfall is the dominant control on groundwater levels.”
Now look at the diagnostic plots…
🎓💬 Concept block 3
A model that fits the training data perfectly but fails on new data.
It’s memorized the noise.
🖥️ Live demo
Fit a degree-15 polynomial to 20 data points. It goes through every point but oscillates wildly between them.
Compare to the straight line: fits worse, predicts better.
More complex ≠ more useful.
A model that works within the observed range but breaks down outside it.
Example: UK solar capacity has grown roughly exponentially since 2010. Extrapolate to 2050 → solar exceeds the entire UK grid.

What’s the model not capturing?
Planning constraints, grid limits, diminishing suitable sites.
HolmesCo
“Geological Solutions Since 2019”
“Our linear trend in groundwater decline predicts the aquifer will be empty by 2028.”
They didn’t account for seasonal recharge or the fact that the decline was caused by temporary pumping.
Things the model structurally cannot represent.
You can only fix a blind spot if you know it’s there.
Overfitting: too much faith in your data.
Extrapolation: too much faith in your model.
Blind spots: too much faith in your framework.
✏️ One sentence
“In my project, the biggest thing my analysis might be missing is…”
Submit questions:
PollEv.com/geol
text geol to 07480 781235
Application session: “Fitting and breaking models”
You’ll fit models to your data — and deliberately try to break them.