A prevalence of one half

Sensitivity and specificity are both 0.90.9, and the prevalence is 0.50.5. Show that the positive predictive value equals the sensitivity.

The denominator is 0.5×0.9+0.5×0.1=0.50.5\times 0.9+0.5\times 0.1=0.5, and the numerator is 0.450.45, so the ratio is 0.90.9. With equal prevalence of the two states and equal error rates, the reversed probability matches the sensitivity.