Chapter I. Random Variables and Probability Distributions
Chapter I. Random Variables and Probability Distributions
For example, can you count the number of students in a room? Yes, you can. Therefore, the “number
of students in a room” is a discrete variable.
Can you count the number of heads when you flip a coin twice? Yes, you can also do that. Therefore,
the “flipping of coins” is also a discrete variable.
What are the examples of a Continuous Random Variable?
An example of a continuous variable is height. The height of a person is not always a whole number.
The height of a person can be 5.1 ft, 5.2 ft, 5.3 ft and so on. Therefore, the height of a person can be
expressed using an infinite number of values.
1.3 Find the possible values of a random variable
1.4 Illustrates a probability distribution for a discrete random variable and its properties
What is a probability distribution?
A probability distribution is a table or an equation that links each outcome of a statistical
experiment with its probability of occurrence.
Every random variable is associated with a probability distribution.
Probability mass function is common to define a discrete random variable.
Probability distribution function is common to define a continuous random variable.
Both variables can also be defined in terms of the Cumulative distribution function.
Probability mass function of a discrete random variable X is a list of the values of X with their
associated probabilities.
Consider flipping a coin two times. Let us say, we are going to count the number of heads that we see
in two coin flips.
The probability distribution of the said experiment is shown below.
From this table, we can see that the probability of getting no head in two coin flips is 0.25, the
probability of getting one head in two coin flips is 0.50 and the probability of getting two heads in
two coin flips is 0.25.
Two Key Properties of Discrete Probability Distribution
1. The probability of each value x is a value between 0 and 1.
2. The sum of the probabilities of a value is equal to 1.