Chapter 3
General Random Variables
Peng-Hua Wang
Graduate Institute of Communication Engineering National Taipei University
Chapter 3 General Random Variables Peng-Hua Wang Graduate - - PowerPoint PPT Presentation
Chapter 3 General Random Variables Peng-Hua Wang Graduate Institute of Communication Engineering National Taipei University Chapter Contents 3.1 Continuous Random Variables and PDFs 3.2 Cumulative Distribution Functions 3.3 Normal Random
Graduate Institute of Communication Engineering National Taipei University
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 2/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 3/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 4/37
■ Let X be the arrival time of a bus. X is a continuous
■ The sample space Ω = [p, q]. For any point c ∈ Ω,
■ We can find P(x ≤ a), P(a < X ≤ b), or
■ Let FX(x) = P(X ≤ x). We know that
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 5/37
■ Let
■ We have
■ Therefore, P(X ∈ B) can be evaluated in terms of
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 6/37
■ fX(x) is called the probability density function (PDF) of
■ FX(x) = P(X ≤ x) is called the cumulative distribution
◆ fX(x) ≥ 0 ◆ ∞
◆ P(x < X < x + δ) ≈ fX(x) · δ if δ is small.
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 7/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 8/37
■ A PDF can take arbitrarily large values.
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 9/37
■ The mean or expectation of a continuous random
■ The kth moment is E[Xk] = ∞
■ The variance of X is
■ The mean of new RV Y = g(X) is
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 10/37
■ The expectation is well-defined if
■ A not-well-defined random variable: Cauchy RV. Its PDF
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 11/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 12/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 13/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 14/37
■ The cumulative distribution function (CDF) of a rv X,
−∞ fX(x)dx,
■ CDF is exactly probability. PDF is NOT probability. ■ Note the “ ≤ ” in the definition. ■ “Any random variable associated with a given
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 15/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 16/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 17/37
■ Definition: FX(x) P(X ≤ x) ■ Monotonically nondecreasing: If x ≤ y, then
■ FX(−∞) = 0, FX(+∞) = 1 ■ If X is discrete, FX(x) is piecewise constant. If X is
■ If X is discrete,
■ If X is continuous,
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 18/37
■ Let X1, X2 and X3 be 3 independent discrete random
■ Let X1, X2 and X3 be 3 independent continuous random
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 19/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 20/37
■ c =
■ E[X] = µ ■ Var(X) = σ2
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 21/37
■ A standard normal rv Y is the normal rv with µ = 0 and
■ Φ(−y) = 1 − Φ(y) because The PDF of standard normal
■ For normal rv X with mean µ and variance σ2, we know
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 22/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 23/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 24/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 25/37
■ X and Y are two continuous random variables. Their
■ Joint PDF is
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 26/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 27/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 28/37
■ If a < x < b and c < y < d, find c. ■ If |x| + |y| ≤ r, find c. ■ If
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 29/37
■ E[aX + bY + c] = aE[X] + bE[Y] + c ■ You can easily extend the results of two random
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 30/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 31/37
■ Conditioning CDF and PDF
■ Special case: A = {X ∈ B}
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 32/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 33/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 34/37
■ Let X and Y be continuous random variables with joint
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 35/37
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 36/37
■ Definition.
■ Total expectation. Let A1, A2, . . . , An form a partition of
Peng-Hua Wang, April 24, 2012 Probability, Chap 2 - p. 37/37
■ Two continuous random variables X and Y are
■ Three continuous random variables X, Y and Y are
■ If X and Y are independent, we have