Astroinformatics / Further Foundations

Mean Sensitivity: One Bad Star

Drag a contaminating velocity through a stable stellar sample. Which summaries move with it?

Read the lecture →
The principleSensitivity to contamination matters. But robust and non-robust summaries can estimate different population properties.
Sample mean
Sample median
Sample SD (n − 1)
Gaussian-scaled nMAD
Trimmed mean

A stable population, an unstable summary?

Orange: replacements and mean ± SDPurple: median ± nMADBlue: trimmed meanTeal dashed: true centre 0

Drag the orange handle horizontally, or use the contaminant velocity slider. Horizontal bars show dispersion, not confidence intervals.

How location estimates respond to the same contamination

Orange: meanPurple: medianBlue: trimmed mean

A finite-sample contamination-response curve, not the asymptotic influence function. The dashed marker is the current velocity.