How to calculate conditional probability
Tutor 5 (41 Reviews)
Statistics Tutor
Still stuck with a Statistics question
Ask this expertAnswer
What is conditional probability?
Conditional probability is the probability of an event B occurring given the knowledge that an event A has already occurred. This probability is written as P(A|B), indicating the probability of event A when event B has already occurred.
The conditional probability formula
To calculate conditional probability, use the following formula:
Where:
- P(A|B) is the probability of event A occurring given that event B has occurred
- P(A ∩ B) is the probability of both events A and B occurring simultaneously
- P(B) is the probability of event B occurring
This formula is only valid when P(B) is greater than 0.
Step-by-step calculation process
To calculate conditional probability, follow these steps:
- Identify event A (the event whose probability you want to find)
- Identify event B (the condition or given event)
- Calculate P(B), the probability of the given event
- Calculate P(A ∩ B), the probability that both events occur together
- Divide P(A ∩ B) by P(B) to get P(A|B)
Worked example
In a group of 100 sports car buyers, 40 bought alarm systems, 30 purchased bucket seats, and 20 purchased an alarm system and bucket seats. If a car buyer chosen at random bought an alarm system, what is the probability they also bought bucket seats?
Step 1: Identify the events.
- Event A: Buyer purchased bucket seats
- Event B: Buyer purchased an alarm system
Step 2: Calculate P(B).
Step 3: Calculate P(A ∩ B).
Step 4: Apply the conditional probability formula.
The probability that a buyer purchased bucket seats, given that they bought an alarm system, is 0.5 or 50%.
Alternative calculation using counts
When working with equally likely outcomes, conditional probability can be calculated directly using counts:
Where n(A ∩ B) is the number of outcomes in both A and B, and n(B) is the total number of outcomes in B.
Using the same example:
This produces the same result of 50%.
. Was this Helpful?Related Questions
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
What is a probability sample
Answers · 1
What is a probability mass function
Answers · 1
How to calculate implied probability from odds
Answers · 1
What is a discrete probability distribution
Answers · 1