01
Conditional distribution and expectation from joint PMF
Suppose that and have the following joint PMF:
Notice that the possibilities for depend on the choice of .
First, show that . Then compute:
(a) (b) (c) (d)
02
Conditional distribution and expectation from joint PDF
Suppose that and have the following joint PDF:
Notice that the range of possibilities for depends on the value of .
First, show that . Then compute:
(a) (b) (c) (d)
03
“Plug In” Expectation Identity
Suppose is a function, and and are two random variables.
Verify this formula in the continuous case, using the definitions:
Using that formula, prove this formula:
for two functions and and random variables and . Notice that here the expectations are viewed as random variables.
Hint for second question: Both sides are functions of . Write these functions as and and check equality of the functions.
04
Expectation Multiplication Rule
Prove the following identity using Iterated Expectation along with the previous exercise:
Note: The solution is short once you find it – please clearly identify your choices for and functions.
05
How many customers buy a cake?
Let count the number of customers that visit a bakery on a random day, and assume .
Let count the number of customers that make a purchase. Each customer entering the bakery smells the cakes, and this produces a probability of buying a cake for that customer. The customers are independent.
Find . Are and positively or negatively correlated?
Hint: Compute , and use this to compute in terms of . Now deduce using Iterated Expectation. Finally, compute using the Expectation Multiplication Rule from the previous exercise. Now put everything together to find .