Conditional probability question. Can someone check my work?

In summary, a new diagnostic test has been developed to detect a particular disease. With a known population of 1%, the test has a 95% reliability rate for detecting the disease in diseased individuals and a 90% accuracy rate for reporting a negative result in non-diseased individuals. When a person is chosen at random from the population and tests positive for the disease, the conditional probability of actually having the disease is approximately 0.08755. This means that less than 10% of those who test positive actually have the disease, making it an unreliable test for screening the general population. However, it is a useful tool for confirming the presence of the disease in suspected individuals.
  • #1
wahaj
156
2

Homework Statement


A new diagnostic test is developed in order to detect a particular disease. It is known that 1% of
the population has this disease. The diagnostic test is said to be 95% reliable. In other words, if
a person has this disease, the test will detect it 95% of the time. On the other hand, if a person
does not have the disease, the test will report that the person does not have the disease 90%
of the time.
A person is chosen at random from the population. The diagnostic test indicates that they have
the disease this test is designed to detect. What is the conditional probability that this person, in
fact, has the disease


Homework Equations


P(A|B)=P(A∩B)/P(B).


The Attempt at a Solution


See attached picture.
I am having trouble with conditional probability and I don't have a way of finding out whether the answer I am getting is correct. If I am doing this wrong can someone point out my mistake?
 

Attachments

  • 20140128_121211.jpg
    20140128_121211.jpg
    28.6 KB · Views: 486
Physics news on Phys.org
  • #2
wahaj said:

Homework Statement


A new diagnostic test is developed in order to detect a particular disease. It is known that 1% of
the population has this disease. The diagnostic test is said to be 95% reliable. In other words, if
a person has this disease, the test will detect it 95% of the time. On the other hand, if a person
does not have the disease, the test will report that the person does not have the disease 90%
of the time.
A person is chosen at random from the population. The diagnostic test indicates that they have
the disease this test is designed to detect. What is the conditional probability that this person, in
fact, has the disease


Homework Equations


P(A|B)=P(A∩B)/P(B).


The Attempt at a Solution


See attached picture.
I am having trouble with conditional probability and I don't have a way of finding out whether the answer I am getting is correct. If I am doing this wrong can someone point out my mistake?

Your answer is more than 10 times too large. I will not point out your errors, but will instead suggest an approach you can use if you find the formulas too difficult or confusing to use.

Imagine a population of N = 10,000,000 people. How many people have the disease? How many of the diseased people have a positive test result (that is, the test detects the disease)? How many of the non-diseased people give a positive test result? How many people altogether give a positive test result? Of all these positive-testers, how many actually have the disease? How can you get the required conditional probability from these last two items of data?
 
  • Like
Likes 1 person
  • #3
You may have misunderstood the question. The conditional probability sought (I'm almost certain) is P[has the disease|test positive].
Your diagram is correct. From the diagram, what is P[has the disease & test positive]?
 
  • #4
Is this right?
How many people have the disease?-----10 000 000 * .01 = 100 000
How many of the diseased people have a positive test result?---- 100 000 * .95 = 95 000
How many of the non-diseased people give a positive test result?----- 9 900 000 * .10 = 990 000
How many people altogether give a positive test result?--------- 990 000+100 000 = 1 085 000
how many actually have the disease?------- 95 000/ 1 085 000 = 0.08755
 
  • #5
I'll leave you to do the maths, but here's how I'd look at it:

Only 1% of the population has the disease and the test is "pretty good" at getting a postive result in these cases. So, most of this 1% test positive.

But, 99% of the population do not have the disease and 10% of these will test positive. That's a lot.

Therefore, most of the people who test postive will NOT have the disease.

So: this is not a good test to use on the general population to screen for the disease. But, if you suspect a person has the disease, it's pretty good at confirming it.
 
  • #6
I'm getting an answer of 0.08755 which means that out of all the positive tests less than 10% has the disease. So this seems to sit well with your definition.
 
  • #7
u
wahaj said:
Is this right?
How many people have the disease?-----10 000 000 * .01 = 100 000
How many of the diseased people have a positive test result?---- 100 000 * .95 = 95 000
How many of the non-diseased people give a positive test result?----- 9 900 000 * .10 = 990 000
How many people altogether give a positive test result?--------- 990 000+100 000 = 1 085 000
how many actually have the disease?------- 95 000/ 1 085 000 = 0.08755

Your last line does not calculate what it says. The number who actually have the disease is already given as 100,000, from your first line. If you mean "what proportion of ... actually have the disease" then that is a different matter---and that is what you have computed in your last line. That, of course, is exactly what the words "conditional probability" mean in this case. So, aside from very bad working your result is OK now.

Do you see now how you could have used formulas right from the start, without going through the "population/sub-population" argument?

BTW: It would be better to write the last line using an approximation sign instead of an "=", because it is not true that 95000/1085000 = 0.08755 exactly, but it is true to 4 decimal places; so better to say ≈ 0.08755 instead. (To 20 digits we have ≈ 0.087557603686635944700, which rounds to 0.08756 to 5 decimal places).
 
  • #8
Yeah I got this. Thanks for the help
 

Related to Conditional probability question. Can someone check my work?

1. What is conditional probability?

Conditional probability is a measure of the likelihood of an event occurring given that another event has already occurred. It is denoted as P(A|B) and is read as "the probability of A given B."

2. How do you calculate conditional probability?

Conditional probability can be calculated using the formula P(A|B) = P(A and B) / P(B), where P(A and B) is the probability of both events A and B occurring, and P(B) is the probability of event B occurring.

3. What is the difference between conditional probability and joint probability?

Conditional probability calculates the likelihood of one event occurring given that another event has already occurred, while joint probability calculates the likelihood of both events occurring together. Conditional probability is used to update the probability of an event based on new information, while joint probability is used to calculate the probability of two or more events occurring together.

4. Can you give an example of a conditional probability question?

An example of a conditional probability question is: What is the probability of selecting a red marble from a bag containing 5 red marbles and 10 blue marbles, given that a blue marble has already been selected and not replaced?

5. How do you check your work for a conditional probability question?

To check your work for a conditional probability question, you can use a probability calculator or perform the calculations manually using the formula. It is also helpful to double-check your calculations and make sure all the events are accounted for and the probability values are accurate.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
18
Views
503
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
3K
Back
Top