P-Value Examples: 46 Problems with Answers
Worked examples of P-Value to try before you open each solution, then practice problems with answers.
Worked Examples
Example 1
mediumShow solution
Answer
First step
See the full worked solution + why-it-works coaching
SetupKey insightWhy it worksCommon pitfallConnection
Example 2
hardExample 3
easyExample 4
mediumExample 5
mediumExample 6
mediumExample 7
hardExample 8
hardExample 9
hardExample 10
hardExample 11
challengePractice Problems
Try each one, then open the solution to compare your method.
Example 1
easyExample 2
hardExample 3
easyExample 4
easyExample 5
easyExample 6
easyExample 7
easyExample 8
easyExample 9
easyExample 10
easyExample 11
mediumExample 12
mediumExample 13
mediumExample 14
mediumExample 15
mediumExample 16
mediumExample 17
mediumExample 18
challengeExample 19
challengeExample 20
challengeExample 21
mediumExample 22
mediumExample 23
easyExample 24
easyExample 25
easyExample 26
easyExample 27
mediumExample 28
mediumExample 29
mediumExample 30
mediumExample 31
mediumExample 32
hardExample 33
hardExample 34
hardExample 35
hardWhat to focus on
Core idea: The p-value is the probability of getting data at least this extreme assuming the null hypothesis is true.
Common stuck point: The procedure for p-value is the easy part; the trap is reading the p-value as the probability the null hypothesis is true. Asking "Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
Ask yourself: Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?
Concept recap
The probability of observing a test statistic at least as extreme as the one computed from the sample data, assuming the null hypothesis is true.
A p-value is a surprise meter that assumes nothing special is going on. A friend says she is an average free-throw shooter, then sinks 20 shots in a row; you ask how often an average shooter would do that. The rarer that is under her story, the less you believe the story. The meter rates the data, not the story's probability.
Read the full lesson on P-ValueRelated concepts
Background knowledge
These ideas may be useful before you work through the harder examples.