Estimating a Sensitive Survey Rate Using Randomized Response

Last updated: November 29, 2026

Quick Overview

Meta wants to estimate the share of users who have seen scam messages they did not report, but users may not answer honestly. Design a randomized response survey, derive the unbiased estimator, and quantify the variance cost relative to direct questioning.

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


Meta wants to estimate the share of users who have seen scam messages they did not report, but users may not answer honestly. Design a randomized response survey, derive the unbiased estimator, and quantify the variance cost relative to direct questioning.

Integrity and privacy research at Meta sometimes needs honest answers to sensitive questions. This onsite question checks whether you can design a privacy-preserving randomization, invert it to an unbiased estimate, and reason about the precision you give up.

What the Interviewer Expects
  • Describe the coin-flip protocol and why it protects respondents
  • Write P(yes) as a function of the true rate
  • Invert to an unbiased estimator
  • Derive the variance and compare with direct questioning
  • Connect to local differential privacy
Key Topics to Cover
randomized response
unbiased estimation
variance inflation
local differential privacy
survey design
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How do you choose the truth probability to balance privacy and precision?
  • How many respondents do you need for a plus or minus 2 point margin?
  • How would you estimate the rate within a subgroup, and what happens to precision?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify
  • True share π\pi of users with the sensitive trait.
  • Users might lie under direct questioning; we want each answer to be deniable.
  • Survey of n=4000n = 4000 randomly sampled users....
Approach

Protocol (forced response): the app privately flips a coin. With probability p=0.5p = 0.5 the user answers the real question truthfully. Otherwise a second coin decides: answer "yes" with probability...


Submit Your Answer
Markdown supported