Conditional Probability Formula (Table of Contents)
What is the Conditional Probability Formula?
The term “Conditional Probability” refers to the probability of occurrence of one (second ) event, which is dependent on the occurrence of one (first) or more other events.
The formula for conditional probability such that the probability of occurrence of (second) event A given that (first) event B has already occurred can be expressed by dividing the joint probability of events A and B by the probability of occurrence of event B. The joint probability of events A and B means the probability of both the events happening together at the same time. Mathematically, conditional probability is represented as,
Formula
Where,
P(A ∩ B): Joint probability of events A and B
P(B): Probability of event B
Example of Conditional Probability Formula (With Excel Template)
Let’s take an example to understand the calculation in a better manner.
Example #1
Let us take the example of a group of 100 retail buyers, out of which 50 purchased brown bread, 40 purchased peanut butter. However, there are 30 buyers who purchased both brown bread and peanut butter. If a retail buyer selected at random purchased brown bread, what is the probability that he also purchased peanut butter? Also, determine the probability that a randomly chosen buyer has purchased brown bread, given that he also purchased peanut butter.
Solution:
Conditional Probability is calculated using the formula given below
P(A | B) = P(A ∩ B) / P(B)
- Conditional Probability = 0.30 / 0.50
- Conditional Probability = 0.60
Conditional Probability is calculated using the formula given below
P(B | A) = P(A ∩ B) / P(A)
- Conditional Probability = 0.30 / 0.40
- Conditional Probability = 0.75
Therefore, if a buyer chosen at random is found to have purchased brown bread, then there is a 60% chance that he has also purchased peanut butter. On the other hand, if a buyer chosen at random has purchased peanut butter, then there is a 75% chance that he has also purchased brown bread.
Example #2
Let us now take the example of a contingency table to illustrate the concept of conditional probability. The contingency table is pertaining to the probability of boys and girls owning an iPhone. Calculate the following conditional probability:
- The randomly chosen person in boys that they own an iPhone.
- The randomly chosen person in girls that they own an iPhone.
- The randomly chosen person doesn’t own an iPhone, that in boys.
- The randomly chosen person doesn’t own an iPhone, that in girls.
Solution:
Conditional Probability that boys having an iPhone is calculated using the formula given below
P(A | C) = P(A ∩ C) / P(C)
- Conditional Probability = 0.37 / 0.71
- Conditional Probability = 0.52
The randomly chosen person in boys, that they own an iPhone = 0.52
Conditional Probability that girls having an iPhone is calculated using the formula given below
P(B | C) = P(B ∩ C) / P(C)
- Conditional Probability = 0.34 / 0.71
- Conditional Probability = 0.48
The randomly chosen person in girls, that they own an iPhone = 0.48
Conditional Probability that boys don’t own an iPhone is calculated using the formula given below
P(D | A) = P(A ∩ D) / P(A)
- Conditional Probability = 0.12 / 0.49
- Conditional Probability = 0.24
The randomly chosen person doesn’t own an iPhone, that in boys = 0.24
Conditional Probability that girls don’t own an iPhone is calculated using the formula given below
P(D | B) = P(B ∩ D) / P(B)
- Conditional Probability = 0.17 / 0.51
- Conditional Probability = 0.33
The randomly chosen person doesn’t own an iPhone, that in girls = 0.33
Explanation
The Conditional Probability Formula can be computed by using the following steps:
Step 1: Firstly, determine the probability of occurrence of the first event B.
Step 2: Next, determine the probability of both events A and B happening together simultaneously. This is the joint probability of events A and B.
Step 3: Finally, the formula for the conditional probability of event A given that event B has already occurred can be derived by dividing the joint probability of events A and B (step 2) by the probability of event B (step 1), as shown below.
P(A | B) = P(A ∩ B) / P(B)
Relevance and Use of Conditional Probability Formula
The concept of conditional probability is very important as it has extensive application in many areas, including finance, insurance, and politics. It basically states the chances of one event only when the other necessary events have already happened. However, please note that it doesn’t indicate that there is any causal relationship between the first and second events.
Recommended Articles
This is a guide to the Conditional Probability Formula. Here we discuss how to calculate the Conditional Probability Formula along with practical examples. We also provide a downloadable excel template. You may also look at the following articles to learn more –
- What is a Standard Cost?
- How to Calculate Marginal Product?
- Calculator of Return on Sales Formula
- Calculation of Gross Income
123 Online Courses | 25 Hands-on Projects | 600+ Hours | Verifiable Certificate of Completion
4.9
View Course
Related Courses