Professional Documents
Culture Documents
CHAP1 - Random Variables and Probability Distribution MOD1-2
CHAP1 - Random Variables and Probability Distribution MOD1-2
Distribution” MOD1-2
Last Edited @February 4, 2022 4:13 PM
Class SHS_STAT 🔢
Week 1
experiment is an activity that produces outcomes. (i.e. tossing three coins and counting the number of heads)
random variable - a numerical quantity that represents the outcome of an experiment; denoted by any uppercase letter
(e.g. X, Y, A)
💡 a random variable is a function that maps the outcomes of a random process to a numeric value. That is,
X: Outcome → Number
ex. Number of defective iPads produced by Apple in a ex. Amount of sugar in a cup of milk tea, Speed of vehicle
specific plant, Number of female athletes in a University travelling along NLEX
Example 1.
In a box are two (2) balls — one white and one black, two balls are picked one at a time with replacement.
List down all the possible outcomes and the values of the random variable X representing the number of white balls drawn
using the table below
Black, White 1
White, Black 1
White, White 2
Example 2.
A manufacturer produces laptops. Suppose three unites are tested by the quality assurance team and they want to find the
number of defective units that occur. Let S represent the defective units and N the non-defective units. Show the values of the
NNN 0
NND 1
NDN 1
DNN 1
NDD 2
DND 2
DDN 2
DDD 3
Example 3.
In an experiment four coins are tossed. Let M be the random variable representing the number of tails that occur. Find the
values of the random variable M. Use a table.
HHHT
HHTH
HTHH
THHH
TTHH
HTTH
HHTT
HTTT
THTT
TTHT
TTTH
TTTT
THHT
etc.. (up until 16)
Using FPM:
Probability Distribution
💡 The notation used for the probability distribution of a discrete random variable:
P(X) or P(X=k)
Where P(X) represents the probability of the random variable and k represents the value of the random variable.
ex.
Types of Probability
likelihood of an event that is based of theory (mathematics). observing the outcomes. Its formula is:
n(E) Where:
P (E) =
n(S) f is the frequency or the number of times E occurred
it is only valid if the two following are satisfied (do not continue if one isn’t satisfied because it will be invalid):
1. The probability of each event in the sample space must 2. The sum of the probabilities of all events in the sample
be between or equal to 0 to 1. space must be equal to 1 (or in percentages, 100%)
0 ≤ P (X) ≤ 1 ∑ P (X) = 1
Example 1.
In a box are two (2) balls — one white and one black, two balls are picked one at a time with replacement. With the
numbers of white balls drawn construct the probability distribution table.
(a.) (b.)
(c.)
n(E) 1
P (X = 2) = n(S )
= 4
= 0.25
1. is satisfied 2. is satified
Example 2.
Suppose a die is rolled 2 times. Let X = number of times a 6 comes up. Answer the following:
c. What is the probability that one out of the 2 rolls will give 6?
Answer for a.
We need the: In rolling a die twice and the number of times six (6) comes
up:
1. values of the random variable, and
The values of the random variable is X = 0, 1, 2
2. values that will be used to compute for the probability
no (0) six
n(E)
one (1) six
n(S)
two (2) six
1 2 3 4 5 6
n(S) = n1 ∗ n2
1 1,1 1,2 1,3 1,4 1,5 1,6 n(S) = 6 ∗ 6
2 2,1 2,2 2,3 2,4 2,5 2,6 n(S) = 36
3 3,1 3,2 3,3 3,4 3,5 3,6
4 4,1 4,2 4,3 4,4 4,5 4,6
n(E = 0) = 5 ∗ 5 = 25
5 5,1 5,2 5,3 5,4 5,5 5,6
n(E = 1) = (5 ∗ 1) + (1 ∗ 5) = 10
6 6,1 6,2 6,3 6,4 6,5 6,6
n(E = 2) = 1 ∗ 1 = 1
X P(X)
1. is satisfied 2. is satified
the probability that out of the 2 rolls there wouldn’t be a 6? the probability that out of the 2 rolls there would be a 6?
P (X = 0) = 25 P (X = 2) = 1
Example 3.
Number of Pets at Home Frequency
The result of a survey given to Senior High School 0 5
students is shown:
1 4
Construct the probability distribution for the random 2 6
variable Y, the number of pets that they have at home,
3 8
and determine the chance that a senior high school
4 1
student have three (3) pets at home.
5 1
Solution:
Answer:
The probability of a high school student having three (3) pets at home is:
8
P (Y = 3) = P (3) = 25
= 0.3200
or 32%.
Example 4.
Laboratory Number of Students who Committed
A nursing school is investigating the number of reported Accidents (X) Laboratory Accidents (f)
laboratory accidents committed by their students while 0 25
on their internship program. These are on-the-job 1 15
training related accidents over a period of one month.
2 2
3 5
4 2
5 1
n(S) = f0 + f1 + f2 + f3 + f4 + f5
n(S) = 25 + 15 + 2 + 5 + 2 + 1
n(S) = 50
P (X) = ∑ P (X = 4) ≤ P (X = k)
P (X) = P (X = 4) + P (X = 5)
P (X) = 0.0400 + 0.0200 = 0.0600
or 6%
P (X) = ∑ P (X = k) ≤ P (X = 3)
P (X) = P (X = 0) + P (X = 1) + P (X = 2) + P (X = 3)
P (X) = 0.5000 + 0.3000 + 0.0400 + 0.1000 = 0.9400
or 94%