Testing positive twice in a row
Asked at Jane Street
A disease affects of a population. A test catches of true cases (sensitivity) and clears of healthy people (specificity). A person takes the test twice, the two results are independent given their true status, and both come back positive.
What is the probability that they have the disease?