Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 18 of 20 · about 17 min

Hypothesis tests and p-values

A coin lands heads 60 times out of 100. Is it rigged, or just lucky? Hypothesis testing answers "could chance alone explain this?" You'll simulate thousands of fair coins to compute a p-value by hand, find the line between "surprising" and "not", and learn how A/B tests work and how p-hacking fools people.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • p-value
  • Statistical significance

Free to try in F07 Probability & Statistics:

The first 3 lessons of every course are free, no account needed.