Continuous Random Variables and Probability Distribution: Learning Objectives
Continuous Random Variables and Probability Distribution: Learning Objectives
Continuous Random Variables and Probability Distribution: Learning Objectives
Example:
1. The height of a student at FPT university can be any number
between 150cm – 190cm.
2. The weight of a newborn can be any number between
0.5kg - 4.5kg.
Probability density function (pdf)
Definition
The
probability density function (pdf) of a continuous
random variable X is a function such that:
1.
2.
3.
2 12
cdf: 0 xa
xa
F ( x) a xb
b a
1 bb
Continuous uniform distribution
Example 1: Suppose X has a continuous uniform distribution
over the interval [1;10].
• Determine the mean, variance and standard deviation of X.
• Find P(X<6.5).
• Determine the cumulative distribution function of X.
pdf: f (x) e 2
, x
2 2
01/06/2022
Standard normal distribution
Notation: Z = N(0,1)
x2
1
pdf: f ( x) e 2
, x
2
x2
z
e 2
cdf: ( z )
2
dx .
Example
Example 1:
1: Find
Find the
the standard
standard normal-curve
normal-curve area
area between
between zz == −1
−1 and
and zz == −0.4?
−0.4?
Hint:
Hint: Use
Use Appendix
Appendix Table
Table III
III or
or NORM.S.DIST(a;1)
NORM.S.DIST(a;1) in
in Excel
Excel to
to find
find P(z<a).
P(z<a).
Example
Example 2:
2: Assume
Assume that
that zz scores
scores are
are normally
normally distributed
distributed with
with aa mean
mean of
of 00 and
and aa standard
standard
deviation
deviation of
of 1.
1. If
If P(z
P(z << a)
a) == 0.1487,
0.1487, find
find a.
a.
Hint:
Hint: Use
01/06/2022 Use Appendix
Appendix Table
Table III
III or
or NORM.S.INV(p)
NORM.S.INV(p) in
in Excel
Excel to
to find
find aa such
such that
that
Normal distribution
Standardizing
If X = N(µ, σ2) then
X
Z
is a standard normal random variable N(0, 1).
Example
Example 1:
1: A
A machine
machine pours
pours beer
beer into
into 16
16 oz.
oz. bottles.
bottles. Experience
Experience has
has shown
shown that
that the
the
number
number of
of ounces
ounces poured
poured is
is normally
normally distributed
distributed with
with aa standard
standard deviation
deviation of
of 1.3
1.3
ounces.
ounces. Find
Find the
the probabilities
probabilities that
that the
the amount
amount of
of beer
beer the
the machine
machine will
will pour
pour into
into the
the
next
next bottle
bottle will
will be
be more
more than
than 16.25
16.25 ounces.
ounces.
Example
Example 2:
2: The
The tread
tread life
life of
of aa particular
particular brand
brand of
of tire
tire is
is aa random
random variable
variable best
best
described
described by
by aa normal
normal distribution
distribution with
with aa mean
mean of
of 65,000
65,000 miles
miles and
and aa standard
standard
deviation
deviation of
of 1,500
1,500 miles.
miles. What
What warranty
warranty should
should the
the company
company use
use ifif they
they want
want 95%
95% of
of
Approximation using Normal distribution
Normal Approximation to the Binomial Distribution
If X has a Binomial distribution B(n, p) then random variable
X np
Z
np (1 p )
is approximately a standard random variable N(0,1).
x 0.5 np
P( X x) P( Z )
We have np (1 p )
x 0.5 np
P( X x) P( Z )
np (1 p)
We have 𝑥 +0.5− λ
𝑃 ( 𝑋 ≤ 𝑥)≈ 𝑃 (𝑍 ≤ )
√λ
𝑥 − 0.5 − λ
𝑃 ( 𝑋 ≥ 𝑥)≈ 𝑃 (𝑍 ≥ )
√λ
Remark: The approximation is good for λ > 5.
Approximation using Normal distribution
f (x) =l e- l x , x ³ 0