Statistics and Probability Module 1
Statistics and Probability Module 1
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, poems, pictures, photos, brand
names, trademarks, etc.) included in this book 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.
Management Team:
ii
Downloaded by Leira Izon
What I Need To Know
Module Content
The lessons that we will tackle are the following:
Lesson 1 – The Concept of Random Variables
Lesson 2 – Probability Distribution of Discrete Random Variables
Lesson 3 – Solving for the Mean, Variance, and
Standard Deviation of Discrete
Probability Distributions
Module Objectives
Once you are done with this module, you should be able to:
General Instructions
To complete the objectives of this module, you
must DO THE FOLLOWING:
Patiently read the text carefully and understand every
sentence. Do not proceed to the next part of the module
without fully understanding the previous text.
Read the directions of each activity carefully. You will be
guided as to the steps in answering the exercises and
activities of this module.
Do not proceed to the next part without completing the
previous activities.
Be aware of the following terms:
𝑓𝑎𝑐𝑖𝑛𝑔 𝑢𝑝?
a. 2 b. 3 c. 10 d. 13
3. Find the correct value of Y to make a valid probability distribution.
X 1 2 3 4 5
P(X) 0.11 0.15 0.35 Y 0.24
a. 0.11 b. 0.15 c. 0.35 d. 0.24
4. Which of the following is NOT a valid probability
distribution?
X a.1 2 3 4 5
P(X) 0.1 0.2 0.3 0.3 0.1
b. X 1 3 5 7 9
P(X) 1/5 1/5 1/5 1/5 1/5
c. X 0 1 2 3 4
P(X) 0.1 0.2 0.3 0.4 0.5
d. X 4 8 12 14 16
P(X) 0.36 0.21 0.10 0.09 0.24
3
Downloaded by Leira Izon
7. Tossing a die has the following probability distribution. Find the
standard deviation of the number of spots that will appear when
a die is tossed.
Number of spots (Y) 1 2 3 4 5 6
Probability P(Y) 1/6 1/6 1/6 1/6 1/6 1/6
a. 0.167 b. 1.667 c. 1.7 d. 2.9
For numbers 8-10, refer to the probability distribution below.
Y 0 1 2 3 4 5
P(Y) 0.11 0.15 0.23 0.25 0.13 0.13
8. What is the mean of the probability distribution?
a. 2.23 b. 2.33 c. 2.43 d. 2.53
9. What is the variance of the probability distribution?
a. 1.25 b. 2.25 c. 3.25 d. 4.25
10. What is the standard deviation of the probability distribution?
a. 1.25 b. 1.50 c. 2.00 d. 2.25
4
Downloaded by Leira Izon
LESSON The Concept of Random
1 Variables
LEARNING CONCEPT
Let’s begin with the idea of a random variable. A random
variable may be confusing to you at first especially if you
associate it with the common variables that we use in algebra.
Let us differentiate:
𝑥+2=9
give value to equations like
𝑋 = the number of dots facing
a random variable could be
𝑠𝑡𝑢𝑑𝑒𝑛𝑡 𝑎𝑝𝑝𝑙𝑖𝑐𝑎𝑛𝑡𝑠.
Possible outcomes: male or female
Characteristic: categorical (non-
numerical)
It would be very difficult to perform mathematical operations on such
kinds of data so we have to find a way to convert these data into numbers.
We could assign the value 0 for male and 1 for female.
the sample space is finite (can be there are infinite elements in the
counted) because each sample has a sample space wherein each sample
space between them are so closely packed such that
infinite number of elements can fit
throughout the sample space
Note: A sample space is the set of all possible outcomes in a random
experiment. Here are some more examples of discrete and continuous
random variables.
Learning Concept
Again, the purpose of using random variable is so that we
could
measure observations and process data to make a conclusion
about the population. So what are the possible values of a random variable,
you might ask? Below are some random variables with their corresponding
possible values.
Random
Description Set of Possible Values
Variable
V marital status of teachers single, married, widow, …
W number of dots after rolling a 1, 2, 3, 4, 5, 6
die
X tossing a coin Heads, Tails
Y tossing two coins HT, HH, TH, TT
Z household pet being raised dog, cat, mouse, snake, rabbit, …
As a statistician, you must be able to identify the set of possible
values of your random variable even before conducting your survey.
Example 1. Suppose you are to test three random eggplants from a harvest
to see if there are worms in it. You want to find out the number of eggplants
attacked by worms. Use W to represent if there is a worm attack in an
eggplant and N if there is none.
Note: The letters W and N are not random variables but are used
to represent the possible outcome upon checking an eggplant. X
is the random variable representing the number of eggplants
attacked by worms.
Again, you are sampling three eggplants. The table below has
been filled out to illustrate and demonstrate the possible outcomes
of this experiment. Try to understand the values therein.
Example 2. Suppose that four coins are tossed. Let Y be the random variable
representing the number of heads that occur. Complete the table below to
find the possible values of Y.
Value of Random Variable Y
Possible Outcomes
(number of heads)
HHHH 4
HHHT 3
HHTH 3
HHTT 2
HTHH 3
HTHT
HTTH
HTTT
THHH
THHT
THTH
THTT
TTHH
TTHT
TTTH
TTTT
The possible values of the random variable Y are 0, 1, 2, 3, and 4.
Now that we already have the possible values of the random variable,
we can now construct the probability distribution. Looking back at example
1, the random variable X represents the number of damaged eggplants in a
harvest. We have defined the sample space and their corresponding values
in the table below.
10
Number of eggplants
Probability P(X)
with worm attacks X
1
There are 8 possible outcomes
8
0 and only 1 of them had no worm
at all. So
the probability that we shall assign is 1.
8
3 There are 8 possible outcomes
8
1 and 3 of them have exactly 1
eggplant attacked by worms. So
the probability
3 that we shall assign is 3.
8
8
2
There are 8 possible outcomes
and 3 of them have 2 eggplants
attacked by worms. So the
1 probability that we shall
8
3 assign is 3.
8
There are 8 possible outcomes
and only 1 of them had all 3
eggplants attacked by worms. So
the probability
that we shall assign is 1.
8
+
1
8
distribution. Let us try to add all probabilities in the
𝑜𝑟 1. Therefore, the distribution is
8 + 8 +8 =
3 3 1
distribution. We get
8 8
valid.
3/8
1/8 1/8
0
0 1 2 3
Number of eggplants with worm attacks X
What is a histogram?
What’s New
Based on the distribution above, the table below shows
some more probabilities. Can you explain how these values
were obtained?
7
8
getting 2 or less worm attack
1
8
getting at least 3 worm attacks
4 1
𝑜𝑟
8 2
getting more than 1 worm
attacks
12
Number
Let’s stop of heads
and think Y Probability P(Y)
for a moment.
1
16
0 why the probability values P(Y) are like that? Where did the
Can you explain
4 1
𝑜𝑟
denominator 16 come from? How about the numerator values 1, 4, 6, 4, and 1?
16 4
1 come from?
Where did they
6 3
𝑜𝑟
the distribution we get 1 +
6
Getting the sum of all probabilities in
16 8
2
+
4
4 1 +
𝑜𝑟 16 16 16
16 4
= 𝑜𝑟 1. The histogram of the
16
3
+
4
1
1 16
16
16
4
16
distribution is shown below.
13
What’s New
Consider the histogram above. Try to answer the questions below.
What is the probability of getting more than 3 heads?
What is the probability of getting less than 2 heads?
What is the probability of getting at least 3 heads?
What is the probability of getting at most 1 head?
What is the probability of getting 2 or 3 heads?
What is the probability of getting pure heads?
What is the probability of getting no heads?
14
There are four values for the random variable. Assign probability
values P(X) to each then construct the histogram by drawing on the graph
below.
6/16
Probability P(X)
4/16
2/16
0
0 1 2 3
Number of male puppies X
15
Downloaded by Leira Izon
Consider the histogram you just made, try to answer the questions below.
What is the probability of getting more than 2 males?
1. X 1 3 5 7 9
1 1 1 1 1
4 4 4 4 4
P(X)
2. X 0 1 2 3 4
1 1 1 1 1
5 5 10 5 5
P(X)
3. X 1 2 3 4
1 1 1 1
3 6 3 6
P(X)
4. X 3 6 9 12
1 2 1 1
5 5 5 5
P(X)
5. X 1 3 5 7
P(X) 0.25 0.20 0.45 0.15
16
LOW
HIGH
17
The variance
and standard
deviation of the first
graph should have
values greater than
the variance and
standard deviation of
the second graph
underneath.
20 20 20 20 20 20
number of
mistakes that a student makes in this class? What is the variance and
Downloaded by Leira Izon
standard deviation of this discrete probability distribution?
18
𝑿𝑿 ∙ 𝑃(𝑿𝑿)
No.
Let’s stop of think for a moment.
and
𝑃(𝑿𝑿)
Probability
𝑿𝑿 in columns 1 and 2 are just copied from the problem statement
mistakes
above. The entries in 3the third column you have to solve yourself by
The entries
Equation 1. 𝜇 = ∑ 𝑋 ∙ 𝑃(𝑋)
So the value of the mean in the example above is just the sum of all
entries in the third column,
𝜇 = ∑ 𝑋 ∙ 𝑃(𝑋) = 0 + + + + + = = 1.85
5 14 9 4 5 37
20 20 20 20 20 20
19
Downloaded by Leira Izon
20
Equation 3. 𝜎 = √𝜎2
𝑋 − 𝜇.
3. Subtract the computed mean from each value of the random variable:
2
X P(X)
10
0
2
10
1
3
10
2
2
10
3
1
10
4
Solution:
𝑿𝑿 𝑃(𝑿𝑿) 𝑿𝑿 ∙ 𝑃(𝑿𝑿) 𝑿𝑿 − 𝝁 (𝑿𝑿 − 𝝁)𝟐𝟐 (𝑿𝑿 − 𝝁)𝟐𝟐 ∙
𝑃(𝑿𝑿)
2 18
0 0 − 𝑜𝑟 − 3.24 0.648
10 1.8 10
2 2 8
1 − 𝑜𝑟 − 0.64 0.128
10 10 0.8 10
3 6 2
2 𝑜𝑟 0.2 0.04 0.012
10 10 10
2 6 12
3 𝑜𝑟 1.2 1.44 0.288
10 10 10
1 4 22
4 𝑜𝑟 2.2 4.84 0.484
10 10 10
2 6 6 4
What is the mean?
𝜇 = ∑ 𝑋 ∙ 𝑃(𝑋) = 0 +
+ 18 = 1.8
10 + + =
10 10
10 10
23
Downloaded by Leira Izon
What is the variance?
𝜎2 = ∑(𝑋 − 𝜇)2 ∙ 𝑃(𝑋)
= 0.62658 + 0.007128 + 0.10086 + 0.33124 + 0.39762 + 0.291848
+ 0.232324
= 1.9876
24
1
3
7
3
8
7
2
13
7
1
18
7
1
2
10
2
4
10
3
6
10
3
8
10
1
10
10
1 0.11
5 0.40
7 0.30
10 0.19
4
2
9
1
3
9
2
5
9
2
11
9
25
Downloaded by Leira Izon
𝑋 𝑃(𝑋) 𝑋 ∙ 𝑃(𝑋) 𝑋−𝜇 (𝑋 − 𝜇)2 (𝑋 − 𝜇)2 ∙
𝑃(𝑋)
5.
5 0.05
10 0.34
15 0.26
20 0.25
25 0.10
Number of students 0 1 2 3 4 5
(X)
Probability P(X) 0.40 0.22 0.15 0.10 0.08 0.05
2. A police lieutenant records the number of police blotter filed each day
in their city. Based on his records, the probability distribution of the
number of police blotters filed each day is in the table below. The city
mayor claims that the crime rate is in its all-time low with only 2
blotters being filed each day. Determine the mean of the probability
distribution shown and decide if the mayor’s claim is valid.
Number of students 0 1 2 3 4
(X)
Probability P(X) 0.33 0.13 0.23 0.15 0.16
3. Subtract the computed mean from each value of the random variable: 𝑋
Steps in Finding the Variance:
− 𝜇.
4. Square the value obtained in step 3: (𝑋 − 𝜇)2.
5. Multiply the value obtained in step 4 by the corresponding
(𝑋 − 𝜇)2 ∙ 𝑃(𝑋)
probability:
6. Use equation 2 to find the variance by adding all products obtained in step
5.
Steps in Finding the Standard Deviation:
7. Use equation 3 to find the standard deviation by getting the square
root of the value obtained in step 6.
b. X 1 3 5 7 9
P(X) 1/5 1/5 1/5 1/5 1/5
c. X 0 1 2 3 4
P(X) 0.1 0.2 0.3 0.4 0.5
d. X 4 8 12 14 16
P(X) 0.36 0.21 0.10 0.09 0.24
28
29
Downloaded by Leira Izon
B. Identify weather the given variable is discrete or continuous. Write your
answer on the space provided before each item.
1. number of cars in a parking lot
2. time it takes to finish a bowl of noodles
3. number of visitors in a resort each day
4. temperature needed to melt a metal
5. weight of one whole watermelon
30
PRE-TEST ACTIVITY 1
1. A 1. Continuous
2. D 2. Discrete
3. B 3. Discrete
4. C 4. Continuous
5. B 5. Discrete
6. A 6. Continuous
7. C 7. Discrete
8. D 8. Discrete
9. B 9. Continuous
10. B 10. Continuous
11. Continuous
12. Continuous
13. Discrete
14. Discrete
15. Discrete
ACTIVITY 2
A.
Value of Random
Possible Outcomes
Variable X
FFF 0
FFM 1
FMF 1
FMM 2
MFF 1
MFM 2
MMF 2
MMM 3
31
3
8
1
3
8
2
1
8
3
6/16
4/16
3/8 3/8
2/16
1/8 1/8
0
0 1 2 3
Number of male puppies X
1
8
What is the probability of getting more than 2 males?
What is the probability of getting less than 2 males? 1
2
1
2
What is the probability of getting at least 2 males?
7
8
What is the probability of getting at most 2 males?
3
4
What is the probability of getting 1 or 2 males?
1
8
What is the probability of getting no males?
1
8
What is the probability of getting all males?
B.
1. Not Valid. Sum exceeds 1.
∑ 1 15 1 1 1
𝑃(𝑋) = + = + + + 𝑜𝑟 1.25
4 4 4 4 4
4
2. Not Valid. Sum is less than 1.
∑ 1 1 11 2 21 2 2 9
+ + + + = + + + + = 𝑜𝑟 0.9
𝑃(𝑋) = 10 10 10 10 10 10
5 10 5 5
Downloaded by Leira Izon
32
Probability P(X)
1 2 1
1
∑ 𝑃(𝑋) = + + + = 𝑜𝑟 1
5 5 5 5 5
5. Not Valid. Sum exceeds 1.
∑ 𝑃(𝑋) = 0.25 + 0.20 + 0.45 + 0.15 = 1.05
ACTIVITY 3
A.
1 3
3 −7.14 51.0204 7.2886
7 7
3 24
8 −2.14 4.5918 1.9679
7 7
2 26
13 2.86 8.1633 2.3324
7 7
1 18
18 7.86 61.7347 8.8192
7 7
26 18
What is the mean?
𝜇= ∑ 𝑋∙ 3 71 ≈ 10.14
𝑃(𝑋) = 24 + + =
+ 7 7 7
What is the variance? 7 7
𝜎2 = ∑(𝑋 − 𝜇)2 ∙ 𝑃(𝑋)
= 7.2886 + 1.9679 + 2.3324 + 8.8192 ≈ 20.41
What is the standard deviation?
𝜎 = √𝜎2 = √20.41 ≈ 4.52
𝑋 𝑃(𝑋) 𝑋 ∙ 𝑃(𝑋) 𝑋−𝜇 (𝑋 − 𝜇)2 (𝑋 − 𝜇)2 ∙
𝑃(𝑋)
2.
1
2 0.2 −4.2 17.64 1.764
10
2
4 0.8 −2.2 4.84 0.968
10
3
6 1.8 −0.2 0.04 0.012
10
3
8 2.4 1.8 3.24 0.972
10
1
10 1 3.8 14.44 1.444
10
4 8
2 −2.7778 7.7160 3.4294
9 9
1 3
3 −1.7778 3.1605 0.3512
9 9
2 10
5 0.2222 0.0494 0.0110
9 9
2 22
11 6.2222 38.7160 8.6036
9 9
8 3 10 22 43
What is the mean?
𝜇= ∑ 𝑋∙ + + + ≈ 4.78
𝑃(𝑋) = = 9
9 9 9 9
34
Downloaded by Leira Izon
What is the variance?
𝜎2 = ∑(𝑋 − 𝜇)2 ∙ 𝑃(𝑋)
= 3.4294 + 0.3512 + 0.0110 + 8.6036 ≈ 12.40
What is the standard deviation?
𝜎 = √𝜎2 = √12.40 ≈ 3.52
A.
1. 𝑋 𝑃(𝑋) 𝑋 ∙ 𝑃(𝑋)
0 0.40 0
1 0.22 0.22
2 0.15 0.3
3 0.10 0.3
4 0.08 0.32
5 0.05 0.25
35
1 0.13 0.13
2 0.23 0.46
3 0.15 0.45
4 0.16 0.64
POST-TEST
A. B.
1. A 1. Discrete
2. D 2. Continuous
3. B 3. Discrete
4. C 4. Continuous
5. D 5. Continuous
6. A
7. C
8. A
9. B
10. C
11. B
12. C
13. D
14. A
15. B
36
Belecina, Rene S., Elisa S. Baccay, and Efren B. Mateo, Statistics and
Probability, Manila: Rex Book Store, Inc., 2016, 1-48.
Calaca, Ninia I., Chin Uy, Nestor M. Noble, and Ronaldo A. Manalo, Statistics
and Probability, Quezon City: Vibal Group, Inc., 2016, 40-92.
Walpol, Ronald E., Raymond H. Myers, and Sharon L. Myers, Probability and
Statistics: for Engineers and Scientists, Upper Saddle River, New Jersey
07458: Pearson Education Asia Pte Ltd., 2001, 51-83.
“Random Variables,” Khan Academy, Inc., last modified August 1,
2019,
https://www.khanacademy.org/math/statistics-probability/random-
variables- stats-library/random-variables-discrete/v/random-
variables.
“Probability Distributions,” Batia Infotech, last modified Jan 28,
2013, https://www.proprofs.com/quiz-school/story.php?
title=probability- distributions.