Open the editor

Maths · High school

Hypothesis Testing Slides

Free animated slides, ready to teach: 6 slides where every step appears on a click and the diagrams move. Play them right here, present them full screen, or copy them into your account to edit.

A real Tracé deck playing in your browser. No account needed.

What the lesson covers

A coin lands heads 16 times in 20 throws. The class sets up H₀: p = 0.5, finds P(X ≥ 16) under B(20, 0.5) and decides whether to reject H₀ at the 5% level.

The slides, one by one

1 Hypothesis testing

Is it chance, or is something going on?

A coin lands heads 16 times in 20 throws. Is it biased?

2 Start by assuming nothing special

H0:p=0.5,H1:p>0.5H_0: p = 0.5,\quad H_1: p > 0.5
Under H0: X∼B(20,0.5)\textsf{Under }H_0\textsf{: }X \sim B(20, 0.5)

3 16 or more heads is very unlikely under H₀

P(X≥16)≈0.0059P(X \geq 16) \approx 0.0059
0.0059<0.05: reject H00.0059 < 0.05\textsf{: reject }H_0

4 Testing the coin at the 5% level

16 heads in 20 throws. Test at the 5% level whether the coin is biased towards heads.

→ Find the p-value under H₀

H0:p=0.5, H1:p>0.5H_0: p = 0.5,\ H_1: p > 0.5
X∼B(20,0.5)X \sim B(20, 0.5)
P(X≥16)=0.0059P(X \geq 16) = 0.0059
0.0059<0.050.0059 < 0.05

Reject H₀: strong evidence the coin favours heads

5 Quick check

Same coin test, but with 13 heads: P(X≥13)=0.132.Conclusion?\begin{gathered}\textsf{Same coin test, but with 13 heads: }P(X \geq 13) = 0.132\textsf{.}\\ \textsf{Conclusion?}\end{gathered}
  • Do not reject H0H_0
  • Reject H0H_0
  • The coin is proved fair
  • The coin is biased
Show the answer

Do not reject H0H_0

0.132 > 0.05: it could be chance. That does not prove the coin is fair.

6 What to remember

H0: no effect; H1: the claimH_0\textsf{: no effect; }H_1\textsf{: the claim}

p-value: chance of a result this extreme

p-value ≤ level: reject H0\textsf{p-value }{\leq}\textsf{ level: reject }H_0
Not rejecting is not proving H0\textsf{Not rejecting is not proving }H_0

Challenge: Find the critical region for this test.

Every slide is built click by click: text, formulas and pictures come in one step at a time, so the class follows the reasoning instead of reading ahead. Graphs with sliders can be dragged live while you present.

Make your own version with AIChange the level, the numbers or the language: type the topic and get a new deck that moves in about 30 seconds. Free, no account needed.

Questions teachers ask

What does it mean to reject the null hypothesis?

The observed result would be very unlikely if H₀ were true (p-value at or below the significance level), so there is evidence for H₁.

Are these slides really free?

Yes. Watch them on this page or present them full screen with no account. Making your own copy to edit is free too.

Can I change the slides before my lesson?

Yes. Press "Make my own copy" and the deck becomes one of your projects in the Tracé editor, where you can change the text, the numbers, the colours or the order of the clicks.

Do they work on a classroom projector or an interactive whiteboard?

Yes. They run in the browser on any laptop, so anything that shows your screen works. Press the right arrow or click to go to the next step.