| | {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| | {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| | {{ 'ml-lesson-time-estimation' | message }} |
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.
The intuition behind the formula can be visualized by using Venn diagrams. Consider a sample space and the events and such that
Assuming that event has occurred, the sample space is reduced to
It means that the probability that event can happen is reduced to the outcomes in the intersection of events and or
The possible outcomes are given by and the favorable outcomes by Therefore, the conditional probability formula can be obtained using the Probability Formula.
Dominika and her friends, 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 cards numbered from to
Since Dominika is on Team Red, the sample space is reduced to the outcomes in
There are odd numbers in the new sample space and only 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 | |||
| Second Class Passengers | |||
| Third Class Passengers | |||
| Total |
Use this data to investigate the probabilities of surviving the wreck of the Titanic.
| $\bm{A:}$ Passenger Survived | |
|---|---|
| $\bm{B:}$ First Class Passenger | |
| $\bm{C:}$ Second Class Passenger | |
| $ \bm{D:}$ Third Class Passenger |
| $\bm{A:}$ Passenger Survived | |
|---|---|
| $\bm{B:}$ First Class Passenger | Dependent, |
| $\bm{C:}$ Second Class Passenger | Dependent, |
| $ \bm{D:}$ Third Class Passenger | Dependent, |
| Fraction | Decimal | |
|---|---|---|
Therefore, events and each have an effect on event meaning that is a dependent event. In simpler terms, a passenger's chance of surviving depended on what class they were traveling in.
| $\bm{A:}$ Passenger Survived | |
|---|---|
| $\bm{B:}$ First Class Passenger | Dependent, |
| $\bm{C:}$ Second Class Passenger | Dependent, |
| $ \bm{D:}$ Third Class Passenger | Dependent, |
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 or not recovered 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.
| Conditional Probability Formula | Substitute | Evaluate | Probability of the Complement | |
|---|---|---|---|---|
Finally, the tree diagram can be completed.
Therefore, the conditional probability that a participant did not recover if they received Drug B is
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.
freehas a probability that it is a spam email.