Randomized response

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Integrated Math III › Inferences and conclusions from data

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Randomized response

Inferences and conclusions from data. normal distribution, sampling, margin of error, experiments, confidence intervals

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?

  1. Yes: we know half the 'yes' answers come from tails
  2. No: the coin destroys the information

Key idea

Randomized response.

With a fair coin (heads: truth, tails: 'yes'):

P(yes)=12p+12P(\text{yes}) = \tfrac{1}{2}p + \tfrac{1}{2}, \quad so p=2 P(yes)−1\quad p = 2\,P(\text{yes}) - 1,

where pp is the true proportion. Randomness protects each person but not the overall estimate.

Worked example

62 % of the answers are 'yes'.

p=2×0.62−1p = 2 \times 0.62 - 1
Use the formula.
p=0.24p = 0.24: about 24 %
Compute.

Your turn, guided

Your turn: 70 % 'yes'. Estimate pp.

0.40.4
2×0.7−12 \times 0.7 - 1.

Practice ★

  1. Randomized response with a fair coin: 71 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
  2. Randomized response with a fair coin: 69 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
  3. Randomized response with a fair coin: 94 % of the answers are 'yes'. Estimate the true proportion (as a decimal).

Practice ★★

  1. Randomized response: 500 people answer and 420 say 'yes'. About how many of them truly are 'yes' people?
  2. Randomized response: 400 people answer and 216 say 'yes'. About how many of them truly are 'yes' people?

Exit ticket

Two questions to check.

  1. Randomized response with a fair coin: 71 % of the answers are 'yes'. Estimate the true proportion (as a decimal).
  2. Randomized response with a fair coin: 69 % of the answers are 'yes'. Estimate the true proportion (as a decimal).

Summary card

Randomized response

  • p=2P(yes)−1p = 2P(\text{yes}) - 1 with a fair coin.
  • Privacy for each person, accuracy for the group.

Statistics offices use variants of this idea to protect people's privacy.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits