Conditional distribution
Conditioning on a fixed event
Suppose
(a) Find the PMF of
(b) Find the conditional expected value and variance of
Solution (a)
- By the definition:
- Adding exclusive probabilities:
- Note that
. Therefore:
(b)
- Find
: - Find
: - Find
:
Conditioning on variable events, discrete PMF function
Suppose
Find
Solution First compute the marginal PMFs:
Therefore, assuming
And, assuming
Conditional expectation
Proof of Iterated Expectation, continuous case
Prove Iterated Expectation for the continuous case.
Conditional expectations from joint density
Suppose
Find
Solution
First derive the marginal density
Use
Use
So, set
Therefore:
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
Then:
Sum of random number of RVs
Let
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,