
Mike D. answered 10/06/20
Effective, patient, empathic, math and science tutor
Draw a two way table.
Population has diabetes Test positive Test negative
Yes 0.10 0.98 x 0.10 0.02 x 0.10
No 0.90 0.01 x 0.90 0.99 x 0.90
So chance that someone who tests positive has diabetes is ( 0.98 x 0.10 / (0.98 x 0.10 + 0.01 x 0.90))