Find a course

Module 4: Statistics, Ethics and Trustworthy ScienceLesson 11 of 1216 min

Inferential Statistics: p-Values, Effect Sizes and Errors

Interpret statistical significance correctly, compute Cohen's d, read confidence intervals, and understand Type I errors, Type II errors and power.

Step 1 of 11Learn

Is the difference real?

A researcher randomly assigns 40 students to study with practice tests and 40 to reread their notes. A week later, the practice-test group averages 74% and the rereading group 68%. Is that 6-point gap a real effect of practice testing, or could it have appeared by chance, simply because of which students happened to land in each group?

Inferential statistics answer this question. The logic works like a courtroom. We start by assuming the null hypothesis (H0): there is no real difference in the population, and any difference in our sample is due to chance. The alternative hypothesis (H1) says there is a real effect.

We then ask: if the null hypothesis were true, how surprising would a difference this large (or larger) be? The answer is the p-value. If p is small, the data would be unusual under the null, so we reject the null hypothesis and call the result statistically significant. By convention, the cutoff, called alpha, is usually .05.

Suppose the test gives p = .02. That means: if practice testing truly had no effect, a difference of 6 points or more would occur only about 2% of the time by chance. That is unusual enough to reject the null at the .05 level.

Note the careful wording. We never "accept" or "prove" the null; if p is above .05, we simply fail to reject it. Absence of evidence is not evidence of absence, especially in small studies.

Step 2 of 11Practice · Select all that apply

A study reports p = .03 for the difference between two groups. Which interpretations are correct? Select all that apply.

Select all that apply.

Step 3 of 11Learn

Type I and Type II errors

Because decisions are based on probabilities, researchers can be wrong in two ways:

Null is actually trueNull is actually false
Reject the nullType I error (false positive)Correct: real effect detected
Fail to rejectCorrectType II error (false negative)

A Type I error means concluding there is an effect when there is not, like convicting an innocent person. Its probability is set by alpha: with alpha = .05, when the null is true you will wrongly reject it about 5% of the time.

A Type II error means missing a real effect, like letting a guilty person go free. Its probability is called beta (β). Statistical power is 1 − β: the probability of detecting an effect that really exists. Researchers often aim for power of at least .80.

Power increases with:

  • Larger samples (the biggest lever under a researcher's control),
  • Larger true effects,
  • Less noise, such as reliable measures or within-subjects designs,
  • A more lenient alpha (which, however, raises Type I errors).

Many older psychology studies had small samples and low power. Low power does not just miss real effects; it also means that the significant results that do get published tend to overestimate effect sizes, one reason some findings shrank or vanished when replicated.

Step 4 of 11Practice · Sort into groups

Which type of error does each outcome represent?

Tap an item, then tap its group (or drag it there).

Step 5 of 11Practice · Diagram

Four possible outcomes of a significance test

Which cell is a false positive?

Tap the shape that answers the question, then press Check.

Four possible outcomes of a significance testTwo-by-two matrix: Type I error, Correct: effect found, Correct: no effect claimed, Type II error.Type I errorCorrect: effect foundCorrect: no effect claimedType II errorWhat is really trueNull is trueReal effect existsYour decisionKeep the nullReject the null
Type I error

Claiming an effect that is not there. Its probability is alpha, usually .05.

Correct: effect found

The probability of this is the study's power.

Correct: no effect claimed
Type II error

Missing a real effect, often because the sample was too small.

Step 6 of 11Learn

Effect size and confidence intervals

Statistical significance tells you an effect is probably not zero. It does not tell you how big it is. With 10,000 participants, a difference of half a point on a 100-point test can be highly significant and practically meaningless. That is why researchers report effect sizes.

For comparing two group means, the most common effect size is Cohen's d:

d = (mean₁ − mean₂) / pooled SD

It expresses the difference in standard deviation units. In the practice-testing example, if the means are 74 and 68 and the pooled SD is 12, then d = 6 / 12 = 0.5. Cohen's rough benchmarks: 0.2 small, 0.5 medium, 0.8 large. For correlations, r itself is an effect size.

A confidence interval (CI) gives a range of plausible values for the true effect. A 95% CI for the difference might be 1.2 to 10.8 points. The interpretation: if we repeated the study many times and built an interval each time, about 95% of those intervals would contain the true difference. Narrow intervals mean precise estimates; wide ones mean we know little. If a 95% CI for a difference excludes zero, the result is significant at the .05 level.

Good reporting includes all three: the effect size, the confidence interval and the p-value. Together they answer "how big?", "how precise?" and "how surprising under the null?"

Step 7 of 11Try the calculator

Cohen's d calculator

Compute the standardized difference between two group means.

Raw difference
6
Cohen's d
0.5

Step 8 of 11Practice · Work it out

A sleep intervention group scores 58 on a wellbeing scale and the control group scores 52. The pooled standard deviation is 15. What is Cohen's d?

Step 9 of 11Diagram

Cohen's d benchmarks

Cohen's d benchmarksScale: Small (0.2), Sleep intervention, d = 0.40, Medium (0.5), Large (0.8).00.20.40.60.811.20.2Small (0.2)0.4Sleep intervention, d= 0.400.5Medium (0.5)0.8Large (0.8)

Tap a shape with to see more.

Cohen's conventions; judge real importance in context.
Small (0.2)

Hard to see without statistics.

Sleep intervention, d = 0.40

(58 − 52) / 15 = 0.40.

Medium (0.5)

Visible to a careful observer.

Large (0.8)

Obvious difference between groups.

Step 10 of 11Note

Step 11 of 11Practice · What would you do?

What would you do?

Study A (n = 30) finds a memory training effect of d = 0.60, p = .10. Study B (n = 20,000) finds d = 0.03, p < .001. A classmate says: "Study B shows a much stronger effect because its p-value is tiny." What is the best reply?