Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Survey-based investigations

Getting honest answers: the randomised response technique

AA HLAI HLAA SL Ambitious Also in: Probability, Statistics

Research question

If respondents secretly flip a coin to decide whether to answer truthfully or say 'yes', can you still estimate the true proportion who would say yes, and how much bigger a sample does the privacy cost?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

A clever probability design that protects respondents. Working out the estimator and its variance, then comparing with a direct question, is a complete investigation.

The mathematics you'll need

  • Conditional probability and the law of total probability
  • An unbiased estimator for the true proportion (derived)
  • Variance of the estimator compared with direct questioning
  • Sample size for a given margin of error
  • Comparing the estimate with a direct-question group

Where the data comes from

Use a mildly personal question approved by your teacher (for example 'Have you ever handed in homework late?'). Anonymous forms, consent and school approval.

Real data for this idea

  1. Primary source: Census at School New Zealand random sampler. Draw a random sample of past responses as a comparison for your own survey, not a substitute for it. Licence: Check the terms on the site.
  2. Also useful: Census at School USA (American Statistical Association): Census at School USA. The US random sampler gives the same kind of comparison sample. Licence: Check the terms on the site.

Census at School responses are voluntary, so they are not a random sample of all students: use them as a comparison, not as the population. Links checked October 2026; we link to the data and never copy it. More free data sets.

A possible outline

  1. Explain the method.
  2. Derive the estimator and its variance.
  3. Run the survey with two groups: direct and randomised.
  4. Compare estimates and their margins of error.
  5. Reflect on whether people trusted the method.

Pitfalls that cost marks

  • Questions that are truly sensitive; keep it mild and approved.
  • Coin tosses people can be seen doing.
  • Not accounting for the extra variance.

Showing personal engagement

  • Design the coin procedure yourself.
  • Predict the difference between groups.
  • Test a die-based variant.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLFits — ambitious at SLConditional probability and the law of total probability; An unbiased estimator for the true proportion (derived)
AA HLGood fitConditional probability and the law of total probability; An unbiased estimator for the true proportion (derived)
AI SLNot a natural fitThe mathematics is mainly AA or HL (calculus or proof beyond AI SL); an AI SL version would need a data-driven, technology-based approach.
AI HLGood fitConditional probability and the law of total probability; An unbiased estimator for the true proportion (derived)

Level: Ambitious. Suits confident students; expect to learn some mathematics on your own. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: questions that are truly sensitive; keep it mild and approved; and coin tosses people can be seen doing. Say how each one affects your answer.

Use of mathematics (E)

SL: conditional probability and the law of total probability; an unbiased estimator for the true proportion (derived); variance of the estimator compared with direct questioning; sample size for a given margin of error; comparing the estimate with a direct-question group, each explained in your own words and carried out correctly.

How surveys explorations reach the top bands in general: Survey-based investigations IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Choose the probability of a forced 'yes' that balances privacy and precision.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL surveys exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AA HL, AI HL and AA SL. We rate it Ambitious: it suits confident students, who should expect to learn some mathematics on their own.

What mathematics does this IA use?

Conditional probability and the law of total probability, an unbiased estimator for the true proportion (derived), variance of the estimator compared with direct questioning, sample size for a given margin of error and comparing the estimate with a direct-question group.

Where can I get data for this IA?

Use a mildly personal question approved by your teacher (for example 'Have you ever handed in homework late?'). Anonymous forms, consent and school approval. Checked sources and tools: Census at School New Zealand, Census at School USA (American Statistical Association) and Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “Getting honest answers: the randomised response technique” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · IA statistics, step by step

Similar ideas

All surveys ideas · AA HL ideas · AI HL ideas · AA SL ideas · All 239 IA ideas