M241 Class Discussion Notes Chapter 6 Dependence

Section 6.1 Conditional Distributions of Discrete Random Variables.

Section 6.2 Conditional Expectations of Discrete Random Variables.

Section 6.4  Covariance and Correlation of  Random Variables.

Section 6.1 Conditional Distributions of Discrete Random Variables.


This section is really a review of our initial work with conditional probabilities phrased in terms of random variables.
 

(Defined on page 396)


Example 1: Two stage experiment. Roll a die and get x, then toss a coin x times. Count the number of heads y. Let X = roll of the die; Y = number of heads.
 

(See Table 3 page 398)

Section 6.2:  Conditional Expectation for Discrete Random Variables

The Conditional Expectation of a random variable Y  Given an Event A
E(Y | A) is defined as the sum (over all possible values of the random y of the random variable) of  y*P(Y=y | A)


Note the relationship between this formula and E(Y).

See Example 1:  Y = number of heads in four tosses of a fair coin.  Calculate the conditional expectation of Y given 2 or less heads.

We can consider this definition applied to the event A = {X = x} where X is a random variable, and x is a possible value of the random variable.
 

The Rule of Average Conditional Expectations (page 402, middle)  tells us that for any random variable Y with finite expectation and any discrete random variable X,
 


Example 2, page 403:  Continuing Example 1,  Y = number of heads in X tosses of a fair coin.  where X is generated by a fair die roll.

Section 6.4 Covariance and Correlation

 


The Sign of the Covariance
 

Corr(X,Y) has the same sign as the Cov(X,Y) and its value is always between -1 and +1.


Uncorrelated Random Variables:
 

Proof that -1 <= Corr(X,Y) <=1

0 <= E(X*-Y*)2 = E(X*2) - 2E(X*Y*) + E(Y*2) = 1 - 2E(X*Y*) + 1
So
0 <= -2E(X*Y*) + 2
-2 <= -2E(X*Y*)
and
E(X*Y*) <= 1

Also
0 <= E(X*+Y*)2 = E(X*2) + 2E(X*Y*) + E(Y*2) = 1 + 2E(X*Y*) + 1
So
0 <= 2E(X*Y*) + 2
-2 <= 2E(X*Y*)
and
-1 <= E(X*Y*)