Slide Chap4
Slide Chap4
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.
F (x ) := ò f (t )dt
- ¥
for -∞ < x < +∞.
F’(x) = f(x)
Cumulative distribution function (cdf)
Example 1: Suppose the cumulative distribution function of the
random variable X is ìï 0, if x < 1
ïï
F (x ) = ïí 0.5x - 0.5, if 1 £ x < 3
ïï
ïï 1, if x ³ 3
î
Find
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
13/03/2024
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 2: Assume that z scores are normally distributed with a mean of 0 and a standard
Hint: Use
13/03/2024 Appendix Table III or NORM.S.INV(p) in Excel to find a such that
Normal distribution
Standardizing
If X = N(µ, σ2) then
X
Z
is a standard normal random variable N(0, 1).
Example 1: A machine pours beer into 16 oz. bottles. Experience has shown that the
ounces. Find the probabilities that the amount of beer the machine will pour into the
Example 2: The tread life of a particular brand of tire is a random variable best
deviation of 1,500 miles. What warranty should the company use if they want 95% 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