Suppose that the probability that a random person has a certain disease is 0 . 0 0 5 . A scientist develops a device which tests a person positive for the disease with 9 5 % chance when the person really has the disease. However, the same device tests a person positive for the disease with 1 % chance when the person in fact does not have the disease. What is the probability that a person really has the disease when tested positive by the device?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
At last 475/1470 = 95/294 great explanation thank you.
Let P(B) the probability that really has the disease. Then P(B) = 0.005.
Let P(B') the probability that really has not the disease. Then P(B') = 0.995.
Let P(A) the probability that when tested gives positive. Unknown.
Let P( A | B ) the probability that a person gives positive for the disease given that the person really has the disease. That is, P(A | B) = 0.95.
Let P( A | B' ) the probability that the person gives positive for the disease given that the person doesn't really has the disease.
Let P( B | A ) the probability that a person really has the disease given that when tested gives positive by the device. To find this probability is our goal.
Using the definition of conditional probability:
P ( B ∣ A ) = P ( A ) P ( B ∩ A )
Let's find P(A) using
P ( A ) = P ( ( A ∩ B ) ∪ ( A ∩ B ′ ) ) = P ( A ∩ B ) + P ( A ∩ B ′ ) − P ( ( A ∩ B ) ∪ ( A ∩ B ′ ) )
where the last term is equal to zero by using Venn diagrams.
Substituting with all the extra information we have already, we get:
P ( B ∣ A ) = P ( B ) P ( A ∣ B ) + P ( B ′ ) P ( A ∣ B ′ ) P ( A ∣ B ) P ( B )
which gives 95/294.
can u explain how the last term of P(A) equal to zero? i tried using Venn diagram but still cannot get the answer
using probability distribution..................... p(E) = ( 0.005 * (95/100) ) / ( 0.005 * (95/100) + 0.995 * (1/100) ) = (95/294)
by using bayes theorem it can be done.....
Problem Loading...
Note Loading...
Set Loading...
if we reframe the question
consider that in a population of 100000 only 500 people have the disease. Hence the probablity of a person having a disease is still 0.005
Therefore the people having the disease is 500 and people not having the disease is 99500
now since the test is, 95% of the time positive for people having the disease, it means out of 500 people 475 will be tested positive.
also since the test is positive 1% of the time for people not having the disease, it means 995 people out of 99500 people will be tested positive.
therefore total number of people tested positive 995+475 = 1470. But the number of people actually having the disease is just 475.
Therefore the probablity of having it if tested positive is 475/140 = 95/294