Conditional on ,
Multiplying by , taking expectations, dividing by , and using part (i) proves the inverse probability weighting formula.