What is the Conditional Probability for Identifying a Good Item?

In summary: P(G|CD) = P(G|CD) + P(D|CD)P(G|CD) = P(G|CD) + P(D|CD) + 0.5*P(C|D) = P(G|CD) + 0.5*P(D|CD) + 0.5*P(C|D) = 1.2
  • #1
STEMucator
Homework Helper
2,076
140

Homework Statement



The problem statement is given below:

Screen Shot 2016-01-20 at 1.25.09 PM.png


Homework Equations

The Attempt at a Solution



Here is my attempt so far:

Screen Shot 2016-01-20 at 1.37.19 PM.png


I'm sure questions 1 - 4 have been answered. Question 5 is what concerns me.

I need to find ##P(C' | D')##, which is the probability a good item is identified, given a good item is chosen.

The probability a good item is chosen is ##P(D') = 0.991##.

Now I need the probability the good item chosen is identified as a good item. From question 4), the chance a good item is identified is ##P(C') = 0.9861##.

Would that mean of the ##99.1##% of good items, ##98.61##% of them will be identified as good items? So we would get:

$$P(C' | D') = 0.991 * 0.9861 = 0.977$$

I am not confident about this. Any help would be appreciated.

Thank you.
 
Physics news on Phys.org
  • #2
To be honest, I would do a problem like this using a probability tree. I didn't check your answers to 1-4, but that answer to 5 is not right.

The answer should be very close to 100%.
 
  • Like
Likes STEMucator
  • #3
Your answers to 1-4 are correct. Except you missed a digit on 3. The answers to 2 + 3 must equal 1.
 
  • #4
PeroK said:
Your answers to 1-4 are correct. Except you missed a digit on 3. The answers to 2 + 3 must equal 1.

Yes there was precision error when using my calculator. 0.36 + 0.64 = 1 if we round everything nicely.

PeroK said:
To be honest, I would do a problem like this using a probability tree. I didn't check your answers to 1-4, but that answer to 5 is not right.

The answer should be very close to 100%.

Following the logic in my first post, ##P(D' | C') = \frac{P(D' \cap C')}{P(C')} = \frac{P(C' | D') P(D')}{P(C')} = \frac{0.977 * 0.991}{0.9861} ≈ 1## barring some precision error.

EDIT: After some thought, I think this is the answer.
 
  • #5
Zondrina said:
Following the logic in my first post, ##P(D' | C') = \frac{P(D' \cap C')}{P(C')} = \frac{P(C' | D') P(D')}{P(C')} = \frac{0.977 * 0.991}{0.9861} ≈ 1## barring some precision error.

I'm not sure what you've calculated there. The answer should be:

##GG/(GG +DG)##

Where GG is probability that a good item is classified as good and DG is the probability that a defective item is classified as good.

Together they represent the restricted sample space of items classified as good.

I just read this off a probability tree. It's a much neater technique and less prone to error.
 
  • #6
Here's how I did it. Apologies for the format.

D (0.009) - DD (0.009)(0.99)
------------- DG (0.009)(0.01)

G (0.991) - GD (0.991)(0.005)
------------- GG (0.991)(0.995)

So, for example, for question 1. You simply add the first and third lines. Those are the two cases where an item is classified as defective.

You can just read off the answer to almost any question just from that simple tree.
 
  • #7
PS the tree extends to more complicated scenarios. Suppose you had two examiners who have different probabilities of getting things wrong and perhaps one does 60% of the items and the other 40%.

The tree would have more branches on it, but it would still be fundamentally simple.

I wouldn't like to do a problem like that by your method!
 
  • #8
I agree with the probability tree method, which will yield the same result. The method I used in post #4 based on post #1 was my intuition (it gives the same result as the tree).

I think from now on I'll start using probability trees more often though because I see how things can get very complicated from your comment in post #7.
 
  • #9
Zondrina said:

Homework Statement



The problem statement is given below:

View attachment 94567

Homework Equations

The Attempt at a Solution



Here is my attempt so far:

View attachment 94570

I'm sure questions 1 - 4 have been answered. Question 5 is what concerns me.

I need to find ##P(C' | D')##, which is the probability a good item is identified, given a good item is chosen.

The probability a good item is chosen is ##P(D') = 0.991##.

Now I need the probability the good item chosen is identified as a good item. From question 4), the chance a good item is identified is ##P(C') = 0.9861##.

Would that mean of the ##99.1##% of good items, ##98.61##% of them will be identified as good items? So we would get:

$$P(C' | D') = 0.991 * 0.9861 = 0.977$$

I am not confident about this. Any help would be appreciated.

Thank you.

I usually find it much easier to solve such problems by using a more informative and more "immediate" notation, such as G = part is good, CG = classified as good, D = part is defective, CD = classified as defective. So, you are given P(D) = 0.9% = 0.009, P(CD|D) = 99% = 0.99 and P(CD|G) = 0.5% = 0.005.
You want (1) P(CD), (2) P(G|CD), (3) P(D|CD), (4) P(CG) and (5) P(G|CG).

Aside from being a bit hard to follow (just because of notation) your formulas seem OK. However, some of your numerical answers are a bit off, due to premature roundoff:
(2) should be 0.35737 ≈ 0.357 (not your 0.356), (3) should be 0.64263 ≈ 0.643 (not your 0.641). I recommend you either do exact rational arithmetic and round off at the end, or keep a few more significant figures during the computations themselves, and again, again round off at the end.
 
  • #10
Sorry, electronics practices have made me lazy.

Here is the solution with the precision taken into account:

Screen Shot 2016-01-20 at 8.12.27 PM.png


I'll refrain from rounding off too early.
 
  • #11
Here's how I would do that problem: Imagine 1,000,000 items. "The company has evidence that its line produces 0.9% of defective items." So 0.009(1000000)= 9000 defective items and 1000000- 9000= 991000 good items. "An inspector working for a manufacturing company has a 99% chance of correctly identifying defective items and a 0.5 % chance of incorrectly classifying a good item as defective." So he will identify 0.99(9000)= 8910 of the defective items as defective and will incorrectly identify 9000- 8910= 90 defective items as good. He will incorrectly identity .005(991000)= 4955 good items as defective and will identify 991000- 4955= 986045 good items as good.

Use those numbers to answer the questions. For example, number 3: If an item is classified as defective, what is the probability that it is indeed defective?" There are a total of 8910+ 4955= 13865 items classified as defective of which 8910 are defective. The probability is 8910/13865.
 

Related to What is the Conditional Probability for Identifying a Good Item?

1. What is conditional probability?

Conditional probability is the likelihood of an event occurring given that another event has already occurred. It is calculated by dividing the probability of the two events occurring together by the probability of the first event occurring.

2. How is conditional probability different from regular probability?

Regular probability measures the likelihood of an event occurring without any other conditions or factors, while conditional probability takes into account a specific condition or event that has already occurred.

3. What is the formula for calculating conditional probability?

The formula for conditional probability is P(A|B) = P(A and B) / P(B), where P(A|B) represents the probability of event A occurring given that event B has occurred.

4. Can conditional probability be applied to real-life situations?

Yes, conditional probability is commonly used in real-life situations such as weather forecasting, medical diagnosis, and financial risk analysis. It helps to make more accurate predictions by considering the influence of certain conditions or events.

5. How can I use conditional probability in my research or experiments?

To use conditional probability in research or experiments, you need to identify the relevant conditions or events that may affect the outcome of your study. You can then calculate the conditional probability to determine the likelihood of certain results occurring based on those conditions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
2
Views
977
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
Replies
4
Views
963
  • Calculus and Beyond Homework Help
Replies
6
Views
4K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top