Professional Documents
Culture Documents
Lesson 3
Lesson 3
RANDOM
VARIABLES AND
PROBABILITY
DISTRIBUTION
1
Click to edit Master title style
“
What is Random
Variable?
A variable whose value is
determined by a random
experiment
2
Click to edit Master title style
Random Variable
A random variable in
probability is most commonly
denoted by capital X, and the
small letter x is then used to
ascribe a value to the random
variable. 3
Click to edit Master title style
Random Variable
EXAMPLE:
You flip a coin twice,
Give the possible
outcomes
4
PROBABILITY TREE DIAGRAM
Click to edit Master title style
5
Click to edit Master title style
Random Variable
Possible outcomes:
S = Sample space
H= Head
T= Tails
•𝑆 = 𝐻 𝐻, 𝐻 𝑇, 𝑇𝐻, 𝑇𝑇
6
Click to edit Master title style
Random Variable
The random variable X can
be given by the following:
𝐻𝐻
𝐻𝑇
𝑋=
𝑇𝐻
𝑇𝑇
7
Click to edit Master title style
Random Variable
To find the probability of one of those
out comes we denote that question as:
𝑃 𝑋=𝑥
Which means that the probability that
the random variable is equal to some
real number x. 8
Click to edit Master title style
What is Discrete
Random Variables?
10
Click to edit Master title style
“ What is Discrete?
The word discrete
means separate and
individual.
11
Click to edit Master title style
“
What is Discrete
Random Variables?
Table or formula that lists
the probabilities for each
outcomes of the random
variable “x” 12
Click to edit Master title style
“
What is Discrete
Random Variables?
Thus discrete random variables
are those that take on integer
values only. They never include
fractions or decimals. 13
Click to edit Master title style
Discrete Random Variable
Example
•The sample space of any number of
coin flips, the outcomes will always be
integer values, and you'll never have
half heads or quarter tails.
14
Click to edit Master title style
Discrete Random Variable
Such a random variable
is referred to as discrete.
Discrete random variables give rise
to Discrete Probability Distributions.
15
Click to edit Master title style
What is Probability
“ Distributions?
Mapping of all the possible values
of a random variable to their
corresponding probabilities for a
given sample space.
16
Click to edit Master title style
Probability Distribution
•The probability distribution is denoted as;
𝑃 𝑋=𝑥
•Which can be written in short form as;
𝑃 𝑥
17
Click to edit Master title style
Probability Distribution
The probability distribution can also be
referred to as a set of ordered pairs of
outcomes and their probabilities.
This is known as the probability
function f(x).
18
Click to edit Master title style
Probability Distribution
This set of ordered pairs can be
written as:
𝒙, 𝒇 𝒙
Where the function is defined as:
𝒇 𝒙 =𝑷 𝑿=𝒙
19
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
EXAMPLE:
Clare tossed a coin three times.
A. Draw a tree diagram to show
all the possible outcomes.
B. Find the probability of getting
•Three tails.
•Exactly two heads.
20
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
TREE
DIAGRAM
Possible
outcomes.
21
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑥 0 1 2 3
1 3 3 1
𝑃(𝑋 = 𝑥)
8 8 8 8
22
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
The probability of getting Three tails.
Let:
X be the sample space
x be the event of getting 3 tails.
23
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑥 0 1 2 3
1 3 3 1
𝑃(𝑋 = 𝑥)
8 8 8 8
24
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
So now we′ve been told what X is and
that x = 1, so we write the above
information as:
𝑃 𝑋=𝑥
𝑃 𝑋=1
25
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
Since we already have the sample space,
we know that there is only one outcomes
1
with Three Tails,𝑃 𝑋 = 1 =
8
We can also simply write the above as:
1
𝑃 𝑋 =
4 26
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
The probability of getting exactly two
Heads.
Let:
X be the sample space
x be the event of getting exactly two
Heads.
27
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑥 0 1 2 3
1 3 3 1
𝑃(𝑋 = 𝑥)
8 8 8 8
28
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑃 𝑋=𝑥
𝑃 𝑋=3
3
𝑃 𝑋=3 =
8
3
𝑃 𝑋 =
8
29
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
•Example:
A spinner is labeled with three colors: Red, Green
and Blue. Marcus spun the spinner once and
tossed a coin once.
a) Draw a tree diagram to list all the
possible outcomes.
b) Calculate the probability of getting blue
on the spinner and head on the coin.
c) Calculate the probability of red or green
on the spinner and tail on the coin. 30
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
31
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
The probability of getting blue on the
spinner and head on the coin.
Let:
X be the sample space
x be the event of getting blue and
head
32
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
33
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑃 𝑋=𝑥
𝑃 𝑋=1
1
𝑃 𝑋=1 =
6
1
𝑃 𝑋 =
6
34
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
The probability of red or green on the
spinner and tail on the coin.
Let:
X be the sample space
x be the event of getting red or
green and tail
35
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
36
Click to edit Master title style
DISCRETE PROBABILITY DISTRIBUTION
𝑃 𝑋=𝑥
𝑃 𝑋=2
2
𝑃 𝑋=2 =
6
2 1
𝑃 𝑋 = 𝑜𝑟
6 3 37
Click to edit Master title style
Cumulative
Distribution
Function (CDF)
38
Click to edit Master title style
Cumulative Distribution Function (CDF)
Is defined as the probability that a
random variable X with a given
probability distribution f(x) will be
found at a value less than x. The
cumulative distribution function is a
cumulative sum of the probabilities
up to a given point. 39
Click to edit Master title style
Cumulative Distribution Function (CDF)
𝑷 𝑿=𝒙 =𝒇 𝒙
𝒇 𝒙 ≥𝟎
𝒇 𝒙 =𝟏
𝒙 45
Cumulative
Click Distribution
to edit Master Function (CDF)
title style
50
Cumulative
Click Distribution
to edit Master title style Function (CDF)
Below we see a table showing P(X ≤ x) for each
possible x
52
Cumulative
Click Distribution
to edit Master title style Function (CDF)
53
Click to edit Master title style
Discrete
Probability
Distributions
Expected Value of
Random Variables
54
Click to edit Master title style
Expected Value of Random Variables
59
Expected
Click to editValue
Master of
titleRandom
style Variables
𝑬 𝒙 = 𝒙 𝒑 𝒙
x p(x) 𝒂𝒍𝒍 𝒙
10 0.70
Pesos
50 0.25
Pesos
150 0.05
Pesos
60
Expected
Click to edit Value
Master of
titleRandom
style Variables
62
Expected
Click Value title
to edit Master of Random
style Variables
15 Pesos 0.05
63
Expected Value of Random Variables
Click to edit Master title style
x p(x)
30 × 0.23 =
30 Pesos 0.23 40 × 0.12 =
40 Pesos 0.12 25 × 0.48 =
25 Pesos 0.48
38 Pesos 0.12 38 × 0.12 =
15 Pesos 0.05 15 × 0.05 =
65
Click to edit Master title style
Expected Value of Random Variables
66
Click to edit Master title style
67
Credits: Archer
Click to edit Master title style
Day No. of Hours
Monday 5
Tuesday 6
Wednesday 0
Thursday 8
Friday 6
68
Expected
Click Valuetitle
to edit Master of Random
style Variables
70
Click to edit Master title style
71
Click to edit Master title style
•A binomial experiment is a
probability experiment that
satisfies the following
conditions:
73
Click to edit Master title style
Symbol Description
n The number of times a trial is
repeated
Symbol Description
q = P(F) The probability of failure in a
single trial. (q = 1 – p)
x The random variable represents a
count of the number of successes
in n trials: x = 0, 1, 2, 3, … , n.
77
Click to edit Master title style
•Formula used:
𝑃 𝑋 = 𝑟 = 𝑛𝐶𝑟 𝑝 𝑞𝑟 𝑛−𝑟
•Where:
𝑛!
𝑛𝐶𝑟 =
𝑟! 𝑛 − 𝑟 !
78
Click to edit Master title style
𝑟 𝑛−𝑟
𝑃 𝑋 = 𝑟 = 𝑛𝐶𝑟 𝑝 (1 − 𝑝)
Combination
random Probability of
of r successes
variable X failure
from n trials 79
Click to edit Master title style
𝑃 𝑋 = 3 = 0.24 𝑜𝑟 24% 81
Click to edit Master title style
𝑃 𝑋 = 1 = 0.441 𝑜𝑟44.1% 83
Click to edit Master title style
•Example:
A bag contains 10 chips. 3 of the chips
are red, 5 of the chips are white, and 2
of the chips are blue. Four chips are
selected, with replacement. Create a
probability distribution for the number of
red chips selected.
84
Click to edit Master title style
Given:
p = (the probability of selecting a red
3
chip) = 0.3
10
n = 3
r = 1
85
Click to edit Master title style
x P (x)
The binomial
0 0.240
probability
1 0.412
formula is used
2 0.265
3 0.076
to find each
4 0.008
probability.
86
Click to edit Master title style
Example:
The following probability distribution represents the
probability of selecting 0, 1, 2, 3, or 4 red chips when
4 chips are selected.
x P (x) a.) Find the probability of selecting no
0 0.240
1 0.412
more than 3 red chips.
2 0.265
b.) Find the probability of selecting at
3 0.076
4 0.008 least 1 red chip.
87
Click to edit Master title style
Example:
The following probability distribution represents the
probability of selecting 0, 1, 2, 3, or 4 red chips when
4 chips are selected.
x P (x)
0 0.240
a) P (no more than 3) = P (x 3) = P (0) + P
1 0.412 (1) + P (2) + P (3)
2 0.265 = 0.24 + 0.412 + 0.265 + 0.076 = 0.993
3 0.076
4 0.008
88
Click to edit Master title style
Example:
The following probability distribution represents the
probability of selecting 0, 1, 2, 3, or 4 red chips when
4 chips are selected.
x P (x)
0 0.240
1 0.412 b.) P (at least 1) = P (x 1) = 1 – P (0)
2 0.265 = 1 – 0.24 = 0.76
3 0.076
4 0.008
89
Click to edit Master title style
Example:
The following probability distribution represents the
probability of selecting 0, 1, 2, 3, or 4 red chips when 4 chips
are selected. Graph the distribution using a histogram.
x P (x)
0 0.240
1 0.412
2 0.265
3 0.076
4 0.008
90
Click to edit Master title style
Mean: 𝜇 = 𝑛𝑝
2
Variance: 𝜎 = 𝑛𝑝𝑞
Standard deviation: 𝜎 = 𝑛𝑝𝑞
91
Click to edit Master title style
• Example:
One out of 5 students at a local college say that
they skip breakfast in the morning. Find the mean,
variance and standard deviation if 10 students are
randomly selected.
n 10 μ np 2
σ npq σ npq
1
p 0.2
5
10(0.2) (10)(0.2)(0.8) 1.6
q 0.8 2 1.6 1.3 92
Click to edit Master title style
Poisson
Distribution
93
Click to edit Master title style
DEFINATION
•IS A TOOL THAT HELPS TO
PREDICT THE PROBABILITY OF
CERTAIN EVENT EVENTS FROM
HAPPENING WHEN YOU KNOW
HOW OFTEN THE EVENT HAS
OCCURRED. 94
DEFINATION
Click to edit Master title style
Thank you…
98