Conditional PMF, fixed event, expectation
Suppose
Let
(a) Find the conditional PMF of
(b) Find the conditional expected value and variance of
Solution
(a)
Conditional PMF formula with
Compute
Divide nonzero PMF entries by
(b)
Find
Find
Find
Conditional PMF, variable event, via joint density
Suppose
Find
Solution
Marginal PMFs:
Assuming
Assuming
Proof of Iterated Expectation, continuous case
Prove Iterated Expectation for the continuous case.
Conditional expectations from joint density
Suppose
Find
Solution
(1) Derive the marginal density
(2) Use
(3) Use
(4) Apply Iterated Expectation:
Set
Notice that
Flip coin, choose RV
Suppose
Here is the experiment:
- Flip a fair coin.
- If heads, flip the
coin; if tails, flip the coin. - Record the outcome as
.
What is
Solution
Let
Sum of random number of RVs
Let
Let
Assume that
What is the expected total spend of all customers in a day?
Solution
A formula for the total spend is
By Iterated Expectation, we know
Now compute
Therefore
Then by Iterated Expectation,