Probability - using Bayes Theorem

Click For Summary
SUMMARY

This discussion focuses on applying Bayes' Theorem to calculate the probability of an actual defect occurring when a defect is detected. The key variables identified are P(AD) = 1/100 for the probability of an item being defective, P(DD|AD) = 0.97 for the probability of detecting a defect when it exists, and P(DD|AN) = 0.005 for the probability of detecting a defect when it does not exist. The goal is to find P(AD|DD), which represents the probability that an item is actually defective given that a defect has been detected.

PREREQUISITES
  • Understanding of Bayes' Theorem
  • Familiarity with conditional probability
  • Basic knowledge of probability notation and terminology
  • Ability to manipulate probability equations
NEXT STEPS
  • Study the derivation and applications of Bayes' Theorem in real-world scenarios
  • Learn about conditional probability and its significance in statistical analysis
  • Explore examples of probability problems involving false positives and false negatives
  • Practice calculating probabilities using Bayes' Theorem with different datasets
USEFUL FOR

Students studying statistics, data scientists, and professionals involved in quality control or defect detection processes.

tapciv
Messages
5
Reaction score
0

Homework Statement


Question breaks down to this.

defect occurs 1/100 items.

.97 (97%) of the time when an item has a defect it is detected.
.005 of the time, an item is detected to have a defect when it actually does not have one.

What is the probability that an Actual defect occurs when one is detected?


Homework Equations


I can use Bayes theorem, once I know the variables but this is where I am having trouble with this question.

Determining what A1, A2 are?
B = A defect being found (I believe)
P(B|A1)= ?
P(B|A2)=?

The Attempt at a Solution



I believe I want to find P(A1|B) which will be the probability that a detection is actually a defect when found.

I know P(B|A1), P(B|A2) must = 1 which is where I can not seem to figure out in this case.

I think A1 = Defect being found correctly = .97
and
A2 = Defect being found incorrectly = ? (.005 but is that it? or how is this calculated given this is 99/100 times .005 are found incorrectly?).

Any help would be awesome!

Thanks
 
Physics news on Phys.org
I find it most helpful in such problems to use a suggestive notation, such as:
AD = actually defective, AN = actually non-defective,
DD = detected as defective and DN = detected as non-defective.
You are given P{AD} = 1/100, so you can get P{AN} (how?). You are also given
P{DD|AD} = 0.97, so you can get P{DN|AD} (how?). Finally, you are given P{DD|AN} = 0.005, so you can get P{DN|AN} (how?).

Now you want to compute P{AD|DD}. You can use the standard formulas to get this, but I won't spoil your fun by showing you how.

RGV
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K