Probability is something we live with everyday, but it is often misinterpreted. It can be, sometimes, counter-intuitive and make us think that we’ve made a mistake, but if we follow the rules we can’t go wrong.
Probability Rules!
Everything that we want to describe using probabilities is called an event, whether we are interested in the probability of winning the lottery or the probability of contracting a particular disease. The collection of events that make up all the possible outcomes is called the sample space (denoted as ).
The Sample Space
The probability that any event occurs is one, i.e.:
For example, at the start of most sporting matches, a coin is tossed to decide how the match starts, e.g. in tennis, the person who wins the toss can elect to serve or receive and the other player selects an end to start from. The coin has two sides, typically called "Heads" () and "Tails" (
), therefore the sample space (
) is:
When the coin is tossed, it must land on one side or the other and hence the probability that an event occurs is 1. Note that we are not saying anything about the probability of the events "Heads" and "Tails" except that one of them occurs when we toss the coin.
Probability that an event occurs
The probability that event occurs is found by taking the number of outcomes where
occurs and dividing it by the total number of outcomes, i.e.:
We will use the notation to indicate the "probability of event
". Some texts use an alternate notation of
, both notations are perfectly acceptable and which you use is really a matter of preference.
Boundary values for any probability
For any event, the event must never occur, always occur or sometimes occur. The probability of any event also reflects this and so we can see that all probabilities must be bounded between "it never happens" and "it always happens". From above it follows that if the event never occurs then
(since the number of times
occurs is zero). Equally, if
always occurs then
because the number of times
occurs is equal to the total number of outcomes. Thus we get the following definition:
The probability of any event must be between zero and one, i.e.:
Complementary event
Sometimes we are not really interested in the probability that a particular event occurs, rather we want to know what is the probability that it doesn’t occur, e.g. the probability of not rolling a 12. The event " does not occur" is the complementary event which we typically denote as
. The probability that event
does not occur (called the complement of
) is given by:
Note: Some texts use the alternate notation of to denote the complement of
. I prefer not to use this notation to avoid accidental confusion with the derivative of
(from calculus shorthand), especially given we often rely on the techniques of calculus to find probabilities.
Typically we want to know something about the probability of two events occurring. We have to be very careful to make sure that we define what we want to know correctly. For example, when we say “Bill and Mary passed the course” we mean that both Bill and Mary passed the course. When we say “Bill or Mary passed the course” we mean that just Bill passed, or just Mary passed or both passed the course. Unfortunately, many people end up using the word “and” when they mean “or” and vice versa. To help you get it right, the following tables illustrate the difference between the meanings:

We can represent this visually using the good old Venn diagram:

The event

The event
From these diagrams we can see the following:
Union (Or) of events
The probability that either event or event
(or both) occur is given by:
Intersection (And) of events
The probability that both event and event
occur is given by:
Oops! "What’s this thing?", I hear you ask. Well,
is the probability that
occurs given that
has occurred, what we call a conditional probability. The following should help you to get the idea.
Conditional Probability
Suppose we were to ask a person to choose a number between 1 and 10 (inclusive). Thus our sample space would be . We might define
to be the event that the person selects a number less than 5 (i.e.
) and
to be the event that the person selects an even number (i.e.
). Now consider the following questions:
- What would be the probability that the person selects an even number given they choose a number less than 5, i.e.
?
- What would be the probability that the person selects a number less than 5 given they choose an even number, i.e.
?
We can see that if the person has chosen a number less than 5 then there are only two even numbers out of the four possible numbers in , so
should be
or 0.5. Rearranging the intersection equation we can see that:
and we can easily see that and
(since
and
only have 2 common elements out of the sample space of 10 elements). Using these values in the rearranged equation, we find that
as expected.
We can see that if the person has chosen an even number then there are only two numbers out of the five possible numbers in , so
should be
or 0.4. We know that
and
. Using these values in the rearranged equation, we find that
as expected.
Now that we know how to find a conditional probability, we can use this in determining if two events are independent or mutually exclusive, but we must be careful not to confuse these definitions. Two events that are independent cannot be mutually exclusive, just as mutually exclusive events cannot be independent.
Independent events
Two events (,
) are said to be independent when knowing that one event (
) has occurred tells you no additional information about the probability of the other event (
) occurring, i.e.:
and
Mutually exclusive events
Two events (,
) are said to be mutually exclusive when knowing that one event (
) has occurred tells you that the probability of the event (
) occurring is zero, i.e.:
or
The following examples and exercise should help you get these definitions clear in your mind.
Example of Independent Events
Suppose event represents the outcome from the roll of a six sided die and event
represents the outcome from tossing a coin, thus
and
. It should be evident that knowing that you rolled a 3 on the dice tells you nothing about the outcome of the coin toss and similarly, knowing that you got a tail from the coin toss tells you nothing about the outcome of the roll of the die. As such, events
and
would be called independent events.
Example of Mutually Exclusive Events
Suppose that we look at the final result for a student in a subject, caring only if the student passes or fails. Since a student cannot both pass and fail at the same time, it follows that the events are mutually exclusive, i.e.:
or
In simple cases, like those above, finding a conditional probability is fairly straight forward, however, we typically are not dealing with such simple cases. Often we know but we really want to know
. For example, we might know the probability of getting a positive test result if you have a particular disease, but what we would really like to know is the probability that you have the disease. Thankfully, a man called Reverend Thomas Bayes had a way of reversing the conditioning so that now we can find what we really want.
Bayes’ Rule
The conditional probability can be found by:
It is important to note that Bayes’ Rule does not always apply. For example, in Null Hypothesis Significance Testing, one cannot compute from the p-value (
).
CITE THIS AS:
Ovens, Matthew. “Basic Probability Theory” Retrieved from YourStatsGuru.
First published 2010 | Last updated: 6 November 2024