Coin Flip Cheaters
- 18Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the null hypothesis in the blob coin-flipping game?
The null hypothesis is that the blob is using a fair coin (heads probability = 0.5).
Or swipe the card
18 cards
What is the null hypothesis in the blob coin-flipping game?
The null hypothesis is that the blob is using a fair coin (heads probability = 0.5).
What are the three goals for the blob detective's test?
- Low chance of wrongly accusing a fair player. 2. High chance of catching a cheater. 3. Use as few coin flips as possible.
What is the standard threshold for the false positive rate in hypothesis testing?
5% (0.05).
Define 'positive result' and 'negative result' in the context of hypothesis testing.
Positive result: the test says the effect (cheating) is present. Negative result: the test says the effect is absent.
Define 'true positive', 'true negative', 'false positive', and 'false negative'.
True positive: cheater caught (test positive, reality positive). True negative: fair player correctly cleared (test negative, reality negative). False positive: fair player wrongly accused (test positive, reality negative). False negative: cheater not caught (test negative, reality positive).
What is the false positive rate?
The proportion of fair players that are falsely labeled as cheaters: (number of false positives) / (number of fair players).
What is statistical power?
The probability that a test correctly detects a cheater (true positive rate).
What is the effect size in the blob example?
The effect size is the assumed probability of heads for the cheater's coin, which was 75% in the initial test design.
How is the probability of a specific sequence of coin flips calculated?
If the flips are independent, multiply the probabilities of each outcome. For k heads in n flips with heads probability p, the probability of a specific sequence is pk(1−p)n−k.
What is the binomial distribution used for?
To calculate the probability of getting exactly k heads in n independent coin flips, given a fixed heads probability p.
In the initial test with 5 flips and threshold of 5 heads, what is the false positive rate?
The probability of 5 heads from a fair coin is (0.5)5=1/32≈3.125%, which is below 5%.
Why was the test with 5 flips and threshold of 5 heads insufficient for catching 80% of cheaters?
Because the probability of a cheater (with p=0.75) getting 5 heads is only about 24%, far below 80%.
What is a p-value?
The probability of observing a result as extreme as, or more extreme than, the one obtained, assuming the null hypothesis (fair coin) is true.
How is the p-value used in decision making?
If the p-value is less than the significance level (e.g., 5%), we reject the null hypothesis and conclude the effect is present (cheating).
What was the minimum number of flips needed to achieve both 5% false positive rate and 80% power (with effect size 0.75)?
23 flips, with a threshold of 16 or more heads.
What happens if the actual effect size is smaller than assumed (e.g., cheater's heads probability is 60% instead of 75%)?
The test's power drops dramatically; in the example, it caught only about 25% of cheaters instead of the expected 80%.
How many flips would be needed to achieve 5% false positive rate and 80% power if the cheater's heads probability is 60%?
158 flips, with a threshold of 90 heads.
What is the core framework of frequentist hypothesis testing?
- Formulate a yes/no question (e.g., is this coin biased?). 2. Build models for expected results under null and alternative hypotheses. 3. Design a test that distinguishes between them with acceptable error rates.

Ask anything
We've read this whole study set, so questions about it get the best answers.