How Accurate Is the New Blood Test in Detecting Disease?

  • Thread starter lunds002
  • Start date
  • Tags
    Statistics
XZlcmVkLCBZb3VyIGFub3RoZXIgZm9ybWF0aW9ucyBpcyBUcnVlLCBjaGVjayBvZiB0aGUgcHJvcG9zYWJsZSBpcyAwLjk5LCBhbmQgcG9zdGVkIHRoZSBicm9hZCB0ZXN0IGlzIDAuOTUsIGFuZCB0aGUgcHJvcG9zYWJsZSB0aGVuIGlzIDAuMDAwMS4KVGhpcyBpcyBhbm90aGVyIHRoZSB
  • #1
lunds002
21
0
A new blood test has been shown to be effective in the early detection of a disease. The probability that the blood test correctly identifies someone with this disease is 0.99, and the probability that the blood test correctly identifies someone without that disease is 0.95. The incidence of this disease in the general population is 0.0001.

A doctor administered the blood test to a patient and the test result indicated that this patient had the disease. What is the probablity that the patient has the disease?
 
Physics news on Phys.org
  • #2
Please post an attempt...
 
  • #3
(0.0001 x 0.99) / ((0.0001 x 0.99)+(.0001 x 0.95)) = 0.051

Here I did the probablity of favorable over total, but I'm not sure this is correctly done.
 
  • #4
lunds002 said:
(0.0001 x 0.99) / ((0.0001 x 0.99)+(.0001 x 0.95)) = 0.051

Here I did the probablity of favorable over total, but I'm not sure this is correctly done.

Hmmm, I'm a bit skeptical about the (.0001 x 0.95) part. But it could be that I misinterpret the question.

Let's put some notation in. Denote
A=event that the person has the disease
B=event that the test is positive (i.e. says that the person has the disease)

When the question says

the probability that the blood test correctly identifies someone without that disease is 0.95.

It does mean "if the person does not have the disease, then the test indicates that the person does not have the disease", right?

So we have

[tex]P(B^c|A^c)=0.95[/tex]

Now, you applied Bayes' law, that says

[tex]P(A|B)=\frac{P(B|A)P(A)}{P(B|A)P(A)+P(B|A^c)P(A^c)}[/tex]

You claim that the term [itex]P(B|A^c)P(A^c)[/itex] corresponds to (.0001 x 0.95), but this is not correct... Try to calculate the real probabilities. :smile:
 
  • #5
Yes that was the correct interpretation.

Okay, so maybe this makes more sense:

(.0001 x .99) / ((.0001 x .99) + (.95 x .01)) = 0.0103
 
  • #6
Not really correct... :frown:

What is

[tex]P(A^c)~\text{and}~P(B|A^c)[/tex]

and how did you calculate them?
 
  • #7
(.0001 x .99) / ((.0001 x .99) + (.01 x .999)) = 0.009

Okay I don't think this is right either, but I got the (.01 x .999) by taking 1 - P(correctly identifies with disease) to get P(incorrectly identifies with disease)=.01. Then I took 1 - P(has disease) to get P(don't have disease)=.999
 
  • #8
lunds002 said:
(.0001 x .99) / ((.0001 x .99) + (.01 x .999)) = 0.009

Okay I don't think this is right either, but I got the (.01 x .999) by taking 1 - P(correctly identifies with disease) to get P(incorrectly identifies with disease)=.01.

No, but you have the right idea. In fact, you need to do

[tex]P(B|A^c)=1-P(B^c|A^c)[/tex]

Do what you want of course, but I highly suggest using the mathematical notation for things. This will eliminate your chance on mistakes a lot! In fact, I think this is what went wrong here.

Then I took 1 - P(has disease) to get P(don't have disease)=.999

Correct, but it needs to .9999
 
  • #9
Okay I'll give it another shot.

A=event that the person has the disease
B=event that the test is positive (i.e. says that the person has the disease)

so P(A|B) = P(A) x P(B|A)
P(A) x P(B|A) + P(A') x P(B|A')

P(A) = .0001
P(B|A) = .99
P(A') = 1 - P(A) = .9999
P(B|A') = 1 - P(B'|A') = 1 - (.95 x .9999) = .05 <-- not sure here
So then P(A|B) = .0001 x .99 / (.0001 x .99 + .9999 x .05) = 0.00198 This number should be larger, i would think.
 
  • #10
lunds002 said:
Okay I'll give it another shot.

A=event that the person has the disease
B=event that the test is positive (i.e. says that the person has the disease)

so P(A|B) = P(A) x P(B|A)
P(A) x P(B|A) + P(A') x P(B|A')

P(A) = .0001
P(B|A) = .99
P(A') = 1 - P(A) = .9999
P(B|A') = 1 - P(B'|A') = 1 - (.95 x .9999) = .05 <-- not sure here

Why do x.9999? You have P(B'|A')=0.95, so there's no need for multiplying. But
P(B|A')=0.05 is correct, though.

So then P(A|B) = .0001 x .99 / (.0001 x .99 + .9999 x .05) = 0.00198 This number should be larger, i would think.

This is correct. And it is indeed quite surprising that the number is so low! The thing is that the disease is so rare that it is more likely that the test was incorrect than that the person actually has the disease!
 
  • #11
Wait so my answer was correct?
 
  • #13
Great!
Thanks so much for helping me through that, it was a bit of a struggle for me.
 
  • #14
lunds002 said:
Okay I'll give it another shot.

A=event that the person has the disease
B=event that the test is positive (i.e. says that the person has the disease)

so P(A|B) = P(A) x P(B|A)
P(A) x P(B|A) + P(A') x P(B|A')

P(A) = .0001
P(B|A) = .99
P(A') = 1 - P(A) = .9999
P(B|A') = 1 - P(B'|A') = 1 - (.95 x .9999) = .05 <-- not sure here
So then P(A|B) = .0001 x .99 / (.0001 x .99 + .9999 x .05) = 0.00198 This number should be larger, i would think.

Another way to think about it which you may, or may not find more intuitive (some people do, others don't) is: imagine giving the test to a population of, say 1,000,000 people. Of these, there are 0.0001*1000000 = 100 who have the disease, while 1000000-100 = 999900 do not have it. Among the 100 having the disease, 99 will give a positive test result. Among the 999900 not having the disease, 5% of them will test positive, so the number positive will be 0.05*999900 = 49995. Therefore, in the whole population, the number testing positive is Npos = 499995 + 99 = 50094 (so P{test pos} = 50094/1000000 = 0.050094). Given a positive test, the probab. the person actually has the disease is 99/50094 = 1/506 = 0.001976 = P{disease|test pos}.

Of course, the Bayesian formulas give the same result exactly.

RGV
 

Related to How Accurate Is the New Blood Test in Detecting Disease?

What is the difference between statistics and probability?

Statistics is the study of collecting, organizing, analyzing, and interpreting numerical data in order to make informed conclusions about a population. Probability, on the other hand, is the study of the likelihood of an event occurring based on the available information. While both fields involve analyzing data, statistics focuses on actual data while probability focuses on potential outcomes.

How are statistics and probability used in scientific research?

Statistics and probability are essential tools in scientific research as they help researchers make sense of large amounts of data and draw meaningful conclusions. These fields are used to design experiments, analyze and interpret data, and make predictions about future outcomes.

What are some common applications of statistics and probability?

Statistics and probability have a wide range of applications in various fields such as economics, medicine, psychology, engineering, and more. Some common applications include predicting stock market trends, analyzing medical data to determine the effectiveness of a treatment, and using probability to make informed decisions in business.

What is the role of probability in statistics?

Probability plays a crucial role in statistics as it allows researchers to make predictions and draw conclusions based on the available data. By using probability, statisticians can calculate the likelihood of certain outcomes and make informed decisions about the data.

How can someone improve their understanding of statistics and probability?

To improve understanding of statistics and probability, one can practice solving problems and analyzing data sets. It is also helpful to read textbooks and research articles in these fields to gain a deeper understanding of the concepts. Additionally, attending workshops or taking courses can also help improve understanding and application of statistics and probability.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Biology and Medical
3
Replies
100
Views
6K
  • Math POTW for Secondary and High School Students
Replies
1
Views
2K
  • Biology and Medical
Replies
1
Views
991
Replies
3
Views
2K
  • General Math
Replies
1
Views
1K
  • Biology and Medical
Replies
4
Views
4K
  • Biology and Medical
Replies
6
Views
2K
Back
Top