Conditional Probability Explained
Conditional Probability
- Conditional probability deals with the probability of an event B occurring, given that another event A has already occurred.
- Notation: P(B∣A), which reads as "the probability of B given A". The vertical bar means "given that" or "knowing that" A has already happened.
Understanding Conditional Probability
- If A has already happened, then event A becomes the new sample space.
- The probability of B given A is the ratio of the intersection of A and B to the probability of A.
- Formula: P(B∣A)=P(A)P(A and B)
- Where:
- P(B∣A) is the conditional probability of B given A.
- P(A and B) is the probability of both A and B occurring.
- P(A) is the probability of A occurring.
Example: Job Applicants
- Consider a company with job applicants who either have experience or don't, and either have a degree or don't.
- Four categories of applicants:
- Has a degree and experience.
- Has a degree but no experience.
- Has experience but no degree.
- Has neither experience nor a degree.
Numerical Example
- Let's assume the following:
- 20 people have a degree and experience.
- 10 people have a degree but no experience.
- 15 people have experience but no degree.
- 30 people have neither experience nor a degree.
Totals
- Total with degrees: 20+10=30
- Total without degrees: 15+30=45
- Total with experience: 20+15=35
- Total with no experience: 10+30=40
- Grand total: 30+45=75 or 35+40=75
Conditional Probability Calculation
- Problem: What is the probability that someone has a degree given that they have experience?
- Notation: P(Degree∣Experience)
- Using the formula: P(Degree∣Experience)=P(Experience)P(Degree and Experience)
Calculation Steps
- Find P(Degree and Experience): 20 out of 75, or 7520.
- Find P(Experience): 35 out of 75, or 7535.
- Calculate the conditional probability: 75357520.
- Simplify: 7520÷7535=7520×3575=3520.
- Reduce the fraction: 3520=74.
Result
- The probability that a person has a degree given that they have experience is 74.
Key Takeaway
- When A has already happened, A becomes the new total sample space (denominator). The conditional probability is the ratio of the intersection of A and B to the probability of A.