Chapter 4 - Continuous Random Variables and Probability Distribution
Chapter 4 - Continuous Random Variables and Probability Distribution
interval in
height
durations or weight
of time
waiting time
Chapter 4 - Continuous Random Variables 3
Probability Density Function (pdf)
“density” is a measure of
f(x) 0 “probability mass” per unit length
Probability determined from the area under f(x). pdf
න 𝑓 𝑥 𝑑𝑥 = 1
f(x)
−
Ex. Let X be a continuous random variable and
suppose that f(x) = cx2, for -1 < x < 2, and 0 otherwise
𝑏
is the pdf of X. P(a X b) = 𝑓 𝑥 𝑑𝑥
𝑎
a/ Find c
b/ Find P(X 0) = P(a X < b)
------ = P(a < X b) P(X = x0) = 0
2 (different from pmf)
a/ − 𝑓 𝑥 𝑑𝑥 = −1 cx2𝑑𝑥 = c(8/3 +1/3) = 3c = P(a < X < b)
f(x) is the pdf of X − 𝑓 𝑥 𝑑𝑥 = 1 c = 1/3
2
b/ P(X 0) = 0 (1/3)x2𝑑𝑥 = 8/9
Chapter 4 - Continuous Random Variables 4
Probability Density Function Pdf – Ex
The lifetime, in years, of some electronic component is a
continuous random variable with the probability density function
𝑘
𝑓 𝑥 = ቐ 𝑥3 𝑓𝑜𝑟 𝑥 > 1
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Find k and compute the probability for the lifetime to exceed 5
years.
3
• − 𝑓 𝑥 𝑑𝑥 = 1 k/x 𝑑𝑥 = -k(0 – 1)/2 = 1 k = 2
x
P(a X b) cdf
F(x) = න 𝑓 𝑢 𝑑𝑢 Pdf: f(x) = x2/3, for -1 < x < 2
= F(b) – F(a) F(x)
−
Variance: Uniform
pdf:
2 = (b – a)2/12 Distribution f(x) = 1/(b-a)
For h > 0,
Mean: P(t < X < t + h) = h/(b-a)
= (a + b)/2 is independent of t
Ex. Tri is taking a bus from Dist.1 to Thu Duc city, a distance of 15km. His position is uniformly
distributed between the two areas. What is the probability that he is past Saigon Bridge, which
is 5km from Dist.1?
Let X be Tri’s location ➔ X ∼ Unif(0, 15) ➔ P(X > 5) = (5 < X < 15) = (15 – 5)/(15 – 0) = 2/3.
Normal
N(, 2) distribution Related to the Central Limit Theorem (chapter 7)
Bell-shaped curve
0.93319
(5) P(Z < -4.6) cannot be found exactly from (7) Find z such that
Appendix Table III. The last entry in the P(-z < Z < z) = 0.99.
table can be used to find that P(Z < -3.99) = ➔ Find z such that
0.00003. So, 0 P(Z < -4.6) < P(Z < -3.99). P(Z z) = 0.995
Practical Interpretation: Probabilities for any normal random variable can be computed with a simple
transform to a standard normal random variable.
DIFFICULT!
Use normal distribution to approximate
DIFFICULT!
AN APPROXIMATION
Exp.
distribution
Continuous
Uniform
Continuous
variables can take Continuous
any value of an r. v.
Normal
interval in
Exponential