Professional Documents
Culture Documents
Stat Module Week 1 2
Stat Module Week 1 2
i
Lesson
1
Random Variable
Jumpstart
Figure 1 shows how human beings are fascinated with the different events
that involve probability. Humans are trying to make decisions based on how likely
a particular event or experiment will happen. Since probability is all about chance,
human-beings are trying to search for the ways to represent these events. Humans
created random variable and use the concept to make it easy for an individual to
verify the different results or probabilities of a given events or situation.
1
Activity 1: MY SAMPLE, MY SPACE, SAMPLE SPACE?
Directions: For each of the following experiments/events given below, supply the
missing part either the possible outcomes (sample space) or the number of sample
space.
Directions: Perform the experiment below. After performing, try to answer the
questions that follows.
If you are going to observe on the characteristics of the coin. One side
contains a head, and we will represent that as H, while the other side which is the
tail or T.
Steps:
2
Tossing the Coins
Outcomes
First Tossed Second Tossed Third Tossed
4. After recording, you will notice that there are only 8 possible outcomes and no
matter how you will repeat the tossing, the result will always be one of the 8
outcomes you already had.
5. After writing all the possible outcomes, try to fill the given table below:
Note: Count the number of heads or tails in the given outcomes. Example: HHH, how
many heads are there? Correct! There are 3 heads. How about tails? Correct! There
are no or 0 tail.
6. Based on the given table above, what can you say about the number of head?
How
about the number of tails? Is there a possibility that the number of heads or tails
exceed the highest value or number recorded? Why do you say so?
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
Discover
The activities on the Jumpstart part are all essential for you to understand
the content of this module which on Random Variable. Before proceeding with the
discussion, let us have a short recall on the different concepts that we are going to
use in tackling the different parts of this module.
3
In your basic probability class before, you already discussed the following
terms: experiments/events, outcomes, sample, and sample spaces.
In this module, we are looking for a number that will be assigned for the
result of an experiment. What you did on Activity 2 is a preparation for the
discussion.
If there are 4 coins instead of three coins tossed, what number or value can
be assigned for the frequency of heads that will occur? If three cards are drawn
from a deck of card, what number can be assigned for the frequency of face cards
that will occur? The answer to these questions requires a knowledge of random
variable.
Let us examine the examples below to know more about Random Variable.
Suppose you have three coins. We want to find the number of heads that will
occur after tossing the coins.
To determine the number of sample space, we are going to use the basic
probability rule. Since there are three coins, and each coin will give us 2 outcomes,
then �(�) = 2 2 2 = 23 = 8 possible outcomes or sample space. Let us check!
We are going to use tree diagram to show us the possible outcomes of the
said experiment. Tree diagram is used in probability to show possibilities of an
event.
4
Sample Space / Possible
Number of Heads
Outcomes
HHH 3
HHT 2
HTH 2
HTT 1
THH 2
THT 1
TTH 1
TTT 0
On the given experiment, there are 8 sample spaces and since we are
interested to the number of heads (H) in each of the possible outcomes, which in
Solution:
Since we are dealing with families with 2 children, and the children can be a
boy or a girl, then there are �(�) = 2 2 = 22 = 4 sample spaces.
5
GB 1
GG 0
Based on the sample space, there are 4 possible outcomes. Since we are only
interested with the number of boys in the family, then the random variable � =
{0,1,2}. Observed that you cannot have 3 as the value of the random variable since
it is impossible to have 3 boys in the family with two children as what the problem
given as a condition.
Solution:
Based on the given problem, there are 4 laptops that we will be tested at
random and each laptop can either be defective or non-defective.
Let us first determine the number of sample space. Since there are 4 laptops
and each laptop can be defective or non-defective, then �(�) = 2 2 2 2 = 24 = 16
sample space / possible outcomes.
6
Sample Space / Possible Random Variable Z
Outcomes (Number of Non-Defective Laptops)
NNNN 4
NNND 3
NNDN 3
NNDD 2
NDNN 3
NDND 2
NDDN 2
NDDD 1
DNNN 3
DNND 2
DNDN 2
DNDD 1
DDNN 2
DDND 1
DDDN 1
DDDD 0
From the table, the values of the random variable Z are 0, 1, 2, 3, and 4.
This means that it is possible that out of the 4 laptops you will have, there can be 0,
1, 2, 3, or 4 non-defective. It can also be observed that no number is greater than 4.
The random variable that we had from the three examples are classified as
discrete random variable. There are two types of random variables and these are
the discrete random variable and the continuous random variable. In this
module we are going to discuss and deal only with the first type, since the second
type needs higher mathematics.
Discrete Random Variables are variables that can take on a finite number
of distinct values. In easier definition, discrete random variable is a set of possible
outcomes that is countable.
Examples are the number of heads acquired while flipping a coin three times,
the number of defective chairs, the number of boys in the family, the number of
students present in the online class, and more.
7
Example 3: Am I DISCRETE or CONTINUOUS!
Just keep in mind that discrete random variables are countable, while
continuous random variable are those measured or uncountable.
Explore
Here are some enrichment activities for you to work on to master and
strengthen the basic concepts you have learned from this lesson.
8
__________10. The speed of a car.
__________11. The number of dropouts in a school district for a period of 10 years.
__________12. The amount of paint utilized in a building project.
__________13. The number of siblings in a family of a region.
__________14. The weight of newborns each year in a hospital.
__________15. The number of COVID-19 cases each day.
Directions: Given the following experiments, give the random variable X that fits
the type of random variable given. The first entry is already answered as your guide.
Type of Random
Experiment Random Variable X
Variable
Example:
The number of La Union tourist
The car travelling in La Discrete
spots visited.
Union tourist spots.
Directions: Find the possible values of the given random variable of the following
experiments below. Write your answer on the space provided.
1. Supposed two coins are tossed, let P be the random variable representing the
number of heads that occur. Find the values of the random variable P.
2. Inside the box are 2 balls – one white and one yellow. Two balls are picked
one at a time with replacement (meaning the ball is replaced once picked).
Let X be the random variable representing the number of white balls. Find
the values of the random variable X.
9
Possible Outcomes Random Variable X
3. Suppose three cellphones are tested. Let R represent the defective cellphones
and N for the non-defective cellphones. Let U be the random variable that
represent the defective cellphones. What are the possible values of the
random variable R?
10
Lesson
Probability Distribution
2 and Its Properties
Jumpstart
Find the values of the random variable Y representing the number of green
balls when 2 balls are drawn in succession without replacement from a jar
containing 4 red balls and 5 green balls.
11
Solution:
a. Determine the sample space. Let R represent the red ball and G represent
the green ball. The sample size for this experiment is {RR, RG, GR, GG}.
b. Count the number of green balls in each outcome in the sample space and
assign the number to this outcome.
Random Variable Y
Possible Outcome
(No. of Green Balls)
RR
RG
GR
GG
Discover
Before we have the definition of probability distribution for a discrete
random variable and its properties, we need to tackle the problem below to show
how to deal with probability distribution. Read and analyze the problem carefully.
Illustrative Example:
Based on the given problem above, observe, analyze, and answer the following
questions:
a. List the sample space in the given experiment. How many outcomes are
possible?
b. Construct a table showing the number of defective keyboards in each
outcome and assign this number to this outcome. What is the value of the
random variable X?
c. Illustrate a probability distribution. What is the probability value �(�) to
each value of the random variable?
d. What is the sum of the probabilities of all values of the random variable?
e. What do you notice about the probability of each value of the random
variable?
Solutions:
To solve the problem, you must consider first the steps in determining the
values of the random variable that you had learn from your previous discussion.
12
a. Let D represent the defective keyboard and N for non-defective computer.
The number of sample space of the given problem is 8. This is because there
are three keyboards subjected to inspection whether defective or non-
defective, �(�) = 2 2 2 = 23 = 8 sample space.
Random Variable X
Possible Outcome
(number of defective keyboards)
NNN 0
NND 1
NDN 1
NDD 2
DNN 1
DND 2
DDN 2
DDD 3
There are four possible values of the random variable X representing the
number of defective keyboards. The possible values of X are 0, 1, 2, and 3.
If each of the outcomes is equally likely to occur, then the probability is:
������ �� �ℎ� �������� �� �ℎ� �����
� � =
������ �� �ℎ� ������ �����
In assigning probability values for P(X) to each value of the random variable,
since we know that the number of the sample space is 8, then the probability that:
1 1
0 defective keyboard will come out is
8
or � 0 = 8;
13
3 3
1 defective keyboard will come out is
8
or � 1 = 8;
3 3
2 defective keyboards will come out is or � 2 = ;
8 8
and
1 1
3 defective keyboards will come out is or � 3 = .
8 8
X 0 1 2 3
1 3 3 1
P(X)
8
or 0.125 8
or 0.375 8
or 0.375 8
or 0.125
e. From the given activity, you can observe that the values of the probability
ranges from 0 to 1 only. No values of the probability will be lesser than zero
and no values will be greater than 1.
The table given below is what we call the probability distribution or also
known as the probability mass function.
X 0 1 2 3
1 3 3 1
P(X)
8
or 0.125 8
or 0.375 8
or 0.375 8
or 0.125
14
Properties of Discrete Probability Distribution
1. The probability of each value of the random variable must be between
or equal to 0 and 1. In symbol, 0 ≤ �(�) ≤ 1.
2. The sum of all the probabilities of all values of the random variable
must be equal to 1. In symbol, we write it as � � = 1 .
Example 1:
X 1 5 7 8 9
1 1 1 1 1
P(X)
3 3 3 3 3
The distribution must satisfy the two conditions given, a) the probability
value P(X) must be from 0 to 1 and b) the sum of all the values of the probabilities
must be equal to 1.
1
The first condition is met because 3
= 0.33 is from 0 to 1. The second
condition is not satisfied because, the sum is NOT equal to 1.
1 1 1 1 1 5
� � = + + + + = �� 1.67
3 3 3 3 3 3
Hence, this is NOT a probability distribution.
Example 2:
X 1 3 5 7
P(X) 0.35 0.25 0.28 0.12
Remember, the two conditions that you need to satisfy.
15
Example 3:
Determine whether the given values can serve as the values of a probability
distribution.
Solution:
a. The probability of each value of the random variable DOES NOT lie
between 0 and 1 because �(2) = 1.01. Therefore, this is not a probability
distribution.
b. The probability of each values of the random variable lies between 0 and
3 7 1
1 because ( 20 = 0.15 , 20
= 0.35 , 2
= 0.50) . The sum of its probabilities is
equal to 1.
3 7 1 3 7 10 20 Note:
+ + = + + = =� 1
becomes
10
because we need
20 20 2 20 20 20 20 2 20
to make the denominators
the same or equal.
Therefore, this is a probability distribution.
Example 4:
Determine whether the given values can serve as the values of a probability
distribution of a random variable X.
1
a. �(�) = 7 for � = 1, 2, 3, … , 9
1
This means that the value of �(1) up to �(9) is 7.
X 1 2 3 4 5 6 7 8 9
1 1 1 1 1 1 1 1 1
P(X)
7 7 7 7 7 7 7 7 7
1
The probability value �(�) lies between 0 and 1 because 7
is equal to 0.14.
But the sum of its probabilities is not equal to 1.
1 1 1 1 1 1 1 1 1 9
+ + + + + + + + = �� 1.29
7 7 7 7 7 7 7 7 7 7
Therefore, this is NOT a probability distribution.
12
b. �(�) = 25� for � = 1, 2, 3, 4
16
12 12 12 12
� 2 = = = �. �� � 4 = = = �. ��
25 2 50 25 4 100
Z 1 2 3 4
P(Z) 0.48 0.24 0.16 0.12
The probability of each value of the random variable lies between 0 and 1
and the sum of its probabilities is equal to 1. Therefore, this is a probability
distribution.
Explore
4. 12 8 3
1. X 1 5 7 8 � 1 = ,� 2 = ,� 3 =
35 35 7
1 1 1 1
P(X) 4 8 4 8
�
5. P(�) = for � = 1,2,3
6
2. X 1 3 5 7
P(X) 0.35 0.25 1.22 0.12
17
Lesson Computing Probability
3 Corresponding to a Given
Random Variable
Jumpstart
Directions: Determine the value of the given random variable using the probability
distribution below. Write your answer on any sheet of paper.
Z 2 4 6 8 10 12 14 16
P(Z) 0.07 0.23 0.09 0.06 0.14 0.12 0.28 0.01
Find:
a. �(8) = _______ c. �(2) + �(10) = _______ e. �(� ≤ 6) = _______
b. �(14) = _______ d. �(4) + �(10) = ________ f. �(8 < � < 16) = ________
Discover
Illustrative Example 1:
Golden’s Bakery is known for its famous Filipino delicacies. Among these
foods which is native delicious food called “kakanin” is a “leche puto”. The
bakeshop owner recorded the number of boxes of “leche puto” that were delivered
each day. The number of boxes delivered for 10 days is shown below:
18
Day Number of Boxes (X)
1 35
2 37
3 50
4 45
5 37
6 45
7 40
8 42
9 45
10 42
Questions:
40 1
10 Note:
42 2 1 The probability P(X) is
�� obtained by counting how
10 5
45 3 many X are there in the
10 sample space (ex. There are 1
50 1 “35 boxes” out of the “10
10 days” recorded.
Solution:
a. The probability that 40 or more boxes will be sold in a particular day means
� (� ≥ 40).
This means that you must add �(� = 40), �(� = 42), � (� = 45), ��� �(� = 50).
� (� ≥ 40) = �(40) + �(42) + �(45) + �(50) then, substitute its
corresponding probability �(�) using the table above:
19
1 1 3 1
= + + +
10 5 10 10 Note:
1 1
�(40) = 10
, �(42) = 5
,
1 2 3 1 �(45) =
3
, �(50) =
1
= + + + 10 10
10 10 10 10
7
= or 0.7
10
Interpretation: There are 0.7 chance that 40 or more boxes will be sold.
b. The probability that the number of boxes delivered will be at least 37 but not
more than 50 means � (37 ≤ � < 50).
Hence, the values included are �(37), �(40), �(42) and �(45), then substitute
its corresponding probability.
� (37 ≤ � < 50) = �(37) + �(40) + �(42) + �(45)
1 1 1 3
= + + +
5 10 5 10
2 1 2 3
= + + +
10 10 10 10
8 4
= �� or 0.8
10 5
Interpretation: There are 0.8 chance that the number of boxes delivered will
be at least 37 but not more than 50.
c. The probability that at most 40 boxes will be delivered in a particular day means
� (� ≤ 40) so the values of � are �(40), �(37), and �(35).
� (� ≤ 40) = �(40) + �(37) + �(35)
1 1 1
= 10
+ + 10
5
1 2 1
= + +
10 10 10
4 2
= or or 0.40
10 5
Interpretation: There are 0.40 chance that at most 40 boxes will be delivered.
d. Find � (� ≤ 45) = �(45) + �(42) + �(40) + �(37) + �(35)
3 1 1 1 1
= + + + +
10 5 10 5 10
3 2 1 2 1
= + + + +
10 10 10 10 10
9
= 10
or 0.90
Interpretation: There are 0.90 probability that less than or equal to 45 boxes
will be delivered.
1 1 2 1
e. Find �(40) + � (50) =
10
+
10
=
10
or 5
or 0.10
20
Interpretation: There are 0.10 chance that 40 and 50 boxes will be delivered.
Illustrative Example 2:
X 5 6 7 8 9
P(X) 0.25 0.12 0.28 0.15 0.20
Questions:
a. What is the probability that a customer will buy at least 6 items?
b. What is the probability that a customer will buy at most 7 items?
Solution:
a. “At least 6 items” means �(� ≥6), so we are concern with the probabilities of
greater than or equal to 6 items. These are �(6), �(7), �(8), and �(9).
� (� ≥ 6) = �(6) + �(7) + �(8) + �(9)
= 0.12 + 0.28 + 0.15 + 0.20
= 0.75
Interpretation: There are 0.75 probability that a customer will buy at least 6
items in the convenience store.
21
Explore
Directions: Given the problem below, answer the following questions. Show your
solution to each question.
Number of Absences
The monthly absences of a learner based on his class adviser’s record are
presented in the probability distribution below:
X
(number of absences) 0 1 2 3 4
P(X) 1 3 3 1 1
(Probability) 10 10 10 10 5
Questions:
a. What is the probability that the number of absences is more than 3?
b. What is the probability that the number of absences is at least 2?
c. What is the probability that the number of absences is greater than 1 but
less than 4?
22
MEAN OF DISCRETE RANDOM
Lesson
4 VARIABLE
Jumpstart
For you to understand the lesson well, do the activity below. Have
fun and good luck!
Activity 1: MY CHANCE!
Directions: Determine the chance or probability of having the indicated
outcome in the following events. Your answers must be in
fraction form.
1. The chance of getting 2 heads in tossing 2 coins.
2. The chance of getting an even number in rolling a die.
3. The chance of getting queen of hearts when a card is drawn from a
standard deck.
4. The chance of getting two red balls in a box containing 2 red and 2
blue balls when two balls are picked at a time with replacement.
5. The probability of having three girls if a couple has 3 children.
1 1 1 1 1
If your answers are , , , , and , then you did a great start.
4 2 52 4 8
Congratulations! Because determining the probability of occurrence is one of the
most important steps in finding the mean of discrete random variable.
23
Discover
Sample Problem 1
1. There are 4 balls in a box, 2 red and 2 yellow. Two balls are picked at a
time. a. What are the possible outcomes?
b. What is the probability of drawing a red ball?
c. What is the mean of the given discrete random variable?
Answers:
a. The possible outcomes or sample space = (RR, RY, YR, YY)
�= X ∙ P(X)
Where:
- mean of the discrete random variable
X - possible outcome
P(X) - the probability of the outcome
24
Solution:
�= X ∙ P(X)
1 1 1
0 1 2
4 2 4
1 1
0
2 2
1
So, the mean is 1 which implies that the average no. of red balls that
can be picked is 1.
Sample Problem 2
The probability that a “balut” vendor can sell 3, 4, 5 baskets of
“balut” per day are 0.30, 0.50, 0.20 respectively. Find the mean of the
probability distribution.
No. of baskets of “balut” (X) Probability P(X)
3 0.30
4 0.50
5 0.20
Solution:
�= X ∙ P(X)
= 3(0.30) + 4(0.5) + 5(0.20)
= 0.9+2+1
= 3.9 or 4 baskets
This means that the vendor would probably sell 3
or less 4 baskets of “balut” per day.
25
Explore
Computation
Interpretation
Assessment
1. During holiday season, the probability that a family spends Php5 000,
Php10 000, Php15 000 and Php20 000 are 0.4, 0.3, 0.2 and 0.1
respectively. Find the average probability of expenditures of a family during
the holiday season.
2. The given table below shows the probability that a delivery truck driver
encounters bad order (BO) every delivery. Find the mean of the given
probability distribution.
26
VARIANCE OF DISCRETE RANDOM
Lesson
5 VARIABLE
Jumpstart
27
Discover
The variance tells us how much we can expect the results to deviate
from the expected value. Thus, the higher the variance, the farther away the
result can be from its expected value (Math Connections in the Digital Age
Statistics and Probability - 2016). This implies that if the computed
variance is high, the scores are very much scattered around the mean. On
the contrary, if the computed variance is low, the data are closely
concentrated around the mean.
In this lesson, you will learn to compute and interpret the variance of
discrete random variable.
The formula to be used is
�2 = (X − �)2 ∙ P(X)
Where:
�2 - variance of the discrete random variable
- mean of the discrete random variable
X - possible outcome
P(X) - the probability of the outcome
Sample Problem 1
Solution:
= 0.75031 ≈ 0.75
28
So, the variance is 0.75. Since the variance is low, this means that
the probability of manufacturing defective LED lights is close to the mean
which is 0.37.
Sample Problem 2
The number of COVID - 19 patient admitted per day in a Covid facility
along with its corresponding probability is shown on the table below. Solve
and interpret the variance of the data.
0 0.5
1 0.3
2 0.15
3 0.05
Solution:
2 0.15 (2-0.75)=1.25
3 0.05 (3-0.75)=2.25
29
Step 3: Square (X - �)
= 0.7875 ≈ 0.79
So the variance is 0.79. Since the variance is low, this means that
.
the probability of admitting COVID patient per day is close to the mean
which is 0.75.
30
Explore
Arrange the given steps in solving for the variance of discrete random
variable by writing nos. 1 - 5 on the line before the statement.
Assessment
To enhance your understanding of the variance of discrete random
variable, answer the problems that follow in your answer sheet.
1. Despite the pandemic, godparents still give cash gifts to their
godchildren amounting Php100, Php200, Php500 and Php1 000 with
the following probabilities 0.4, 0.3, 0.2, and 0.1 respectively. Compute
and interpret the variance of the given data.
2. In retrieving the outputs of the learners in this Modular Distance
Learning, a senior high school teacher recorded the following data.
0 0.4
1 0.3
2 0.2
3 0.1
31
Answer Key
Answer Key