Statistics and Probability: Quarter 3 - Module 7: Calculating Mean and Variance of A Discrete Random Variable
Statistics and Probability: Quarter 3 - Module 7: Calculating Mean and Variance of A Discrete Random Variable
Probability
Quarter 3 – Module 7:
Calculating Mean and Variance
of a Discrete Random Variable
Republic Act 8293, section 176 states that: No copyright shall subsist in any work of the
Government of the Philippines. However, prior approval of the government agency or office
wherein the work is created shall be necessary for exploitation of such work for profit. Such agency
or office may, among other things, impose as a condition the payment of royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright holders. Every
effort has been exerted to locate and seek permission to use these materials from their respective
copyright owners. The publisher and authors do not represent nor claim ownership over them.
Each SLM is composed of different parts. Each part shall guide you step-by-
step as you discover and understand the lesson prepared for you.
In addition to the material in the main text, Notes to the Teacher are also
provided to our facilitators and parents for strategies and reminders on how they can
best help you on your home-based learning.
Please use this module with care. Do not put unnecessary marks on any part
of this SLM. Use a separate sheet of paper in answering the exercises and tests. And
read the instructions carefully before performing each task.
If you have any questions in using this SLM or any difficulty in answering the
tasks in this module, do not hesitate to consult your teacher or facilitator.
Thank you.
What I Need to Know
This module was created and written with you in mind on how to calculate the mean
and variance of a discrete random variable. This will also help you analyze real-life
situated problems statistically in terms of relevant questions for you to better
understand them. Your adept at analysis will help you appreciate the richness, and
beauty of Statistics which will motivate you to apply to similar events and create
statistical measures of your own. From this module, you will also learn how to
determine the value of the mean, variance, and standard deviation of the discrete
random variables, and the purpose of the author for a better understanding of the
story.
Your patience in solving problems here in the module will help you upgrade your
computational skills as it tackles appropriate culture-based situated problems. Your
ability to explain, reason–out, and make a judgment or even decision out of statistical
measures will also be practiced here. The extent of this module permits it to be used
in many different learning situations. The language used recognizes the diverse
vocabulary level of students. The lessons are arranged to follow the standard
sequence of the course. But the order in which you read them can be changed to
correspond with the textbook you are now using.
The module focused on calculating the mean and variance of a discrete random
variable.
Choose the letter of the best answer. Write the chosen letter on a separate sheet of
paper.
2. Which of the following is TRUE about the value of the mean of a discrete
random variable?
a. Mean Value is always equal to 1
b. Mean Value cannot be negative.
c. Mean value is equal to the expected value
d. Mean, Variance, and Standard Deviation are equal.
5. In tossing a coin, what are the possible values of the random variable X?
a. 0 b. 0,1 c. 1, 2 d. 0, 1, 2
b. x 0 1 2
P(X) 0.0625 0.5625 0.375
c. x 0 1 2
P(X) 0.375 0.0625 0.0625
d. x 0 1 2
P(X) 0.5625 0.0625 0.375
10. What is the probability that Juan gets at least 1 correct answer?
a. 0.0625 b. 0.375 c. 0.4375 d. 0.5625
For items 11-12, refer to the scenario and table provided below.
In a recent Barangay Basketball League, each player went to free throws 2 times.
The number of free throws made by each player is described by the following
probability distribution.
1 0.45
2 0.35
12. What is the probability that both free throws will be out of the basket?
a. 0.20 b. 0.35 c. 0.45 d. 1.00
For items 13-15, refer to the scenario and table provided below
14. What are the variance and standard deviation respectively of the probability
distribution?
a. 0.99 and 0.50
b. 0.89 and 0.62
c. 0.80 and 0.88
d. 0.79 and 0.89
15. What is the probability that less than 3 votes will be in any household?
a. 0.25 b. 0.50 c. 0.75 d. 1.00
What’s In
P(X)
0.5
COVID-19 Patients
0.4
0.3
0.2
0.1
0 X
15 16 17 18 19
Solution:
2. 𝜇𝜇𝑥𝑥 =17
31 34 37
P(X)
0.45 15
0.4
16
0.35
0.3 18 19
0.25
0.2
0.15
0.1
0.05
0 X
15 16 17 18 19
𝜇𝜇𝑥𝑥
What’s New
Time to Check
Answer:
1. The summation of the probabilities of the given random variable is equal to 1.
4. 𝑉𝑉𝑉𝑉𝑉𝑉(𝑋𝑋) = 𝜎𝜎 2 𝑥𝑥 = 1.5819
If you are wondering how we came up with the answer for questions 4 and 5, you
will understand everything as we go on in our discussion.
What is It
In the previous module, mean or expected value characteristics had been presented,
even variance and standard deviation of a discrete random variable.
Expected Value or Mean Value is the sum of the products of each possible value of
a random variable and that value’s probability. In symbol,
𝑬𝑬(𝑿𝑿) = 𝝁𝝁𝒙𝒙 = 𝑋𝑋1 · 𝑃𝑃 (𝑋𝑋1 ) + 𝑋𝑋2 · 𝑃𝑃(𝑋𝑋2 ) + ··· + 𝑋𝑋𝑛𝑛 · 𝑃𝑃(𝑋𝑋𝑛𝑛 ) = � 𝑿𝑿 · 𝑷𝑷(𝑿𝑿)
So, in what way can we use the concept of expected value to calculate the mean and
variance of a probability distribution?
Using the previously given data, multiply each x value by its probability and add the
results to get the mean (𝜇𝜇 x ) or expected value(𝑬𝑬(𝑿𝑿)).
So, the answer to question 3 can now be stated. It indicates that the expected value
or mean of the random variable is 3.41.
Now that you have calculated the mean or the average marks in the five tests of
Mathematics. It will be convenient this time to determine the difference in the score
of each item from the mean or expected value. This difference in marks shows the
variability of the possible values of the random variable.
Let’s recall the formula in finding the variance of a discrete random variable x,
Remember that if the value of the variance is small, then the values of the random
variable are close to the mean.
The Standard Deviation of x, denoted by 𝝈𝝈𝒙𝒙 , is the square root of the Variance. In
symbol,
Again, let’s use the same data above, variance and standard deviation of the given
random variable can be presented in this manner. The formula for 𝑉𝑉𝑉𝑉𝑉𝑉(𝑋𝑋) says to
take a weighted average of the squared distance to the mean. By squaring, remember
that we are averaging only non-negative values so that the spread to the right of the
mean won’t cancel that to the left. By using the expected value, we are weighting
high probability values more than low probability values. So, the table will now look
like this.
The Variance is 1.5819, and the Standard Deviation is √𝟏𝟏. 𝟓𝟓𝟓𝟓𝟓𝟓𝟓𝟓 , and it is
equivalent to 𝝈𝝈𝒙𝒙 = 1.26
Therefore, the correct answers for question 4 are 1.5819 and 1.26 respectively.
For uniformity of the answers, expected value or mean and standard deviation are
both expressed into two decimal places while variance is up to four decimal places
to lessen rounding error.
Since 𝜎𝜎𝑥𝑥 and X have the same units, the standard deviation is a natural
measure of spread. In some ways, the standard deviation is the more tangible of the
two measures, since it is in the same units as X.
Suppose that a coin is tossed twice so that the sample space is S = {𝐻𝐻𝐻𝐻, 𝑇𝑇𝑇𝑇,
𝐻𝐻𝐻𝐻, 𝑇𝑇𝑇𝑇}. Let X represent the “number of heads that can come up”, Based on the
prepared discrete probability distributions of the random variable X below, calculate
the mean, variance, and standard deviation.
Applying the concepts from the activity given above, let us complete the table below.
We have discovered that the Expected Value E(X) is only the average or mean (µ𝑥𝑥 ) of
random variable X. It's occasionally called a "weighted average" because more
frequent values of X are weighted more highly in the average. It is additionally how
we anticipate that X should behave on-average as time goes on. The mean of a
random variable X is a measurement of the central location of the distribution of X.
If we are summarizing features of the distribution of X, it is clear that location is not
the only relevant feature. The second most important component is the spread of the
distribution.
Again, the variance of a discrete random variable X is defined by
where the sum is taken over all values of x for which P(x) > 0 but less than 1. So, the
variance of X is the weighted average of the squared deviations from the mean μ,
where the weights are given by the probability function P(x) of X.
In another way around, the standard deviation is the more tangible of the two
measures, since it is in the same units as X. For example, if X is a random variable
What’s More
X 19 20 21 22 23
Formula to be used:
a. Mean ________________________
b. Variance_____________________
c. Standard Deviation___________
Solution:
X 10 11 12 13 14
Write all the necessary formula and show the complete solution.
Formula to be used:
a. Mean __________________________
b. Variance_______________________
c. Standard Deviation_____________
Solution:
Suppose that a coin is to be tossed four times, and let X represent “the number
of TAILS that can come up”. Find the mean, variance, and standard deviation of
this distribution.
X 0 1 2 3 4
P(X) 1 4 1 6 3 4 1 1
𝑜𝑜𝑜𝑜 𝑜𝑜𝑜𝑜 𝑜𝑜𝑜𝑜
16 16 4 16 8 16 4 16
Write all the necessary formula and show the complete solution.
Formula to be used:
a. Mean ________________________
b. Variance_____________________
c. Standard Deviation___________
Solution:
What I Can Do
Multiple Choice. Choose the letter of the best answer. Write the chosen letter on a
separate sheet of paper.
2. Which among the list of formulas should be used to solve for the variance
of discrete random variables of the given data above?
𝑎𝑎. 𝜎𝜎𝑥𝑥2 = ∑(𝑥𝑥 + 𝜇𝜇)2 ∙ 𝑃𝑃(𝑥𝑥); for all possible values of x
3. Which of the following statements does not describe the value of the
standard deviation?
a. A small standard deviation (or variance) means that the distribution
of the random variable is narrowly concentrated around the mean.
b. A large value of standard deviation (or variance) indicates that the
distribution is spread out, with some chance of observing values at
some distance from the mean.
c. Standard deviation is obtained by getting the square root of the
variance.
d. It is obtained by squaring the variance.
5. Suppose that a coin is to be tossed four times, and let X represent “the
number of TAILS that can come up”, what are the possible values of the
random variable X?
a. 0 b. 0, 1 c. 1, 2,3 d. 0, 1, 2 ,3, 4
For items 7-9, refer to the scenario and table provided below.
X 0 1 2 3
9. Which of the following value is appropriate for deviation (𝜎𝜎𝑥𝑥 ) of the given
probability distribution?
a 1.02
b. 1.04
c. 1.06
d. 1.08
X 0 1 2
P(X) 0.25 0.5 0.25
For items 12-15, refer to the scenario and table provided below.
In her Flower Shop, Vera recorded the probability distribution for the number of
flower arrangements that she delivered each day.
X 7 8 9 10 11
P(X) 0.20 0.20 0.30 0.20 0.10
12. What is the probability that she made at least 9 flower arrangements?
a. 0.60
b. 0.50
c. 0.40
d. 0.30
13. What is the mean or expected value of the given probability distribution?
a. 8.5
b. 8.6
c. 8.7
d. 8.8
14. Which of the following is the appropriate value for the variance?
a. 1.55
b. 1.56
c. 1.57
d. 1.58
x 2 3 4 5
P(X) 0.48 0.35 0.10 0.07
a. Find the probability that Leomar will produce more than three blemished
tires.
b. Find the probability that Leomar will produce at most four blemished
tires.
c. Calculate the mean, variance, and standard deviation of a discrete random
variable.
2. The Land Bank of the Philippines Manager claimed that each saving account
customer has several credit cards. The following distribution showing the
number of credits cards people own.
x 0 1 2 3 4
P(X) 0.18 0.44 0.27 0.08 0.03
Show the complete table of values in calculating the Mean, Variance, and
Standard Deviation.
Websites:
https://ocw.mit.edu/courses/mathematics/18-05-introduction-to-probability-and-
statistics-spring-2014/readings/MIT18_05S14_Reading5a.pdf
https://www.mathsisfun.com/data/random-variables-mean-variance.html
https://www.cabarrus.k12.nc.us/cms/lib/NC01910456/Centricity/Domain/4633
/Random%20Variables%20Worksheet%202.pdf
https://www.coconino.edu/resources/files/pdfs/academics/sabbatical-
reports/kate-kozak/chapter_5.pdf