Fundamental Concepts of Probability
Fundamental Concepts of Probability
Recently, you learned that probability uses math to quantify uncertainty, or to describe the
likelihood of something happening. For example, there might be an 80% chance of rain
tomorrow, or a 20% chance that a certain candidate wins an election.
In this reading, you’ll learn more about fundamental concepts of probability. We’ll discuss
the concept of a random experiment, how to represent and calculate the probability of an
event, and basic probability notation.
Probability fundamentals
Foundational concepts: Random experiment, outcome, event
Random experiment
Outcome
Event
Probability deals with what statisticians call random experiments, also known as statistical
experiments. A random experiment is a process whose outcome cannot be predicted with
certainty.
For example, before tossing a coin or rolling a die, you can’t know the result of the toss or the
roll. The result of the coin toss might be heads or tails. The result of the die roll might be 3 or
6.
In statistics, the result of a random experiment is called an outcome. For example, if you roll
a die, there are six possible outcomes: 1, 2, 3, 4, 5, 6.
An event is a set of one or more outcomes. Using the example of rolling a die, an event might
be rolling an even number. The event of rolling an even number consists of the outcomes 2,
4, 6. Or, the event of rolling an odd number consists of the outcomes 1, 3, 5.
The probability that an event will occur is expressed as a number between 0 and 1.
Probability can also be expressed as a percent.
If the probability of an event equals 0, there is a 0% chance that the event will occur.
If the probability of an event equals 1, there is a 100% chance that the event will
occur.
There are different degrees of probability between 0 and 1. If the probability of an event is
close to zero, say 0.05 or 5%, there is a small chance that the event will occur. If the
probability of an event is close to 1, say 0.95 or 95%, there is a strong chance that the event
will occur. If the probability of an event equals 0.5, there is a 50% chance that the event will
occur—or not occur.
Knowing the probability of an event can help you make informed decisions in situations of
uncertainty. For example, if the chance of rain tomorrow is 0.1 or 10%, you can feel
confident about your plans for an outdoor picnic. However, if the chance of rain is 0.9 or
90%, you may want to think about rescheduling your picnic for another day.
To calculate the probability of an event in which all possible outcomes are equally likely, you
divide the number of desired outcomes by the total number of possible outcomes. You may
recall that this is also the formula for classical probability:
Let’s explore the coin toss and die roll examples to get a better idea of how to calculate the
probability of a single random event.
Say you want to calculate the probability of getting heads on a single toss. For any given coin
toss, the probability of getting heads is one chance out of two. This is 1 ÷ 2 = 0.5, or 50%.
Now imagine that you were to toss a specially designed coin that had heads on both sides.
Every time you toss this coin it will turn up heads. In this case, the probability of getting
heads is 100%. The probability of getting tails is 0%.
Note that when you say the probability of getting heads is 50%, you aren’t claiming that any
actual sequence of coin tosses will result in exactly 50% heads. For example, if you toss a fair
coin ten times, you may get 4 heads and 6 tails, or 7 heads and 3 tails. However, if you
continue to toss the coin, you can expect the long-run frequency of heads to get closer and
closer to 50%.
Say you want to calculate the probability of rolling a 3. For any given die roll, the probability
of rolling a 3 is one chance out of six. This is 1 ÷ 6 = 0.1666, or about 16.7%.
Probability notation
It helps to be familiar with probability notation as it’s often used to symbolize concepts in
educational and technical contexts.
In notation, the letter P indicates the probability of an event. The letters A and B represent
individual events.
For example, if you’re dealing with two events, you can label one event A and the other event
B.
Key takeaways
Data professionals use probability to help stakeholders make informed decisions about
uncertain events. Your knowledge of fundamental concepts of probability will be useful as a
building block for more complex calculations of probability.
provide a useful summary of the fundamental concepts and basic rules of probability.
The probability of multiple events
So far, you’ve been learning about calculating the probability of single events. Many
situations, both in daily life and in data work, involve more than one event. As a future data
professional, you’ll often deal with probability for multiple events.
In this reading, you’ll learn more about multiple events. You’ll learn three basic rules of
probability: the complement rule, the addition rule, and the multiplication rule. These rules
help you better understand the probability of multiple events. First, we’ll discuss two
different types of events that these rules apply to: mutually exclusive and independent. Then,
you’ll learn how to calculate probability for both types of events.
Two events are mutually exclusive if they cannot occur at the same time.
For example, you can’t be on the Earth and on the moon at the same time, or be sitting down
and standing up at the same time.
Or, take two classic examples of probability theory. If you toss a coin, you cannot get heads
and tails at the same time. If you roll a die, you cannot get a 2 and a 4 at the same time.
Independent events
Two events are independent if the occurrence of one event does not change the probability
of the other event. This means that one event does not affect the outcome of the other event.
For example, watching a movie in the morning does not affect the weather in the afternoon.
Listening to music on the radio does not affect the delivery of your new refrigerator. These
events are separate and independent.
Or, take two consecutive coin tosses or two consecutive die rolls. Getting heads on the first
toss does not affect the outcome of the second toss. For any given coin toss, the probability of
any outcome is always 1 out of 2, or 50%. Getting a 2 on the first roll does not affect the
outcome of the second roll. For any given die roll, the probability of any outcome is always 1
out of 6, or 16.7%.
Complement rule
The complement rule deals with mutually exclusive events. In statistics, the complement of
an event is the event not occurring. For example, either it snows or it does not snow. Either
your soccer team wins the championship or it does not win the championship. The
complement of snow is no snow. The complement of winning is not winning.
The probability of an event occuring and the probability of it not occuring must add up to 1.
Recall that a probability of 1 is the same as a 100%.
Another way to think about it is that there is a 100% chance of one event or the other event
occurring. There may be a 40% chance of snow tomorrow. However, there is a 100% chance
that it will either snow or not snow tomorrow.
The complement rule states that the probability that event A does not occur is 1 minus the
probability of A. In probability notation, you can write this as:
Complement rule
P(A’) = 1 - P(A)
Note: In probability notation, an apostrophe (‘) symbolizes negation. In other words, if you
want to indicate the probability of event A NOT occurring, add an apostrophe after the letter
A: P(A’). You can say this as “the probability of not A.”
So, if you know there is a 40% chance of snow tomorrow, or a probability of 0.4, you can use
the complement rule to calculate the probability that it does not snow tomorrow. The
probability of no snow equals one minus the probability of snow.
The addition rule states that if events A and B are mutually exclusive, then the probability of
A or B occuring is the sum of the probabilities of A and B. In probability notation, you can
write this as:
Note that there is also an addition rule for mutually inclusive events. In this course, we focus
on the rule for mutually exclusive events.
Say you want to find the probability of rolling either a 2 or a 4 on a single roll. These two
events are mutually exclusive. You can roll a 2 or a 4, but not both at the same time.
The addition rule says that to find the probability of either event occurring, you sum up their
probabilities. The odds of rolling any single number on a die are 1 out of 6, or 16.7%.
The multiplication rule states that if events A and B are independent, then the probability of
both A and B occuring is the probability of A multiplied by the probability of B. In
probability notation, you can write this as:
Note that there is also a multiplication rule for dependent events. In this course, we focus on
the rule for independent events.
Now imagine two consecutive die rolls. Say you want to know the probability of rolling a 1
and then rolling a 6. These are independent events as the first roll does not affect the outcome
of the second roll.
The probability of rolling a 1 and then a 6 is the probability of rolling a 1 multiplied by the
probability of rolling a 6. The probability of each event is ⅙, or 16.7%. You can write this
as:
P(rolling 1 on the first roll and rolling 6 on the second roll) = P(rolling 1 on the first
roll)×P(rolling 6 on the second roll) = ⅙×⅙ = 1/36
So, the probability of rolling a 1 and then a 6 is one out of thirty-six, or about 2.8%.
Key takeaways
The basic rules of probability help you describe events that are mutually exclusive or
independent. Understanding basic rules of probability is an essential foundation for more
complex analyses you will perform as a future data professional.
provides a detailed overview of the basic rules of probability from a more technical
perspective.