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.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 1 27J a Solution Created 2026-09-24 Updated 2026-10-03
For every ,After squaring and taking expectations, the cross term vanishes because . ThereforeThe second term is nonnegative and vanishes exactly at , so the variance as the minimum mean squared error of a constant identity is