numeric

Positive predictive value of a screening test

Statistics & Inference · Probability Puzzles · medium · Reported interview question · 10 min

A condition affects 1% of a population. A test has 90% sensitivity and 95% specificity. If a randomly selected person tests positive, what is the probability they actually have the condition? Give a percentage rounded to two decimals. Answer as a percentage, for example 12.34.

Evaluation criteria

  • Uses the correct method or distribution
  • Shows the calculation
  • Rounds as the prompt asks

Detailed grading feedback appears after you submit.

Source

Adapted from a publicly reported interview question on DataLemur(opens in a new tab).

Your answer

%

Commas, currency symbols and a trailing percent sign are fine. Answers within ±0.15 % of the expected value are accepted.

You get one graded attempt here without an account. Create a free account for unlimited attempts, saved progress and community write-ups.

Answers stay hidden until you ask. Reveal the full model write-up when you are ready to compare.

Community

How other people solved this

There is rarely one right query or one right framing. Read how others approached it, and share your own once you have submitted an answer.

Reading is open to everyone. Sign in to share your approach or mark a write-up as helpful.

Loading write-ups…