Module 7 Probability
Module 7 Probability
Module 7: Probability
7.02 Probability
Introduction to Probability
What is Probability?
Slide 1
Slide 2
If you are hosting a barbecue in the summer, you might check ahead to see the probability it will rain on the
Wednesday you have planned your party.
Slide 3
Slide 4
Because they are about uncertain future events, probabilities are different from another common type of information
about the future. If we say to a friend "I'll meet you for lunch tomorrow" and then fail to show up, there is a problem.
We have done something wrong or something bad has happened to us. The information we gave our friend was
supposed to be a certainty.
Slide 5
Slide 6
More specifically, a probability, such as 90 % , tells us that when weather conditions are the same as they are on
Wednesday,
9 times out of
10 it will rain. If the conditions were exactly reproduced 100 times, about 90 of those times, it would rain and about 10
of those times it would not rain.
Probability is a subjective area that often times requires judgement. In most all cases the extremes (impossible, certain) hold
true. However in other cases, what one person might say is "unlikely," another person may find is "as unlikely as it is likely."
Therefore, it is important to be mindful that while there is a measure of objectivity to many situations where probability is
concerned, there are other situations where the likelihood of an outcome is often defined in the eye of the beholder.
Career Connections
Probability
Since many important decisions have to be made in the absence of knowledge about the future, probability is a crucial
business tool. Decisions about staffing, capital purchases, and inventory levels (to name just three key components of a
company) need to be made before the company knows exactly what demand there will be for its goods or services. Probability
puts hard numbers in front of managers enabling them to make better decisions.
Suppose someone in management in your company has years of experience. Couldn't he just
estimate these probabilities in his head? Yes, but using probability allows him to handle additional complexity. There is also a
set of probabilities for how many employees will retire within the next six months and how many will leave the company.
Feeding these numbers into an algorithm will yield a set of different scenarios that give a more complete picture of whether
staffing is likely to fall short or exceed what the company needs.
Probability percentages range strictly from 0 % to 100 % . It makes no sense mathematically to say there is110 % chance that X
will occur—although people often say such things to emphasize their point. Therefore the decimal form of percentages range
from 0 to 1 (remember that to obtain the decimal form of a percentage, you divide by100). A 0 probability means the event will
definitely not occur, while 1 probability means the event will definitely occur. As the decimal values get closer to1, the
probability of the event occurring increases. An event with a probability of 0. 35 (35 % ) is unlikely; an event with a probability of
0. 65 (65 % ) is likely; and an event with a probability of0. 9 (90 % ) is very likely.
Many probabilities are calculated by creating a fraction (as we will learn on the next page). Therefore to calculate and express
probabilities, you will need to be comfortable with percentages, decimals, and fractions and know how to convert among them.
For a review of this topic, please see page 2.14.
Before we go on, it is important to understand the mathematical language and notation around probability
Expressing Probability
Probability, like other topics in math, brings with it a specialized vocabulary. First, read the quick example before the formal
definitions are given:
Two friends bet on a roll of a die. If an even number,2, 4, or 6, appears, Jayne wins, while if an odd number,1, 3, or 5,
appears, Stan wins. The chance of either person winning is 50 % . Mathematicians and statisticians would call the roll of the
die an "experiment." Each possible number that the die can land on is known as an "outcome." The possible outcomes of
this experiment are rolling a 1, 2, 3, 4, 5, or 6. An "event" is one or more outcomes of an experiment. The die landing on an
even number is an event, as is the die landing on an odd number. If all of the outcomes are equally likely, a statistician
would call the die (or the experiment) "fair."
An experiment is the procedure, or situation, for which the probability is being calculated. So the roll of a die can be an
experiment, a coin flip can be an experiment, or even the weather on a particular Wednesday. The possibilities of what can
occur during an experiment—the results of the experiment—are called outcomes. When rolling a die,1, 2, 3, 4, 5, and 6 are
the possible outcomes. An event is comprised of one or more outcomes. The die landing on an even number is an event.
The die landing on 1 is also an event. The probability of an event is represented byP(E)
which means probability (P
) of a certain event (E
) occurring. If R =
Rain and the weatherman says there is a 40
percent chance of rain, then P(R) = 0. 40
. (Notice that the probability is written in its decimal form). An experiment is fair if each outcome is equally likely.
Career Connections
Machine Learning
Have you ever heard of "machine learning?" Machine learning is when computers learn or respond to situations differently
based on previous data. If you've ever played with the popular app "Akinator," you've played with a program/app that is a great
Facebook and Google also use machine learning to target specific ads to you; they basically offer
you ads that you are most likely to be interested in. Again, all of this works by looking at an
individual user and figuring out what that particular user is most likely to respond to, to be
interested in (in terms of an ad), or even in predicting the next word in a text message. None of
these key technology features would be possible without probabilities.
7.03 Sets
Sets
Throughout this course, we've been working with datasets. We've also seen sets as they relate to basic numeracy (the set of
integers, the set of prime numbers, etc.). Formally, a set is simply a collection of unique elements.
For example, a set of tree species is: oak, juniper, elm, maple.
Notation
As a reminder, sets are often listed between brackets, with commas separating each element in the set:
{
oak, juniper, elm, maple}
We often represent sets with a symbol or a letter, much like variables. For example, we can label a set asA:
By representing this set with a letter, we can more easily refer to this set. Rather than listing all of the elements every time the
set is referenced, we can simply say, "A
has six elements" or "every number in A
is an integer."
Subsets
In math and statistics, we often work with multiple sets at once. These sets can relate to one another. One such relation is
known as a subset.
Set A
is a subset of set B
, if every element in A
is contained within B
.
For example:
A = {1, 2, 3}
B = {1, 2, 3, 4, 5}
A
is a subset of B
, because every element in setA
is contained within set B
.
An empty set is a set that has no elements. There is nothing in the set; therefore, it is empty. This may seem odd, or even like
it isn't a set at all, but an empty set is, in fact, a set.
For example, let's say you wanted to list the days of the week that do not end in a y. There are none! Therefore, this is the
empty set. In set notation, the empty set is written as a pair of brackets with nothing between them:
{}
Union
The union of two sets is a collection of all of the elements listed in the sets.
For example:
C = {2, 4, 6}
D = {1, 3, 5}
The union of C
and D
is {1, 2, 3, 4, 5, 6}
, as those are all of the elements that appear in the sets.
Intersection
The intersection of two sets is a collection of the elements listed in both of the sets.
For example:
F = { - 2, - 1, 0, 1, 2}
The intersection of E
and F
is {0}
, as 0
is the only element that appears in both sets.
An intuitive mathematical formula gives us a number that measures probability. If we are betting that a flipped coin will land on
heads, we know there are two possibilities, heads and tails, and we win with only one of those possibilities (heads showing). It
seems reasonable that the probability we will win this bet is 50 %
1
or 2
if expressed as a fraction.
Theoretical probability is calculated as the number of ways one particular event can occur in a random experiment, divided by
the total number of possible outcomes:
If Bob likes the suits equally—that is, each morning he chooses one randomly—what is the probability he will choose to wear
blue?
Example
In a marketing study, there are four different experimental groups categorized as Group A, Group B, Group C, and Group D. If
a participant is equally likely to be assigned to any group, what is the probability he or she is assigned to Group D?
There are a total of 4
groups.
( )
Number of Group D 1
P assigned to Group D = Total number of groups = 4
To calculate theoretical probability, each outcome must be equally likely. The problem is that often in real life, outcomes are
not equally likely.
The classic example of a situation where theoretical probability does not provide much insight is when calculating the
probability that a sports team will win a certain game. Theoretical probability would have to assume that each team is equally
likely to win. But we know that in real life, often one team is far more likely to win than the other. We want a way to incorporate
what we know about the teams to get a better sense of their chances.
In this case, mathematicians turn to empirical probability to estimate the probability of an event. Empirical probability gathers
data by performing multiple experiments, or trials, and recording the results each time. For example, to have a better idea of
the probability that a team will win a particular game, we naturally examine what other games it has won and against which
teams. Empirical probability provides an estimate of the theoretical probability of an event from the relative frequency, i.e how
often the event occurs in the series of trials (or experiments) relative to the number of trials.
Accurately measuring relative frequency depends on having random experiments. Random experiments are trials in which the
outcome is not known ahead of time and the result does not depend on the results of other trials. For example, you can flip a
coin ten times, and each will be a random experiment. You do not know ahead of time whether you will get heads or tails.
Getting heads or tails on one flip does not help you predict the result of the next flip.
Note that relative frequency only gives an estimate of the probability of an event occurring. As any sports fan knows,
even if the same team (same players, same coach, etc.) played in the exact same league (same players, same
coaches, same weather, etc.), their results two seasons in a row are unlikely to be the same. That is, for any two sets
of experiments, the results vary each time.
We can discover the relationship between the theoretical and empirical probabilities by running experiments for which
the theoretical probability is accurate, such as flipping a coin. The probability that someone will flip a "heads" in a coin
toss is the number of desired outcomes (1
, the head side) divided by the total number of possibilities (2
1
, heads or tails). 2
is 0. 5
or 50 %
Insert "10
" into the "number of tosses" box. Click "Toss 'em" to run the experiment. To get the relative frequency, click "Ratio"
on the side of the box to see the number of heads as a fraction.
3. What was the relative frequency of heads for 1000 coin tosses?
The law of large numbers states that as the number of trials increases, the relative frequency of an event will
converge on the theoretical probability. Simply put, the more times you flip a coin, the closer the relative frequency of
heads will be to 50 %
.
Notice a couple of things about the trials above. First, each of the results, except the first, had a relative frequency
less than the expected 0. 5
, but that is just random. Other trials would result in relative frequencies greater than the expected value. Second,
although the difference between the relative frequencies and the expected value generally decreased, it did not do so
uniformly. Again, each trial is random and the results cannot be guaranteed. Nevertheless it is true that as the number
of flips gets larger, the relative frequency will get closer to 0. 5
.
Finding the sample space for flipping a coin or rolling a die is very straightforward, but some probability questions have more
complicated sample spaces. There are a couple of techniques for determining sample space and sample size.
One very straightforward way to determine a sample space is to write out all the options in a list. The downside of this
method is it can be difficult to determine if you have missed an outcome. To show the method, suppose someone who
is planning to have two children wants to know the probability of having one boy and one girl. To calculate the
probability, you first must determine the sample space of possible outcomes. This is a relatively easy sample space to
find.
You can see from the table above that the sample size is4
and there are two ways to have a boy and a girl. The probability of having 1
boy and 1
girl when having 2
2 1
children is 4 = 2
.
When making a list, be sure to create as much of a pattern as you can to ensure you have exhausted all possibilities.
For example, you might organize the list above by starting with the maximum number of boys you can get.
Now, let us try a more complicated example. Try to list all the possible ways to have three children in the box below.
Make each item in the list its own line.
Without a lot of organization and concentration, it is easy to miss one outcome in the sample space. Other methods for
discovering a sample space are more reliable.
A Tree
A tree is a way of writing a list that expands horizontally rather than vertically. It ensures that you do not miss an
outcome. To create a tree to help you determine the sample space, start by writing the first set of options. Attach the
next set of options to each item in the first set.
Once you have all the outcomes in the sample space listed, you read across the tree from left to right to get one
unique outcome. The first "row" of this tree is boy-boy-boy, stretching upward and to the right. The second row is boy-
boy-girl. You can also easily count the number of unique outcomes. Since each branch represents a unique outcome
in the sample space, you count the last items.
Because the tree is systematic, you can be sure not to have missed an outcome.
A Table
The tree approach to finding the sample space also has limitations. It can become difficult to squeeze in every option if
there are more than two. For more than two options, it is best to use a table.
For a table, label the top and sides with the different options. Fill the cells in with the combination of options. The
following is an example of a table illustrating the outcomes of a rolling two six sided die.
It is important to remember that the probabilities of all the outcomes in the sample space always sum to
1. That is, there is a 100
percent chance of one of the outcomes in the sample space happening, since the sample space, by definition, contains all
possible outcomes.
Tree Exercise 1
Tree Exercise 2
In the previous example of having three children, we should assume that having a boy is as likely as having a girl (though in
practice having a boy is slightly more likely). Using our basic rule of probability, we find the likelihood by calculating the number
of ways for the desired event to occur divided by the number of total outcomes. We can use the tree to calculate different
probabilities. For the following probabilities, we are assuming a family has or is planning to have exactly three
children.
There are 2
ways to have children of the same gender: 3
boys or 3
girls
Calculating probabilities in which each outcome is equally likely can have limited uses in business or IT. Many more important
probabilities are calculated when the outcomes are not equally likely. We will learn how to do this later in the module.
Exercises
1. What is the probability of a family that has two girls with a boy in between?
2. What is the probability that a family has at least two children of the same gender?
3. What is the probability that a family has exactly one boy?
4. What is the probability that a family does not have two children of the same gender in a row?
The following tree graph will be used for Questions 5
through 7
.
TechTown is analyzing the purchasing behavior of their customers in order to gain insight as to how they can better manage
their inventory. In order to calculate the quantity of each product they should have on hand, we first need to calculate the
probability of a customer purchasing of product. As TechTown's purchasing manager, you have been tasked with calculating
the probabilities. Assume the probability of each outcome is equally likely. Use the / sign to indicate division. Always
reduce fractions to lowest terms
Number 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
Heads
,H ,H ,H ,H ,H ,H ,H ,H ,H ,H
1 2 3 4 5 6 7 8 9 10
Tails
,T ,T ,T ,T ,T ,T ,T ,T ,T ,T
8. What is the probability of an even number and tails?
9. What is the probability of a number greater than or equal to8
?
10. What is the probability of getting heads?
Consider a man named Bob who has five suits and three pairs of shoes. He has one black suit, one brown suit, and three blue
suits. He has two pairs of black shoes and one pair of brown shoes. We can put the two categories of clothes together. The
table below lays out all the different possibilities of shoes and suits.
Let A
=
Bob wears a black suit. Let B
=
Bob wears black shoes. We can now use this table to define some important categories in probability.
Universe
In our example of Bob's shoes and suits, the universe would be Bob's outfits, the ensemble of suits and shoes. These
outfits would not include shirts, ties, or socks! Every cell in the table would be included in the universe.
"Not"
The word "not" before a category is everything outside that category but within the universe.
Bob's Outfits
black shoes 1 black shoes 2 brown shoes
black suit, black shoes black suit, black shoes
black suit black suit, brown shoes
1 2
brown suit, brown suit,
brown brown suit, brown
black shoes black shoes
suit shoes
1 2
blue suit blue suit
blue suit
blue suit 1, 1,
1,
1 black shoes black shoes
brown shoes
1 2
blue suit blue suit
blue suit
blue suit 2, 2,
2,
2 black shoes black shoes
brown shoes
1 2
blue suit blue suit
blue suit
blue suit 3, 3,
3,
3 black shoes black shoes
brown shoes
1 2
Bob's Outfits
black shoes black shoes brown
1 2 shoes
black suit, black suit, black suit,
black suit
black shoes 1 black shoes 2 brown shoes
brown brown suit, brown suit, brown suit,
suit black shoes 1 black shoes 2 brown shoes
blue suit 1 blue suit 1 blue suit
blue suit 1 , , 1,
black shoes 1 black shoes 2 brown shoes
A and B signals the set of elements where both A and B are true. It is called the intersection of A and B.
For Bob's outfits, A and B would be the situations in which Bob is wearing both a black suit and black shoes. A and B
is represented below with orange cells.
Bob's Outfits
black shoes black shoes brown
1 2 shoes
black suit, black suit,
black suit,
black suit black shoes black shoes
brown shoes
1 2
brown brown suit, brown suit, brown suit,
suit black shoes 1 black shoes 2 brown shoes
blue suit 1 blue suit 1 blue suit 1
blue suit 1 , , ,
black shoes 1 black shoes 2 brown shoes
blue suit 2 blue suit 2 blue suit 2
blue suit 2 , , ,
black shoes 1 black shoes 2 brown shoes
blue suit 3 blue suit 3 blue suit 3
blue suit 3 , , ,
black shoes 1 black shoes 2 brown shoes
A
or B
(union)
A
or B
is the category which includes all the outcomes in A
, all the outcomes in B
and all the outcomes in their intersection. It is called the union of A
or B
.
Bob's Outfits
black shoes black shoes brown
1 2 shoes
black suit, black suit,
black suit,
black suit black shoes black shoes
brown shoes
1 2
brown suit, brown suit,
brown brown suit,
black shoes black shoes
suit brown shoes
1 2
blue suit blue suit
blue suit 1
1, 1,
blue suit 1 ,
black shoes black shoes
brown shoes
1 2
blue suit blue suit
blue suit 2
2, 2,
blue suit 2 ,
black shoes black shoes
brown shoes
1 2
blue suit blue suit
blue suit 3
3, 3,
blue suit 3 ,
black shoes black shoes
brown shoes
1 2
Venn Diagrams
Now let us consider the same categories using a more real-world example and a different visual aid: the Venn diagram that
defines different categories spatially.
For example, in the real world, we might ask what is the probability that a factory worker suffers a work-related injury in the
past year? This question combines being a factory worker—a machinist, a textile worker, a structural iron and steel worker, or a
mechanic (among many others)—and being a person who has suffered a work-related injury—a mailman slipping as he
delivers mail, an assembler suffering repetitive stress injury, a construction worker falling from scaffolding (and many other
injuries).
The Venn diagram can help convey the different categories. It shows a visual representation of all the possible results. The
area labeled A
represents A
occurring—such as someone being a factory worker in the past year—while the area labeled B
represents B
happening—such being a person who suffered from a workplace injury in the past year. The darker area represents both
A and
B occurring, that is the set of all factory workers who suffered work-related injuries last year.
Universe
The universe is the entire category being considered. It is not a given, but defined, just as the categoriesA
and B
are defined.
"Not"
In our real-world example, we are considering only factory workers who suffered workplace related injuries. We are
excluding factory workers who did not have any injuries and librarians who did. A
and B
includes fewer elements than either A
or B
alone. A
and B
is called the intersection of the two categories. It is represented in pale purple below.
"A
or B
" is what in English we would normally define as "A
and B
," that is everything that is in A
and everything that is in B
. You can remember the probability meaning of "or," the union, by realizing that the "or" means an outcome is in the
category as long as it is in either A
or B
. The key words for this category are "or" and "either." A
or B
is called the union of A
and B
. The total orange area indicates the union.
Sum of Probabilities
Remember that the probabilities of each individual outcome in the sample space sum to 1. For example, suppose the
experiment is "being born on a day of the week." The sample space would be Monday, Tuesday, Wednesday, Thursday,
1
Friday, Saturday, and Sunday. The probability of being born on each of those days is 7
. Since there are 7
days, the sum of all the probabilities is
1 1 1 1 1 1 1
7 + 7 + 7 + 7 + 7 + 7 +7
7
= 7
=1
1
Similarly, if the experiment is flipping a coin, the events are "heads" or "tails." The probability of flipping a heads is2
1
. The probability of flipping a tails is 2
1 1
2 +2 =
2
2 =
Complements
The opposite of an event happening (i.e. the event not happening) is called the complement of the event. The sum of the
probability of an event and the probability of its complement is always equal to 1
. For example, the complement of flipping heads is flipping tails. As we showed above the sum of flipping heads and flipping
tails is 1
.
Complementary events are those that do not have any common outcomes, and the union is the whole
universe. One outcome is the event itself, and the other outcome is the event not happening. For example, flipping a
coin and it landing on either heads or tails — those are the only two possible outcomes, so the two events are
complementary.
If there are outcomes in the universe that are not in either event, then the two events are not complementary.
For example, picking either a large shirt or a medium shirt are not complementary events. There are shirts in many
sizes! You could pick a large, medium, small, extra large, etc. So picking a large shirt or a medium shirt are not
The events must be properly defined in order to have complementary events. For example, "rolling a die and
getting an even number" would not be a complete instance of complementary events (as this is only one event).
However, "rolling a die and getting an even number" and "rolling the die and getting an odd number" are
complementary events; the events are clearly defined.
The total number of days in the week is 7 The total number of days in the week is 7
() ()
5 2
P A = 7 P B = 7
5 2
7 +7 =1
Notice from the example above that since the sum of the probability of an event and its complement is1
, the probability of 1
minus the probability of that event is the probability of the complement.
Example
Returning to Bob's suits:
If Bob likes the suits equally, what is the probability he will choose to wear blue?
(
(3 blue suits ) 3
P Bob wearing a blue suit)= (5 suits total) = 5
( )
2
P Bob not wearing a blue suit = 5
The fact that the probabilities of an event and its complement sum to 1 is not just interesting; it can be useful with some real-
world problems. In some cases it may be difficult to calculate the probability of an event, but easier to calculate the probability
of its complement. In these cases 1 - P(complement)
might provide an easy calculation to a difficult problem.
One example of how the complement rule can be helpful is studying problems with the phrase "at least one." For example,
remember our previous example of the family planning to have three children? There were eight possible outcomes in terms of
gender. What is the probability that the family will have "at least one" girl? The complement of "at least one X
" is "no X
." The complement of having "at least one" girl is having "no girls." It turns out that calculating the probability of having "no
girls" is very easy: it's the same as the probability of having three boys.
() ( ) ( ) ( )
1 8 1 7
1 - P A = P not A 1 - P having no girls = P having at least one girl 1 - 8 = 8 - 8 = 8
7
The probability that a family has at least one girl is 8
.
If two events cannot both occur at the same time, they are called disjoint. This concept applies to any number of multiple
events. For example, a coin cannot be both "heads" and "tails" at the same time. The three statements below are disjoint:
A population and a sample can be disjoint as well, but they shouldn't be. For example, suppose you are studying the
The following Venn diagram shows how disjoint events differ from other events: there is no intersection, no common elements
between the two. For example, there is no intersection among "people born in January" and "people born in March."
It is relatively easy to calculate the probability of two or more disjoint events. If there is no overlap, there is no
possibility of belonging to both sets. The probability that someone is born in both March and January, for example, is
0
.
What is the probability that someone is born in January or March, for example? The sample set of "month of birth" is
comprised of the 12
months of the year.
Slide 1
Drawing from the example of three children, suppose you want to calculate the probability of having a boy-
girl-boy (which we'll call event A
) or having a girl-boy-girl (event B
).
Slide 2
These events are clearly disjoint. There is no way to do both. To calculate the probability of one or the other,
you use the addition rule.
Note that events can be disjoint without being complementary. An example of events that are both disjoint and complementary
are "flipping heads" and "flipping tails." Together these events constitute the universe of possible events, so they are
complementary. You also cannot have them at the same time, which means they're disjoint. But the events "being born on a
Wednesday" and "being born on a Friday" are disjoint without being complementary. There are other possibilities so even if
you are not born on a Wednesday, that does not necessarily mean you are born on a Friday.
When understanding an event, some phrases can be challenging to interpret until you get used to them. For example, when
the Height of Buildings Act was originally passed in 1899, it limited the heights of any type of building in Washington, D.C. to
no higher than 110
feet. For any given building, a height of 110
feet was the limit. One category for measurement, therefore, might be anything "above 110
feet," as those heights are not permitted. A commercial building with a height of 109
feet would not fall into the category of "above 110
feet," while a commercial building that's 111
feet tall would. So the event "being a commercial building that's only 109
feet tall" and "being in violation of the Height of Buildings Act of 1899 (that is having a height above 110
feet) are disjoint.
Similarly, a category might have a range of values or require one of a set of conditions. In all these cases, pay attention to
whether the value you are considering belongs to the category or is disjoint.
Disjoint Probability
Notice that when asking about disjoint events, we naturally employ the word "or." Questions that ask about the probability of
one or more disjoint events, always use an "or" and can be calculated using the formula:
Exercises
Using the addition rule above, calculate the probabilities of the following disjoint events. (Assume all the events in the sample
space are equally likely.) Enter the result as a fraction. Use the / sign to indicate division. Always reduce fractions to lowest
Is there a way to determine the probability of a complex series of options, such as the having-three-children situation
discussed on the earlier page, without taking the time to draw out a tree or make up a table? The answer is yes, but before you
learn the process, you need to know another definition.
Independent events are those that are not affected by other trials or events. For example, if you were to flip a coin once, that
first result (either heads or tails) would not have any impact when the coin is flipped a second time — the first event gives no
indication of what could result from the second event. A more real-world example is two people who don't know each other
having heart attacks. If someone has a heart attack, that has no effect on the probability the second person will have a heart
attack.
When considering whether two events are independent or dependent, think of one event in isolation, then think of that event
again in relation to the second. Let's do this with two randomly selected people and the likelihood that they will graduate from
college. First, consider the first person in isolation. According to the most recent U.S. Census data, 68 %
of the population graduates from college. Now, suppose the second person also graduates from college, does this change the
probability for the first? No! Since the second person has no effect on the first, these events are independent.
The events we have discussed in this module have been largely independent. Here is a quick example of two events that are
not independent.
If you pick a dark chocolate on your first pick, there will be fewer dark
chocolates the next time you pick, lowering the probability you get a
dark one on the second draw. On the other hand, if you pick a white
chocolate on your first pick, there will be fewer white chocolates the
next time you pick, lowering the probability you will get a white on the
second draw.
Disjoint events are dependent. For example, if you know someone is born on a Wednesday, you also know that he or she
1
cannot be born on a Friday. If you know someone is not born on a Wednesday, there is a greater possibility, 6
1
rather than 7
, that he or she is born on a Friday. Because the occurrence of one affects the probability of the other, these events are
dependent.
You may have noticed a pattern when we were constructing the tree for having three children. For each new option we
had to add an additional set to each of the previous options. This, in essence, is multiplication. At each point in the
tree the probability of one particular outcome, say "having a boy," is equal to 1
divided by the total number of possibilities, 2
. As the number of options increase, the new probability is captured by multiplying the previous probability by the
probability of the new independent event in the sequence. This is the multiplication rule for independent events.
Example 2
Suppose there are two different kinds of protection gloves, A and B used by assembly line workers. A costs less but
has a defective rate of 4. 2 %
. The more expensive brand, B, costs more, but has a defective rate of1. 7 %
. If 3 %
of the actions performed by the assembly line workers involve potentially hazardous materials, what is the percentage
chance of exposure for each brand of glove?
Remember to convert probabilities to decimals before multiplying and remember to count the total number of places
after the decimal point to obtain the correct answer.
You can convert both decimal probabilities back to percentages if you feel more comfortable interpreting data in that
form. Brand A has a 0. 00126
probability of exposing an assembly line worker to a hazardous material, which is 0. 126 %
. Brand B has a 0. 00051
probability of exposing an assembly line worker to a hazardous material, which is 0. 051 %
.
The probability of either of the two events occurring is given by a general formula. Consider again the union of two
events, A or B.
The red line around the space of A, B and their intersection indicates the space of events characterized by "or."
A co-worker jokes that Bob always wears black. Referring again to the table, the probability of Bob wearing a black
suit OR a black shoes is
11
15 . There are 11 cells that have either a black suit or black shoes (or both) and
11
15 cells total. 15
is the probability of either event happening, including the situation in which both events happen.
Bob's Outfits
black shoes black shoes brown
1 2 shoes
black suit, black suit,
black suit,
black suit black shoes black shoes
brown shoes
1 2
brown brown suit, brown suit, brown suit,
suit black shoes black shoes brown shoes
1 2
blue suit 1 blue suit 1
blue suit 1
, ,
blue suit 1 ,
black shoes black shoes
brown shoes
1 2
blue suit 2 blue suit 2
blue suit 2
, ,
blue suit 2 ,
black shoes black shoes
brown shoes
1 2
blue suit 3 blue suit 3
blue suit 3
, ,
blue suit 3 ,
black shoes black shoes
brown shoes
1 2
( ) ( ) ( )
1 2 1 2 3 10 13
P Bob wears a black suit = 5 P Bob wears black shoes = 3 P Bob wears a black suit or black shoes = 5 + 3 = 15 + 15 = 15
Where did we go wrong? We counted the probability of wearing both a black suit and black shoes twice. You can see
that in the table above two cells have two orange terms.
By subtracting the intersection, P(Bob wears a black suit and Bob wears black shoes)
, we avoid counting that area twice in the sum ofP(Bob wears a black suit)
and P(Bob wears black shoes)
. So the formula is to add P(Bob wears a black suit)
and P(Bob wears black shoes)
, and then subtract P(Bob wears a black suit and black shoes)
.
Another way to understand it is to look at the Venn diagram above. To find the probability of both circles, you add the
"area" of each circle, but then, notice you've counted the area of the intersection twice (once for the blue circle and
once for the yellow circle), so it will need to be subtracted to compensate. For disjoint events, there is no area of
intersection, so no need to subtract it.
The formula above is the formula for events that are not disjoint. Remember that for events that are disjoint, the
general rule simplifies to P(A or B) = P(A) + P(B)
since there is no area of intersection.
Worked Problems
Answer in
Question Formula
%
P(A or B) = P(A) + P(B) - P(A and B)
If the probability of a sunny day is 0. 7 Since "calendar date being an odd number" and 85 %
and the probability of the date on the calendar "being a sunny day" are independent events, chance of it being sunny
being an odd number is 0. 5 P(A and B) = 0. 7 × 0. 5 = 0. 35 or being an odd
, what is the probability of the calendar date being . numbered day on the
odd or it being a sunny day? calendar.
Calendar date being an odd number or being a
sunny day = 0. 7 + 0. 5 - 0. 35 = 0. 85
In a certain game, you roll a fair, six-sided die These are disjoint events.
33 %
Copyright © 2019 MindEdge Inc. All rights reserved. Duplication prohibited.
In a certain game, you roll a fair, six-sided die These are disjoint events.
once. You win if you roll a 3 33 %
chance of winning
( )
or a 4 1 1
. What is the probability of winning this game? P A or B = 6 + 6
There are 2
numbers less than 3
, so the probability of event A
2
is 6
1
or 3
.
In another game, you win if you roll a number less There are 3
than 3 67 %
()
1
or if you roll an even number. What is your numbers that are even, so P B = 2 chance of winning
probability of winning this game?
.
( )
1
AND even, so P A and B = 6
()
days (on average). What is the probability that he 2
works from home and it is sunny outside? P B = 5 = 0. 40
P(A and B) = 0. 60 × 0. 40 = 0. 24
()
3
out of every 5 P A = 5 = 0. 60 76 %
days from home. In the area where he lives, it is
of the time, Ricky works
sunny outside 2
from home or it is sunny
out of every 5
()
2
outside.
days (on average). What is the probability that he P B = 5 = 0. 40
works from home or it is sunny outside?
0. 60 + 0. 40– 0. 24 = 0. 76
Career Connections
Frequency Tables
A frequency table is a way to organize raw data so it can be easily analyzed. Numbers of people
(or objects) fall into different categories, allowing you to compare the effect of the categories.
Managers may use frequency tables when evaluating processes. For example, suppose you are
running a manufacturing line, and you want to discover the most accurate method of quality
control. You might set up a test run with visual controls (looking at the object for defects), manual
controls (examining the object for defects), and automated controls (a machine measures the
object for defects). You then measure the number of defects that were detected and the number that were undetected by
each of the control processes. You can then analyze your numerical results.
The advantage of a frequency table is you have the raw data in front of you in a form that is easily understood. You can also
add data. Suppose you wonder if a combination of automated and visual controls might catch more defects. You can add
another row to the frequency table to analyze this new process.
A frequency table (two-way table) is a table consisting of frequency counts of two categorical variables. One variable is called
the row variable, and the other variable is called the column variable. These tables are very helpful when it comes to
analyzing data.
In the examples below, the entries in the table are the counts of cases in the sample with certain results for each of the two
variables. In the following two-way table, the two categorical variables are Section (the row variable) and Student's Status (the
column variable).
Student Status:
Passed Failed
Section Section A 375 25
Section B 550 50
Table Construction
In two-way tables, the cells represent the number of objects (usually people) who fall into the two categories signaled by the
cell's row and column. To read a table, match each cell with its row and column. So in the table above, there were 375
people who are in Section A and passed. In the next cell in the same row, there were 25
people who are in Section A and who failed.
An important aspect of two-way tables is that each person can fall into only one cell. In the example above, someone cannot
be in both Section A and Section B. Obviously, someone cannot both pass and fail. To find the total number of people involved
in the study, you can add up the numbers in each cell. You will not double count anyone, because everyone appears only once
in the tally.
There are many ways to analyze the data in a two-way table. To assist in the analysis, we should add a row and a column to
record the totals for each:
Student Status:
Passed Failed Total
With the totals we can calculate a number of interesting results that will help us get a better handle on the situation.
Section B?
Section B: Section B ÷ 550
Total number of students who passed 59. 46 %
Section B = 925
Remember the definition of independent events, that the occurrence of one does not affect the probability of another? In
practice many times researchers use the relative frequency of events to determine their independence. A researcher might
wonder if gender affects the probability of receiving a speeding ticket. They use study results to determine independence. If
men and women receive a speeding ticket equally frequently, we would determine that gender is independent of receiving a
speeding ticket.
Consider the following table showing tea consumption and whether an employee was laid off at a major corporation, during a
period of lay-offs. We might use the table to ask if tea consumption and being laid off are linked or independent.
Status:
Not Laid Off Laid Off Total
Tea Consumption None or 1 514 285 799
Cup per Day
2 129 72 201
or More Cups per Day
Totals 643 357 1000
How can we use the table to determine whether drinking tea and being laid off are dependent or independent events? If
drinking tea and being laid off are independent events, the occurrence of one will not affect the probability of the other.
Dependent Events
Just as events can occur independently, there are also those whose occurrence can affect the probability of one another. If
there is one winning ticket in a bowl and 49 losing tickets, each time someone chooses (and then discards) a losing ticket,
there are fewer losing tickets. Therefore, the probability of picking the winning ticket increases slightly with each losing ticket
picked out of the bowl. Events in which the probability changes depending on other events are categorized as dependent
events. Conditional probability is used to calculate these kinds of events. Conditional probability is the probability of an event
occurring (such as picking the winning ticket), given that another event has already occurred (such as someone else having
already picked one of the losing tickets).
Opening an attachment to an email from an unknown sender and getting a computer virus
Conditional Probability
Conditional probabilities represent a prevalent category of probabilities. From card games to medical conditions, people want
to know how one event or condition affects the probability of another event or condition. There is a special notation to indicate
conditional probability, the probability that a second event B
will occur, given the occurrence of event A
. We write P(B | A)
, which means "the probability of event B
P(B | A)
is read "The probability of
B, given
A". For example, if B
is "a person is a CEO" and A
is "that person is an MBA," P(B | A)
is the probability of "a person is a CEO" given "that person is an MBA." B
is the event we are interested in; A
is the event that might affect it.
P(B | A)
indicates conditional probability. If A
and B
are independent events, P(B | A) = P(B)
.
The |
between B
and A
is a vertical bar indicating a conditional probability. It is a symbol not a division sign.
Example
A cookie jar has four sugar cookies and six chocolate chip cookies. With conditional probability, we're looking to find the
probability of choosing certain cookies in different circumstances.
4
What is the probability that a sugar cookie is chosen first? There's 10
2
or 5
chance a sugar cookie is chosen first, but what is then the probability
of choosing another sugar cookie?
There is one less sugar cookie in a jar that now has only9
3
cookies. Picking a second sugar cookie has a probability of 9
1
or 3
. Since it is affected by the event before, the probability of picking
another sugar cookie is smaller. The probability of this event is
dependent on the event prior. The probability of picking a sugar
1
cookie on the second draw, given you have already picked a sugar cookie on the first draw is 3
.
If the first cookie chosen is chocolate chip, the cookie jar would then have all four sugar cookies remaining, among the nine
cookies left in the jar. Therefore, probability of choosing a sugar cookie on the second draw, given you have already picked a
4
chocolate cookie is 9
.
Notice how the numbers change and will continue to change as the events occur — because the circumstances are changing
and the events are dependent upon one another, the probabilities also change.
Example 2
Suppose there are two convenient parking spaces at a company building and the remaining eight are far from the door. There
are two elderly employees at the company and eight middle-aged employees. The arrival time of employees in the morning is
random.
Career Connections
Here's something important to teachers: It is known that certain circumstances affect student
learning. For example, if about 85 %
of a class can master a certain concept in one day, you might expect that students with a learning
disability have a lower chance of learning the same skill in one day. This is an example of
conditional probability. Said another way, a probability can vary depending on conditions or
circumstances.
How can this help you in the classroom, though? First, it gives you a way to quantify some of things that classroom experience
teaches you (such as that, in general, students with learning disabilities need more time for concepts). Does that mean you'll
be figuring out these probabilities in your classroom, though? Probably not. But, thinking of learning in this way can give you a
different angle to improve learning for all your students in all kinds of different circumstances.
It can also help you think of educational research from other perspectives, thus helping you think critically about applying
educational research findings to your classroom. Sometimes it's not about how we use a statistical concept directly;
sometimes it's more about how the concept helps us see the world differently.
Interactive Drag and Drop Game: Are the Two Events Dependent or Independent?
P B A = P(A)
Let us illustrate this rule by using a very simple example. Imagine you are flipping a coin twice. LetA =
"getting a head on the first flip" and let B =
"getting two heads." Let us look at a number of categories related to probability:
2. P(A)
is 2
possibilities out of 4
1
or 2
3. P(B)
is 1
possibility out of 4
1
or 4
4. A
and B
, the intersection, is the set of elements that belong to both categories, which is just the element HH. So the
( )
1
P A and B = 4
(|)
1
5. If you have already flipped a head, you have two possibilities for the second flip, heads and tails.P B A = 2
So substituting the probabilities above into our general conditional probability formula
(|)
P(A and B)
P B A = P(A)
gives
1
4
1
1
2 = 2
This very useful formula generally cannot be verified by writing out the entire sample space. Instead, we often use it
with probabilities that we are given.
Example
A small business is trying to learn more about their customers. Suppose8. 6 %
of their customers are homeowners who heard of the business from a TV advertisement. 18 %
of all their customers are homeowners. What is the probability that a home-owning customer heard of the business
from a TV advertisement?
Let A =
a home-owning customer; Let B =
hearing of the business from a TV advertisement
( ) () (|) ( )
0 . 086
Interpretation: close to 50 %
The conditional probability rule gives us the formula we can reformulate to calculate the probability that both events
occur.
Remember that
(|)
P(A and B)
P B A = P(A)
Returning to our earlier example of the cookies, remember that the cookie jar has4
sugar cookies and 6
chocolate chip cookies.
Let A =
"choosing a sugar cookie first." Let B =
()
4
"choosing a second sugar cookie." P A = 10
2
or 5
(|)
3
. Remember that once you've chosen a sugar cookie, there is one fewer and one fewer of all the cookies.P B A = 9
1
or 3
.
Therefore:
( )
2 1 2
P A and B = 5 × 3 = 15
2
The probability of choosing two sugar cookies from the bowl is 15
.
Example
Veryfake University is examining their enrollment practices. Of accepted students with a
3.0
or higher High School GPA, 26 %
end up enrolling. Of enrolled students, 68 %
of accepted students graduate in four years. What is a student's probability of having a 3.0
or higher High School GPA and graduating in four years?
Let A =
being an accepted student with a 3.0
P(A) = 26 %
P(B | A) = 68 %
Example
In Fictionaltown, the chances of a home being flooded in any given year are1
in 88
. The probability of having one's home flooded if it already had a flood last year is7 %
. Given these statistics, what is the probability that a random home was flooded both last year and this
year?
Let A =
being flooded last year
Let B =
having a flood for the second year in a row, this year
() (|)
1
P A = 88 = 0. 01136P B A = 7 %
There is a 0. 08 %
chance that a random home was flooded both last year and this year.
Earlier we learned how to calculate the probability of the union of disjoint events:
We also learned a "General Addition Rule" for independent events. The rule for dependent events is the same, and is
reproduced here:
P(A or B) =
P(A) + P(B) - P(A and B)
Let us return to our simple example to see how the general addition rule works for dependent events as well. Recall
that we are flipping a coin twice and A =
"getting a head on the first flip" and B =
"getting two heads."
( )
1
flip: HH and HT. Therefore P A or B = 2
( ) () () ( )( )
1 1 1 1
P A or B = P A + P B - P A and B P A or B = 2 + 4 - 4 = 2
Example
Of accepted students with a 3.0
or higher High School GPA, 26 %
end up enrolling. Of enrolled students, 17. 68 %
had a 3.0
or higher High School GPA and graduate in four years. Of all Veryfake students, 25 %
graduate in four years. What is the probability, among Veryfake U students, of having a
3.0
or higher High School GPA or graduating in four years?
Let A =
having a 3.0
or higher High School GPA
Let B =
graduating in four years
There is a 33. 32 %
chance, among Veryfake U students, of having a 3.0
or higher High School GPA or graduating in four years.
We have seen some examples of how to use the formulas above. Here is a process to use to solve conditional probability
problems:
To find probabilities:
1. Create events A
and B
based on the givens of the problem
2. Establish what kind of probability you will be finding, such as P(A and B)
or P(A | B)
, depending on what the problem is asking
3. If necessary, determine if A
and B
are dependent or independent events
Exercises
Calculate the probability of each conditional event. Enter the result as a fraction. Use the / sign to indicate division. Always
reduce fractions to lowest terms.
1. If there are 6
red shirts and 7
green shirts, what is the probability that a red shirt is chosen and then another red shirt? These shirts are chosen without
replacement.
2. In the above situation, what is the probability that a red shirt is chosen and then a green shirt? These shirts are chosen
without replacement.
3. Again using the same clothing, what is the probability that a green shirt is chosen first and then a red shirt? These shirts
are chosen without replacement.
4. Using the same clothing, what is the probability a green shirt, and then another green shirt is chosen? These shirts are
chosen without replacement.
Use the information below to answer questions 5 - 7:
In 2016
approximately 41 %
of the population contributed to an employee-sponsored 401(k). Approximately 79 %
of the population works for an employer that sponsors a 401(k) plan. You are asked to find out the probability of someone
contributing to an employee-sponsored 401(k), given that he or she works for an employer that sponsors a 401(k) plan.
a. A =
being offered a 401(k) through work; B =
contributing to 401(k) through work
b. A =
contributing to 401(k) through work; B =
being offered a 401(k) through work
c. A =
the probability of being offered a 401(k) through work; B =
the probability of contributing to 401(k) through work
d. A =
the probability of contributing to 401(k) through work; B =
the probability of being offered a 401(k) through work
(|)
P(A and B)
d. P B A = P(A)
10. It has been found that 81% of new cars sold in Notrealwood have a backup camera and59. 3 %
of cars sold have a 360-degree surround-view camera system. 52 %
of cars sold in Notrealwood have both. What is the probability that a car sold has had either a backup camera or a 360-
degree surround-view camera system? (Enter your answer as a percentage without the percentage sign.)
Thus far we have been told (or inferred) whether two events are independent. Now we will look at the probabilities of events to
determine whether they are independent or not.
Determining Independence
2. P(A | B) = P(A)
3. P(B | A) = P(B)
Please note, if any of these conditions holds, the events are independent
These conditions should make sense. The definition of independent events is that the occurrence of one does not affect the
probability of the other. So for formula 2 above [P(A | B) = P(A)]
, we are saying that it does not matter ifB
has occurred or not; A
still has the same chance of happening either way. Similarly, in formula 3 above, [P(B | A) = P(B)]
, we are saying that the probability ofB
does not change even if A
Let us use a variation on our simple example to go through these equalities. LetA =
"flipping a head on the first flip," let B =
"flipping a head on the second flip." Unlike our earlier example, where B =
"flipping two heads," this B
is independent of A
. What you flip on the first coin toss has no effect on the outcome of the second coin toss. Using thisA
and B
, let us consider the equalities:
The intersection of A
and B
is the toss HH. That is one toss out of four possible, so the
( )
1
P A and B = 4
( )
1
P A "tossing a heads on the first flip" = 2
( )
1
P A "tossing a heads on the second flip" = 2
() ()
1 1 1
P A ·P B = 2 · 2 = 4
Therefore:
P(A | B) = P(A)
(|)
1
P A B = 2
()
1
P A = 2
()
1
: HT and HH. There are four total outcomes. ThereforeP A = 2
P(A | B) = P(A)
P(B | A) = P(B)
(|)
1
P B A = 2
()
1
P B = 2
P(B | A) = P(B)
(|)
1
P B A = 2
(| )
1
P B not A = 2
P(not A)
has two possible outcomes, TH and TT. Of those two outcomes, only one satisfies event B
1
occurring, TH. Therefore the probability is 2
a green boat
a blue boat
a pink sparkly fairy doll
a blue sparkly fairy doll
a yellow toy telephone
a blue whale plush animal
a blue light-up star
a pink light-up star
P(A | B) = 0
B
is given, so Ari has gotten a boat. The boats don't come in pink, so the probability that Ari gets a pink item is 0
.
()
1
P A = 4
There are 2
pink items and 8
items total.
( )
1
P A and B = 8
There is one item that is both blue and a boat. The intersection of "getting a blue item" and "getting a boat" is the blue
boat.
()
1
P A = 2
There are 4
blue items and 8
items total.
()
1
P B = 4
There are 2
boats and 8
items altogether.
() ()
1 1 1
P A ·P B = 2 × 4 = 8
Therefore
P(A and B) = P(A) · P(B) and the events are independent
(|)
1
P B A = 2
Leni has gotten a pink item, now what is the probability of getting a fairy doll? There are 2
pink items and one is a fairy doll, so the probability is 0. 5
that she will get a fairy doll, given that she has gotten a pink item.
(| )
1
P B not A = 6
Therefore,
P(B | not A) ≠ P(B | A) and the events
A and
B are not independent
We can now use two-way tables to examine important kinds of probability. For example, a potential home buyer might wonder
about the historical probability of a home gaining value in their area. Or a woman in her 30
s who is considering delaying having children might wonder what the probability if she can have two healthy children once she
is above 40
years old. Many important probabilities change according to other conditions.
Neighborhood:
Bleakburn Skystead Garmsby Totals
Home Value Status Increased Value 808 127 29 964
No Increase in Value 2 25 9 36
Totals 810 152 38 1000
To find probabilities:
1. Create events A
and B
based on the givens of the problem
2. Establish what kind of probability you will be finding, such as P(A and B)
or P(A | B)
depending on what the problem is asking
3. If necessary, determine if A
and B
are dependent or independent events
4. Write out the appropriate formula
5. Determine the probabilities needed for the formula (or take them from the givens of the problem)
6. Calculate the probability
Step 1: Let A =
"being in Bleakburn"; Let B =
"not increasing in value"
(|)
P(A and B)
Step 3:P B A = P(A)
Step 4: Fill in the probabilities you know. To do this you must calculateP(A)
and P(A and B)
() ( )
810 2
P A = 1000 P A and B = 1000
P(B | A) =
2 810
1000 1000
÷
If you keep the probabilities as fractions you can cancel the numerator and denominator after converting the division
to a multiplication problem:
2 1000
1000 × 810
In the future, use the easier method of using the totals for event A as the denominator of your probability fraction.
Find the homes of those in Skystead that did not increase in value: 25
Divide the number of homes that did not increase in value by the total number of homes in Skystead:
25
152 = 16. 45 %
Extrapolating from the table above, if a property is in Garmsby, what is the probability that it did not increase in
value over the last 10 years?
Solution
Find the homes of those in Garmsby that did not increase in value: 9
Divide the number of homes that did not increase in value by the total number of homes in Garmsby:
9
38 = 23. 68 %
Remember that earlier we built tree diagrams to help sort out the sample space of an event. For example, we used a tree
structure to determine the eight ways of having three children.
Probability trees are similar in structure, but they record information along the stems of the tree as well as at the nodes.
Consider the following situation:
Suppose at a work function, the boss is handing out donuts. You're brave enough to ask for another one after waiting10
minutes, but you're not brave enough to tell your boss that your favorite flavor is strawberry. (Also, no one else is eating
donuts.) If there are five delectable strawberry frosted donuts and three chocolate frosted donuts, what is the probability that
you get two strawberry ones?
Slide 1
Slide 2
Slide 3
Slide 4
Draw in the next set of options and write in the probabilities above the lines.
Slide 5
You can use the tree you have built to calculate conditional probabilities. To do this, calculate the probabilities for each branch
of the tree and then multiply the sequence of events you're interested in finding the probability for.
For example, what is the probability that your boss gives you a strawberry donut followed by a second strawberry donut? To do
this problem, multiply along the branch of the tree that involves selecting two strawberry donuts.
5 4 20 5
8 × 7 = 56 = 14 , or about
35. 7 % .
Why does this work? Recall the formula P(A and B) = P(A) × P(B | A)
. To find the probability of one branch of the tree you are solving forP(A and B)
—in this case strawberry and strawberry. The first branch gives you P(A)
(getting an initial strawberry donut) and the second gives you P(B | A)
(getting a second strawberry donut, given you already have one). In a probability tree, the formula can be extended
P(C | A and B)
etc. for each further branch.
You can use the same tree to calculate a different probability. What is the probability that your boss gives you a chocolate
donut followed by a strawberry donut?
3 5 15
8 × 7 = 56
or about 28. 8 %
.
Note that the probabilities of each line of the probability tree sum to1
. This is because the probability tree includes all possible scenarios, meaning that the sum of all the possibilities must add up
to 100 %
(or 1
) since all possibilities are accounted for.
The fact that if you multiply across each branch and then add up the resulting products, you get1
is called the law of total probability. Even though the probabilities of individual sequences of events are not the same—some
are far more likely than others—the tree gives the complete set of probabilities for any sequence of events and therefore the
sum of the branches is 1
.
Example
A financial advisor is examining the performance of his clients' holdings to better inform his decisions. Given the following
probabilities, construct a probability tree to help determine certain probabilities:
60 %
of investments are in stocks.
40 %
of investments are in bonds.
72. 5 %
of stocks saw an annual gain.
15. 4 %
of bonds saw an annual loss.
1.) What is the probability that an investment is a stock that had an annual gain?
2.) What is the probability that an investment is a bond that had an annual gain?
3.) What is the probability that an investment is a stock that had an annual loss?
4.) What is the probability that an investment is a bond that had an annual loss?
Let A =
being a stock
Let B =
having an annual gain
P(being a stock that had an annual gain) = P(being a stock) × P(having an annual gain given being a stock investment)
Interpretation:
43 - 44 investments out of
100 are stocks that have an annual gain.
2.) What is the probability that an investment is a bond that sees an annual gain?
Let A =
being a bond.
Let B =
having an annual gain.
P(being a bond that had an annual gain) = P(being a bond) × P(having an annual gain given being a bond investment)
Interpretation:
33 - 34 investments out of
100 are bonds that have an annual gain.
3.) What is the probability that an investment is a stock that had an annual loss?
Let B =
having an annual loss
P(being a stock that had an annual loss) = P(being a stock) × P(having an annual loss given being a stock investment)
Interpretation:
16 - 17 investments out of
100 are stocks that have an annual loss.
4.) What is the probability that an investment is a bond that had an annual loss?
Let A =
being a bond
Let B =
having an annual loss
P(being a bond that had an annual loss) = P(being a bond) × P(having an annual loss given being a bond investment)
Interpretation: Around
6 investments out of
100 are bonds that have an annual loss.
Why are there more stocks with an annual gain than bonds with an annual gain? Because more investments
are in stocks, the prevalence of stocks with gains will be higher than bonds with gains, even though bonds
are more likely to have an annual gain.
Let us use the probability tree above to verify the law of total probability.
7.14 Flashcards
Module 7 Flashcards
Term Definition