Write . If is odd, the sample median equals one observation, with equally many below and above it; the corresponding terms cancel and the median term is zero. If is even, the conventional median lies strictly between the two middle observations when the are distinct, so exactly half the terms are and half are . In either case
Hence is a Scale M-estimator.