Sign In
| 9 Theory slides |
| 8 Exercises - Grade E - A |
| Each lesson is meant to take 1-2 classroom sessions |
Here are a few recommended readings before getting started with this lesson.
Spam filters determine whether an email is spam by checking it for some words that appear more frequently in spam emails. The following set of information is known.
free.
free.
Jordan gets an email with the word free
in it.
Recall the formula for the conditional probability.
P(B∣A)=P(A)P(A and B), where P(A)=0
The intuition behind the formula can be visualized by using Venn diagrams. Consider a sample space S and the events A and B such that P(A)=0.
Assuming that event A has occurred, the sample space is reduced to A.
It means that the probability that event B can happen is reduced to the outcomes in the intersection of events A and B, or A∩B.
The possible outcomes are given by P(A) and the favorable outcomes by P(A∩B). Therefore, the conditional probability formula can be obtained using the Probability Formula.
P(B∣A)=P(A)P(A and B)
Dominika and her friends, 10 people in total, want to play basketball. They decide to form two teams randomly. To do so, each draws a card from a stack of 10 cards numbered from 1 to 10.
Since Dominika is on Team Red, the sample space is reduced to the outcomes in A.
There are five odd numbers in the new sample space and only one favorable outcome.
The applet shows the probabilities of two events in a Venn diagram. Calculate the conditional probabilities. If necessary, round the answer to two decimal places.
After reading an article about the famous wreck of the Titanic, Paulina concluded that the rescue procedures favored the wealthier first-class passengers. She then finds some data on the survival of the Titanic passengers.
Survived | Did Not Survive | Total | |
---|---|---|---|
First Class Passengers | 201 | 123 | 324 |
Second Class Passengers | 118 | 166 | 284 |
Third Class Passengers | 181 | 528 | 709 |
Total | 500 | 817 | 1317 |
Use this data to investigate the probabilities of surviving the wreck of the Titanic.
A: Passenger Survived | |
---|---|
B: First Class Passenger | |
C: Second Class Passenger | |
D: Third Class Passenger |
A: Passenger Survived | |
---|---|
B: First Class Passenger | Dependent, P(A∣B)=P(A) |
C: Second Class Passenger | Dependent, P(A∣C)=P(A) |
D: Third Class Passenger | Dependent, P(A∣D)=P(A) |
Fraction | Decimal | |
---|---|---|
P(A) | 1317500 | ≈0.380 |
P(A∣B) | 324201 | ≈0.620 |
P(A∣C) | 284118 | ≈0.415 |
P(A∣D) | 709181 | ≈0.255 |
Therefore, events B, C, and D each have an effect on event A, meaning that A is a dependent event. In simpler terms, a passenger's chance of surviving depended on what class they were traveling in.
A: Passenger Survived | |
---|---|
B: First Class Passenger | Dependent, P(A∣B)=P(A) |
C: Second Class Passenger | Dependent, P(A∣C)=P(A) |
D: Third Class Passenger | Dependent, P(A∣D)=P(A) |
The applet shows the frequency of each event in a table. Calculate the conditional probability asked in the applet. If necessary, round the answer to two decimal places.
Tadeo searches the Internet to check how effective Drug A is compared to Drug B. He finds a research paper about the drugs that gives the following information.
Help Tadeo answer the following questions.
Each of these outcomes will have two further outcomes — recovered R or not recovered NR. Therefore, two more branches will be drawn for each case.
Each branch should have a probability value on it. Notice that these probabilities are conditional probabilities.
P(A)=31, P(R and A)=0.07
Conditional Probability Formula | Substitute | Evaluate | Probability of the Complement | |
---|---|---|---|---|
P(R∣A) | P(A)P(R and A) | 310.07 | 0.21 | 1−0.21=0.79 |
P(R∣B) | P(B)P(R and B) | 310.11 | 0.33 | 1−0.33=0.67 |
P(R∣C) | P(C)P(R and C) | 310.05 | 0.15 | 1−0.15=0.85 |
Finally, the tree diagram can be completed.
Therefore, the conditional probability that a participant did not recover if they received Drug B is 0.67.
Like Venn diagrams and frequency tables, tree diagrams relate the probability of a conditional event to a subset of the event occurring. With this in mind, reconsider the example given at the beginning of the lesson. These three points about spam emails are known.
free.
free.
Jordan gets an email with the word free
in it.
free.
With the events and probabilities determined, a tree diagram can be drawn as shown.
free.The probability that this email is spam needs to be calculated.
free.
Calculate quotient
Round to 2 decimal place(s)
freehas a 0.94 probability that it is a spam email.
To find the total number of polygons in the sample space, we should have a look at each of the given conditional probabilities. Let's start with the first one.
We are given that P(A|B)=0.5. We can write this as the following equation. P(A|B)=P(A and B)/P(B) [0.5em] ⇓ [0.5em] 0.5=P(A and B)/P(B) When we know that a selected polygon is a quadrilateral, the probability of the quadrilateral also being a regular polygon is 0.5, or 50 %. We can visualize this as below.
Notice that we have three quadrilaterals that are not regular. If 50 % of all the quadrilaterals are regular, we know that we must also have 3 of these. Let's add this to the diagram.
Now we can turn to the second conditional probability.
We are also given that P(B|A)=0.25. We can write this as the following formula. P(B|A)=P(A and B)/P(A) [0.5em] ⇓ [0.5em] 0.25=P(A and B)/P(A) When we know that a selected polygon is a regular polygon, the probability of the regular polygon also being a quadrilateral is 0.25, or 25 %. We can visualize this as below.
If 3 of the regular polygons are quadrilaterals and this makes up 25 % of all regular polygons, we can determine the total number of regular polygons by dividing 3 by 0.25. 3/0.25=12 We have a total of 12 regular polygons, which means 12-3=9 regular polygons are not quadrilaterals.
The sum of the numbers in the diagram is the total number of polygons in the sample space. 9+3+3 = 15 The space contains a total of 15 polygons.