

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Chapter 8 lecture notes Math331, Fall 2008 Instructor: David Anderson
Definition 1. Let X and Y be two discrete RVs. X and Y are independent if for any sets of real numbers A and B
P {X ∈ A, Y ∈ B} = P {X ∈ A}P {Y ∈ B}.
Can show that this condition is equivalent to
P (X ≤ a, Y ≤ b) = P (X ≤ a)P (Y ≤ b)
holding for any real numbers a, b. Therefore,
Theorem 1. If F is the joint prob. dist. function for X and Y , then X and Y are inde- pendent random variables if and only if for all t, u ∈ R
F (t, u) = FX (t)FY (u).
Now to focus on Discrete Random Variables.
Let X, Y be discrete RVs with ranges E and F. Then X and Y are independent if for all x ∈ E and y ∈ F P (X = x, Y = y) = P (X = x)P (Y = y). This says something about the probability mass functions
Theorem 2. Let X and Y be two discrete RV on same sample space. If p(x, y) is joint p.m.f of X and Y then they are independent if and only if for all real x and y
p(x, y) = pX (x)pY (y).
Note that if x, y are in the ranges of X, Y , respectively, then
P (X = x | Y = y) =
P (X = x, Y = y) P (Y = y)
= P (X = x)
P (Y = y | X = x) =
P (Y = y, X = x) P (X = x)
= P (Y = y).
Not surprisingly, functions of independent RVs are independent
Theorem 3. Let X and Y be independent RVs and g : R → R and h : R → R be real valued functions; then g(X) and h(Y ) are also independent random variables.
Proof. Will show that
P (g(X) ≤ a, h(Y ) ≤ b) = P (g(X) ≤ a)P (h(Y ) ≤ b).
Let A = {x : g(x) ≤ A} and B = {y : h(y) ≤ b}. Then
P (g(X) ≤ a, h(Y ) ≤ b) = P (X ∈ A, Y ∈ B) = P (X ∈ A)P (Y ∈ B) = P (g(X) ≤ a)P (h(Y ) ≤ b).
Theorem 4. Let X and Y be independent RVs. Then for all real valued functions g and h,
E[g(X)h(Y )] = E[g(X)]E[h(Y )].
Proof. Let A, B be the ranges of X, Y , respectively. Let p(x, y) be the joint p.m.f. Then
E[g(X)h(Y )] =
x∈A
y∈B
g(x)h(y)p(x, y)
x∈A
g(x)
y∈B
h(y)pX (x)pY (y)
x∈A
g(x)pX (x)
y∈B
h(y)pY (y)
= E[g(X)]E[h(Y )].
Important application is: E[XY ] = E[X]E[Y ]
if X and Y are independent. CONVERSE IS IN GENERAL FALSE.
Example 1. Let R(X) = {− 1 , 0 , 1 } with p(−1) = p(0) = p(1) = 1/3. Let Y = X^2. Thus,
E[X] = (−1 + 0 + 1) ∗ (1/3) = 0. E[Y ] = 1 ∗ 1 /3 + 1 ∗ 1 /3 = 2/ 3. E[XY ] = (− 1 ∗ 1)1/3 + 0 ∗ 0 /3 + 1 ∗ 1 /3 = 0.
But clearly not independent.
P (X = 1, Y = 1) = P (Y = 1|X = 1)P (X = 1) = 1 ∗ 1 /3 = 1/ 3 P (X = 1)P (Y = 1) = (1/3) ∗ (2/3) = 2/ 9.
Hw Section 8.2, pgs. 339 - 340, #’s 1, 2, 3, 5, 7, 8.