Discover
A survey asks 'Have you ever cheated on a test?'. Many people would lie. Here is a trick: each person flips a coin in secret. Heads: answer truthfully. Tails: just say 'yes'. Can we still estimate the true rate?
- Yes: we know half the 'yes' answers come from tails
- No: the coin destroys the information
Key idea
Randomized response.
With a fair coin (heads: truth, tails: 'yes'):
, so ,
where is the true proportion. Randomness protects each person but not the overall estimate.
Worked example
62 % of the answers are 'yes'.
Your turn, guided
Your turn: 70 % 'yes'. Estimate .
Practice ★
- Randomized response with a fair coin: 71 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
- Randomized response with a fair coin: 69 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
- Randomized response with a fair coin: 94 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
Practice ★★
- Randomized response: 500 people answer and 420 say 'yes'. About how many of them truly are 'yes' people?
- Randomized response: 400 people answer and 216 say 'yes'. About how many of them truly are 'yes' people?
Exit ticket
Two questions to check.
- Randomized response with a fair coin: 71 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
- Randomized response with a fair coin: 69 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
Summary card
Randomized response
- with a fair coin.
- Privacy for each person, accuracy for the group.
Statistics offices use variants of this idea to protect people's privacy.
End of the lesson
Next lesson: History of experiments: Fisher at Rothamsted Back to the chapter