Skip to content
Tactiverge

School/✦ Research Engineer/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.)

About 45 min · 3 goals · Checked by automated tests

1.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.

2.Predict

p = 0.03 means…

Guess first. Being wrong here is how the surprise works.

3.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

  1. 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

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.

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.

4.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?

Loading the interactive…

Can't use the interactive? Read a description instead

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.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

Which statement about p = 0.01 is correct?

Practice 2 · a fresh version every time

Baseline: mean 3 s, s1 = 0.2, n1 = 25. New: mean 2.9 s, s2 = 0.5, n2 = 10 (settling time). Compute the two-sample (Welch) t statistic t = (mean1 − mean2) / √(s1²/n1 + s2²/n2).

6.Watch

→ 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.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 3 · a fresh version every time

Two groups of n = 10 each. Baseline mean = 1.5 N, SD = 0.3. New method mean = 1.25 N, SD = 0.25 (grasp force error, lower is better). Using the pooled SD for equal groups, √((s1² + s2²)/2), what is Cohen's d = (baseline − new) / pooled SD?

Practice 4

p = 0.4 in a study of 6 runs per group. What can you conclude?

Practice 5

Which measure of the difference does NOT grow just because you ran more trials?

8.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.

9.Reflect

Concepts: Statistical inference: intervals, effect sizes and p-values · Comparing conditions with uncertainty