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 d 2 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