Stat-Module 1 - Random Variable
Stat-Module 1 - Random Variable
Stat-Module 1 - Random Variable
DATA
Examples:
1. Flip a coin
2. Flip a coin 3 times
3. Roll a die
5
Probability
Probability is a numerical measure of the likelihood
that an event will occur.
1 RANDOM VARIABLES
OBJECTIVES:
At the end of the session, the students
shall be able to:
• Define Random Variables;
• Differentiate discrete and continuous
random variables; and
• Solve the values of random variable in an
experiment with patience and eagerness.
13
Steps in finding the values of
random variable in an
experiment
✘ List the sample space of the
experiment.
✘ Count the number of the random
variable in each outcome and assign
this number to the outcome.
14
Example: Supposed two coins are
NUMBER OF HEADS (VALUES
tossed and we are interested to OUTCOME
OF H)
determine the number of heads that
will come out. Let us use H to HH 2
represent the number of heads that
HT 1
will come out. Determine the values
TH 1
of the random variable H.
TT 0
Step 1. List the sample space of the
experiment. Let H represent head
and T for tail. The values of the random
variable H (number of
Step 2. Count the number of the
random variable in each outcome
heads) in this experiment
and assign this number to this are 2, 1 and 0.
outcome.
H={2, 1, 0} 15
Remember
Illustrating a Probability Distribution for a
Discrete Random Variable and its Properties
• Probability Distribution is a listing of the possible
values and the corresponding probabilities of a
discrete random variable. It is a correspondence
that assigns probabilities to the values of random
variable. It is also called the probability mass
function.
16
Steps in finding the probability
distribution of the discrete
random variable:
✘ List the sample space of the experiment.
✘ Count the number of the random variable in each
outcome and assign this number to this outcome.
✘ Construct the frequency distribution of the values
of the random variable.
✘ Construct the probability distribution of the values
of the random variable by getting the probability of
occurence.
17
Example 1
Supposed two coins are tossed and we are interested to
determine the number of heads that will come out. Let
us use H to represent the number of heads that will
come out. Determine the values of the random variable
H.
✘Step 1. List the sample space of the
experiment. Let H represent head and T for
tail.
S= {HH, HT, TH, TT}
18
Example 1
✘ Step 2. Count the number of the random
variable in each outcome and assign this
number to this outcome.
NUMBER OF HEADS
OUTCOME
(VALUES OF H)
HH 2
HT 1
TH 1
TT 0
19
Example 1
✘ Step 3. Construct the frequency distribution
of the values of the random variable.
NUMBER OF
NUMBER OF HEADS
OCCURENCE PROBABILITY P(H)
(VALUES OF H)
(FREQUENCY)
2 1 1/4
1 2 2/4 or 1/2
0 1 1/4
TOTAL 4 1
21
Example 2
A basket contains 10 ripe and 4 unripe bananas. If
three bananas are taken from the basket one after the
other, determine the possible values of the random
variable R representing the number of ripe bananas.
R={3, 2, 1, 0} 23
Example 2
✘ Step 3. Construct the frequency distribution
of the values of the random variable.
24
Example 2
✘ Step 4. Construct the probability distribution
of the values of the random variable R by
getting the probability of occurence.
NUMBER OF RIPE (VALUES NUMBER OF OCCURENCE
PROBABILITY P(R)
OF R) (FREQUENCY)
3 1 1/8
2 3 3/8
1 3 3/8
0 1 1/8
TOTAL 8 1
25
Properties of a Discrete Probability DistributionFind the following:
26
Properties of a Discrete Probability Find the following:
Distribution
Consider the probability distribution
below (Based on example 1):
PROBABILITY
H P(H) Solution:
1. P(H=2) = 1/4
2 1/4
2. P(H=1) = 1/2
1 2/4 or 1/2 3. P(H>1)= 1/4
0 1/4 4. P(H<2) = P(1) + P(0) =
1/2 + 1/4 = 3/4
5. ΣP(H) = P(2) + P(1) +
P(0) = 1/4 + 1/2 + 1/3 = 4/4
OR 1
27
Watch out!
28
QUESTIONS?
Everything is Mathematics.
29
THANK YOU PO,
KEEP SAFE AND
GOD BLESS!
31