StatProb11 Q3 Mod1 Random-Variable Version2
StatProb11 Q3 Mod1 Random-Variable Version2
Probability
Quarter 3 – Module 1
Random Variable and
Probability Distribution
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.
Secretary:
Undersecretary:
Assistant Secretary:
IMPORTANT REMINDER:
DO NOT WRITE ANYTHING ON THIS MODULE. USE A SEPARATE
NOTEBOOK WHERE YOU CAN WRITE YOUR ANSWERS FOR THIS MODULE.
The Authors
Lesson Random Variables and
1 Probability Distributions
What I Know
What’s New
Suppose three coins are tossed. Let Y be the random variable representing
the number of heads that occur. Find the probability of each of the values of the
random variable Y. Complete the table below.
Value of the Random Variable Y
Possible Outcomes
(Number of Heads)
What Is It
Random Variables
A variable is something which can change its value. It may vary with
different outcomes of an experiment. If the value of a variable depends upon the
outcome of a random experiment it is a random variable. A random variable can
take up any real value.
A discrete random variable is a variable whose value is obtained by
counting.
Examples: number of students present
number of red marbles in a jar
number of heads when flipping three coins
students’ grade level
A continuous random variable is a variable whose value is obtained by
measuring.
Examples: height of students in class
weight of students in class
time it takes to get to school
distance traveled between classes
Example 1:
Suppose that the District Supervisor is selecting three Senior High School
students at random to be interviewed. Let M be Male and F be Female. Let
X be the random variable representing the number of female student selected
by the District Supervisor.
Solution:
Value of the Random Variable X
Possible Outcomes
(Number of Female Student Selected)
MMM 0
MMF 1
MFM 1
FMM 1
MFF 2
FMF 2
FFM 2
FFF 3
So, the possible values of the random variable X are 0, 1, 2, 3.
Probability Distribution
Probability distribution of a random variable tells all of its possible values
along with their associated probabilities.
Example 1: The random variable X is the number of tails in two tosses of a coin.
What are the probabilities of the possible outcomes?
What is the probability distribution of X?
Solution:
Possible outcomes:
Each has probability ¼ so the probability distribution is:
X=No. of Tails 0 1 2
P(X) 1/4 1/2 1/4
What’s More
• Plot the values of the random variable (X, Y, etc.) along the horizontal axis.
• Plot the probabilities (P(X)) along the vertical axis.
X=No. of Tails 0 1 2 3
What I Can Do
2. Four coins are tossed. Let Y be the random variable representing the
number of heads that occur. Find the values of the random variable Y.
Value of the Random Variable Y Probability P(Y)
D. Solve the following problems.
1. A bakeshop owner determines the number of boxes of pandesal that are
delivered each day. Make a histogram and answer the questions that
follow.
Number of boxes X 35 36 37 38 39
2. The following data show the probabilities for the number of cars sold in
a given day at a car dealer store.
Number
0 1 2 3 4 5 6 7 8 9 10
of Cars X
0.10 0.15 0.25 0.15 0.08 0.08 0.06 0.05 0.04 0.02 0.02
P(X)
a) Find 𝑃(𝑋 ≤ 2)
b) Find 𝑃(𝑋 ≥ 7)
c) Find 𝑃(1 ≤ 𝑋 ≤ 5)
3. The daily demand for copies of a movie magazine at a variety store has
the probability distribution as follows.
Number
of Copies 0 1 2 3 4 5 6 7 8 9 10
X
P(X) 0.06 0.14 0.16 0.14 0.12 0.10 0.08 0.07 0.06 0.04 0.03
You have learned from Junior High School how to find the mean and
variance of ungrouped and grouped data. You’ve also learned that mean is called
the average or the central value of a discrete set of numbers. (Underhill, L.G.;
Bradfield D., 1998)
What’s In
To find out if you’re ready to learn this new lesson, do the following activity.
Write your answers on the space provided before each number.
What’s New
Step 1. Construct the probability distribution for the random variable X representing
the number of spots that would appear.
Solution:
Probability
Number of Spots
P(X)
1
1
6
1
2
6
1
3
6
1
4
6
1
5
6
1
6
6
Step 2. Multiply the value of the random variable X by the corresponding
probability.
Solution:
Probability
Number of Spots 𝑿 ∙ 𝑷(𝑿)
P(X)
1 1
1
6 6
1 2
2
6 6
1 3
3
6 6
1 4
4
6 6
1 5
5
6 6
1 6
6
6 6
∑ 𝑋 ∙ 𝑃(𝑋) = 𝟓. 𝟒𝟓
What Is It
where:
𝑋1 , 𝑋2 , 𝑋3 … 𝑋𝑛 are values of random variable X; and
𝑃(𝑋1 ), 𝑃(𝑋2 ), 𝑃(𝑋3 ) … 𝑃(𝑋𝑛 ) are the corresponding probability
What’s More
Grocery Items
The probabilities that a customer will buy 1, 2, 3, 4 or 5 items in a grocery
3 1 1 2 3
store are 10 , 10 , 10 , 10 𝑎𝑛𝑑 10 respectively. What is the average number of item that
a costumer will buy?
Solution:
Number of Items Probability
𝑿 ∙ 𝑷(𝑿)
X P(X)
3
1
10
1
2
10
1
3
10
2
4
10
3
5
10
∑ 𝑋 ∙ 𝑃 (𝑋) = ___________
Conclusion: ______________________________________________________
Answer the following questions. Write your answers on the space provided.
What I Can Do
In a school canteen, the number of ball pens (X) sold every recess time
varies from day to day. Past records indicate that the probability distribution of X is
as follows:
No. of Ball pens Probability
X P(X)
0 0.029
1 0.049
2 0.078
3 0.155
4 0.212
5 0.262
6 0.215
Questions:
1. What is the probability that exactly four ball pens are sold?
2. What is the probability that at least two ball pens are sold?
3. What is the probability that at least two but fewer than five ball pens are
sold?
4. What is the mean of the probability distribution? Use the given formula and
solve.
5.
Additional Activity
Think about the answers to the questions below. Discuss your ideas with
other students.
You have learned from Junior High School how to find the mean and
variance of ungrouped and grouped data. You’ve also learned that variance and
standard deviation describe the amount of spread, dispersion or variability of the
items in a distribution.
What’s In
A. Compute the variance of this frequency distribution. Use the space below to
show your complete solution.
Score Number of Students
5 3
8 5
10 4
12 5
15 3
What’s New
1 1⁄ 1⁄ −1.9
10 10
2 3⁄ 6⁄ −0.9
10 10
3 3⁄ 9⁄ 0.1
10 10
4 2⁄ 8⁄ 1.1
10 10
5 1⁄ 5⁄ 2.1
10 10
29
∑ 𝑋 ∙ 𝑃 (𝑋 ) =
10
= 𝟐. 𝟗
Step 3. Square the results obtained in Step 2.
Number of
Probability
Nuts 𝑿 ∙ 𝑷(𝑿) 𝑿−𝝁 (𝑿 − 𝝁)𝟐
P(X)
X
1 1
1 −1.9 3.61
10 10
3 6
2 −0.9 0.81
10 10
3 9
3 0.1 0.01
10 10
2 8
4 1.1 1.21
10 10
1 5
5 2.1 4.41
10 10
∑ 𝑋 ∙ 𝑃 (𝑋 )
29
= = 𝟐. 𝟗
10
Step 4. Multiply the results obtained in Step 3 by the corresponding probability.
Number
Probability
of Nuts 𝑿 ∙ 𝑷(𝑿) 𝑿−𝝁 (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
P(X)
X
1 1
1 −1.9 3.61 0.361
10 10
3 6
2 −0.9 0.81 0.486
10 10
3 9
3 0.1 0.01 0.009
10 10
2 8
4 1.1 1.21 0.968
10 10
1 5
5 2.1 4.41 2.205
10 10
∑ 𝑋 ∙ 𝑃 (𝑋 )
𝜎 2 = ∑(𝑋 − 𝜇)2 ∙ 𝑃(𝑋)
29
= = 𝟐. 𝟗 = 𝟒. 𝟎𝟐𝟗
10
Step 5. Get the square root of the variance to get the standard deviation.
The variance of the probability distribution is 4.029.
The standard deviation is 𝜎 = √4.029 = 𝟐. 𝟎𝟏.
Activity 2. Number of Items Sold
The number of items sold per day at a retail store, with its corresponding
probabilities, is shown in the table. Find the variance and standard deviation of the
probability distribution.
Number of Items Sold
Probability P(X)
X
19 0.20
20 0.20
21 0.30
22 0.20
23 0.10
Solution:
Step 1. Find the mean of the probability distribution using the formula
𝜇 = ∑ 𝑋 ∙ 𝑃(𝑋).
Number of Items Sold
Probability P(X) 𝑿 ∙ 𝑷(𝑿)
X
19 0.20 3.80
20 0.20 4.00
21 0.30 6.30
22 0.20 4.40
23 0.10 2.30
∑ 𝑿 ∙ 𝑷(𝑿) = 𝟐𝟎. 𝟖𝟎
Step 2. Subtract the mean from each value of the random variable X.
Number of Items
Sold Probability P(X) 𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁)
X
19 0.20 3.80 −1.8
20 0.20 4.00 −0.8
21 0.30 6.30 0.2
22 0.20 4.40 1.2
23 0.10 2.30 2.2
∑ 𝑿 ∙ 𝑷(𝑿)
= 𝟐𝟎. 𝟖𝟎
Step 3. Square the results obtained in Step 2.
Number of
Items Sold Probability P(X) 𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐
X
19 0.20 3.80 −1.8 3.24
20 0.20 4.00 −0.8 0.64
21 0.30 6.30 0.2 0.04
22 0.20 4.40 1.2 1.44
23 0.10 2.30 2.2 4.84
∑ 𝑿 ∙ 𝑷(𝑿)
= 𝟐𝟎. 𝟖𝟎
Step 4. Multiply the results obtained in Step 3 by the corresponding probability.
Number of
Items Sold Probability
𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
P(X)
X
19 0.20 3.80 −1.8 3.24 0.648
20 0.20 4.00 −0.8 0.64 0.128
21 0.30 6.30 0.2 0.04 0.012
22 0.20 4.40 1.2 1.44 0.288
23 0.10 2.30 2.2 4.84 0.484
∑ 𝑿 ∙ 𝑷(𝑿)
∑(𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿) = 𝟏. 𝟓𝟔
= 𝟐𝟎. 𝟖𝟎
Step 5. Get the square root of the variance to get the standard deviation.
The variance of the probability distribution is 1.56.
The standard deviation is 𝜎 = √1.56 = 𝟏. 𝟐𝟓.
What Is It
Where:
X = value of the random variable
P(X) = probability of the random variable X
𝜇 = mean of the probability distribution
What’s More
The Number of Heads
When three coins are tossed, the probability distribution for the random
variable X representing the number of heads that occur is given below. Compute
the variance and standard deviation of the probability distribution.
Number of Probability
𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
Heads X P(X)
1
0
8
3
1
8
6
2
8
3
3
8
∑ 𝑿 ∙ 𝑷(𝑿)
∑(𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿) = __________
= _________
Answer the following questions. Write your answers on the space provided.
What I Can Do
The number of computers sold per day at a local computer store, along with
its corresponding probabilities, is shown in the table. Find the variance and
standard deviation of the distribution.
Number of
Probability
Computers 𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
P(X)
Sold X
0 0.1
1 0.2
2 0.3
3 0.2
4 0.2
∑ 𝑿 ∙ 𝑷(𝑿)
∑(𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿) = __________
= _________
Direction: Choose the letter that corresponds to the correct answer. Write your
answers on the space provided before each number.
_____ 1. Which of the following is a discrete random variable?
a. The average amount of electricity consumed
b. The number of patients in a hospital
c. The amount of paint used in repainting a building
d. The average weight of female athletes
_____ 2. If two coins are tossed, which is not a possible value of the random
variable for the number of heads?
a. 0 b. 1 c. 2 d. 3
_____ 3. Which of the following statement is NOT TRUE?
a. The value of a random variable could be zero.
b. Random variables can only have one value.
c. The probability of the value of a random variable could be zero.
d. The sum of all the probabilities in a probability distribution is
always equal to one.
For items 4-8, identify whether the given variable is discrete or continuous.
Write D if it is discrete and C if it is continuous.
_____ 4. The number of books in the library
_____ 5. The lifetime in hours of 15 flashlights
_____ 6. The number of tourists each day in museum
_____ 7. The capacity of water dams in a region
_____ 8. The weight of Grade 1 pupils
Lesson 1
• What I Know
A.
1. Discrete random variable
2. Discrete random variable
3. Continuous random variable
4. Discrete random variable
5. Continuous random variable
6. Continuous random variable
7. Continuous random variable
8. Discrete random variable
9. Continuous random variable
10. Continuous random variable
B.
Value of the Random Variable X
Possible Outcomes
(Number of Defective Cellphones)
NNN 0
NND 1
NDN 1
DNN 1
NDD 2
DND 2
DDN 2
DDD 3
x 0 1 2 3
• Assessment
A.
1. Continuous random variable
2. Discrete random variable
3. Continuous random variable
4. Continuous random variable
5. Continuous random variable
6. Discrete random variable
7. Continuous random variable
8. Discrete random variable
9. Discrete random variable
10. Discrete random variable
B.
Value of the Random Variable A
Possible Outcomes
(Number of Heads)
TTTT 0
TTTH 1
TTHT 1
THTT 1
HTTT 1
TTHH 2
THHT 2
HHTT 2
HTTH 2
THTH 2
HTHT 2
THHH 3
HTHH 3
HHTH 3
HHHT 3
HHHH 4
C.
1.
Value of the
Random Variable Probability P(X)
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
X
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6) 2 1/36
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6) 3 2/36
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6) 4 3/36
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6) 5 4/36
6 5/36
7 6/36
The values of the random variable 8 5/36
X are 2,3,4,5,6,7,8,9,10,11,and 12. 9 4/36
10 3/36
11 2/36
12 1/36
2.
Value of the Random Variable
Probability P(Y)
Y
0 1/16
1 4/16
2 6/16
3 4/16
4 1/16
Lesson 2
• What’s In
A.
1. B
2. C
3. A
4. B
5. D
B.
Score (X) No. of Students (f) f(X)
42 8 336
50 12 600
9 477 ∑ 𝑓𝑋 1,863
53 𝑥̅ = = = 46.58 ≈ 𝟒𝟕
𝑛 40
38 7 266
46 4 184
n = 40 1,863
• What’s More
Conclusion: Therefore, the average number of items that a costumer will buy
is 3.1.
• What I Can Do
1. 0.212
2. 0.156
3. 0.707
4. 4.118
Lesson 3
• What’s In
No. of
Score (X) Students (f)
f(X) ̅)
(𝒙 − 𝒙 ̅ )𝟐
(𝒙 − 𝒙 ̅ )𝟐
𝒇(𝒙 − 𝒙
5 3 15 −5 25 75
8 5 40 −2 4 20
10 4 40 0 0 0
12 5 60 2 4 20
15 3 45 5 25 75
𝝈𝟐 = 𝟏𝟗𝟎
𝑛 = 20 𝑥̅ = 10 𝝈 = √190
= 𝟏𝟑. 𝟕𝟖
• What’s More
Number of Probability
𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
Heads X P(X)
1
0 0 −3 9 1.125
8
3 3
1 −2 4 1.50
8 8
6 12
2 −1 1 0.75
8 8
3 9
3 0 0 0
8 8
∑ 𝑿 ∙ 𝑷(𝑿)
24 ∑(𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿) = 𝟑. 𝟑𝟕𝟓
= =𝟑
8
• What I Can Do
Number of
Probability
Computers 𝑿 ∙ 𝑷(𝑿) (𝑿 − 𝝁) (𝑿 − 𝝁)𝟐 (𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿)
P(X)
Sold X
∑ 𝑿 ∙ 𝑷(𝑿)
∑(𝑿 − 𝝁)𝟐 ∙ 𝑷(𝑿) = 𝟏. 𝟓𝟔
= 𝟐. 𝟐
Belecina, Rene R. et. al. Statistics and Probability. P. Florentino ST., Sta. Mesa
Heights, Quezon City: Rex Printing Company, Inc., 2016
For inquires or feedback, please write or call:
(Office Address)
Telefax:
Email Address