Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 2 3F Solution Created 2026-09-24 Updated 2026-10-07
Expand around the expectation :Thus variance as the minimum mean squared error of a constant givesThe finite second moment also guarantees the finite first absolute moment needed below.
For a probability density function , splitting at givesLet be the cumulative distribution function. Since a density gives no mass at a singleton, differentiating under this integral yields . This derivative is nondecreasing, so is convex andThis is the median minimizes expected absolute loss property. The minimizer need not be unique: a gap in the density can give an interval of medians, all with the same loss.