A doctor assumes that patient has one of three diseases d 1, ~d 2 or d 3. Before any test he assumes an equal probability for each disease. He carries out a test that will be positive with probability 0.7 if the patient has disease d 1,0.5 if the pat…
A doctor assumes that patient has one of three diseases \(\mathrm{d} 1, \mathrm{~d} 2\) or d 3. Before any test he assumes an equal probability for each disease. He carries out a test that will be positive with probability 0.7 if the patient has disease \(\mathrm{d} 1,0.5\) if the patient has disease d2 and 0.8 if the patient has disease d3. Given that the outcome of the test was positive then probability that patient has disease d2 is
A. \(\frac{1}{4}\)
B. \(\frac{1}{2}\)
C. \(\frac{1}{5}\)
D. \(\frac{1}{7}\)