Definitions
Conditioning on an event
Let be a probability space. Given an event such that , and a random variable , we definte the conditional expectation:
Let’s check if that makes sense, i.e. it’s the same as using the coditional probability. First check the case is a discrete variable with values , which we can represent as a sum of indicators:
Conditioning on a discrete random variable
Since we can represent a discrete random variable as a sum of indicators, it’s natural to define
This is again a discrete random variable, and since it’s a sum of indicators of measurable sets , it’s measurable. If we fix , and compute
but the expected value of conditioned to the event is a number, hence we can pull it out
since any measurable set in can be represented as a sum of elements , this generalizes to the identity: