Lite / Independent Engineering Research / Week 33
p-values and effect sizes, done correctly
p = 0.03. Does that mean a 3% chance your result is a fluke? (No. But almost everyone thinks so.)
Why should I care?
p-values are everywhere, and misread almost as often. Used correctly they answer one narrow question. Paired with effect sizes and intervals, they become part of an honest, useful report.
- State the definition of a p-value and three common misreadings.
- Compute a two-sample t statistic and Cohen's d.
- Explain why a CI and an effect size are more informative than p alone.
Predict
p = 0.03 means…
- There is a 3% chance the null hypothesis is true
- If there were no effect, data at least this extreme would occur about 3% of the time
- There is a 97% chance the effect is real
- The effect is large
Guess first, then reveal
A p-value is computed assuming the null is true. It is not the probability the null is true, and it says nothing directly about size.
Discover
Find three settings: (1) p < 0.001 but the whole interval below the smallest effect of interest; (2) p > 0.05 but the interval includes large effects; (3) p < 0.05 with the interval above the SESOI. Which would you call a success, a trivial effect and an inconclusive study?
What the interactive shows (text version)
The confidence-interval panel shows an estimate, its 95% interval, the zero line and the smallest effect of interest, with p reported. Settings can produce significant-but-trivial, inconclusive and meaningful results. The replication panel shows identical studies disagreeing about p < 0.05.
Watch (optional)
Watch for: Listen for why an effect size answers 'how much' where a significance test only answers 'whether'.
Separates 'is there a difference?' from 'how big is it?', and introduces effect sizes as the number readers actually need.
“Degrees of Freedom and Effect Sizes: Crash Course Statistics #28” by CrashCourse (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
The definition
The p-value is the probability, assuming the null hypothesis and the model are true, of obtaining a test statistic at least as extreme as the one observed. Small p means the data would be surprising under the null. That is all.
Three misreadings
- p is not the probability that the null is true. 2. p > 0.05 does not show there is no effect (it may be low power). 3. p does not measure importance: with enough runs, trivial effects reach tiny p. Report the estimate, its interval and an effect size alongside p.
t and d
The t statistic = difference / SE_diff: how many standard errors the difference is from zero. It grows with √n. Cohen's d = difference / pooled SD: the difference in units of run-to-run spread. It does not grow with n, so it is the better measure of size.
Explain it another way
Intuitive
A smoke alarm going off is surprising if there is no fire. It does not tell you how big the fire is, or guarantee there is one.
Technical
p = P(|T| ≥ |t_obs| | H₀). Under H₀, p is uniformly distributed, so about 5% of null studies give p < 0.05.
Mathematical
Welch: t = (x̄₁ − x̄₂)/√(s₁²/n₁ + s₂²/n₂). d = (x̄₁ − x̄₂)/s_p with s_p = √((s₁² + s₂²)/2) for equal n. For equal n, t ≈ d·√(n/2).
Applied
Engineering requirements are about sizes: an effect size with an interval maps straight onto 'does it meet the spec?', a p-value does not.
Worked example 1
n = 50 each, d = 0.1. What is t, roughly, and is the effect important?
t ≈ 0.1 × √25 = 0.5, not significant. With n = 5000 each, t ≈ 0.1 × 50 = 5, p < 0.001, but d is still 0.1: a tiny effect relative to spread. Importance depends on the requirement, not on p.
Common mix-ups
A smaller p-value means a bigger or more important effect.
✓ p mixes effect size with sample size. Report the effect size and interval to say how big the effect is.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write the results sentence template for your capstone: estimate, 95% CI, effect size, p (if used), and the decision under your pre-registered rule. Fill it in with invented numbers to test it.
Reflect
Have you seen a headline that confused 'statistically significant' with 'important'? Rewrite it honestly.
Write your answer on paper or in your own notes. Lite never stores what you write.