What do robust summaries protect, and what can they stop estimating?
An outlying batch changes the question behind an average
Source research checked . Teaching calculations are ideal models.
A single disturbed acquisition can dominate the arithmetic mean of a small batch. That influence is sometimes a reason to inspect equipment and repeat the acquisition; it is not automatic permission to delete the inconvenient record. An analysis rule should say what kind of contamination it addresses and which physical quantity remains the target after the rule is applied.
The constructed record compares an arithmetic mean, a median and a precisely defined trimmed mean. The extra disturbance is visible and synthetic, so its influence can be calculated exactly. The exercise does not argue that the median is universally superior. For an observable whose physical definition is an expectation value, replacing the mean with a different statistic can change the estimand rather than merely improve the estimate.
The explicitly supplied observations show how changing one point affects each summary. A real contamination model needs independent evidence. Documenting saturation, a known synchronization fault or a predetermined rejection rule is stronger than choosing whichever summary makes a desired conclusion look stable.
Start with the assumptions
- Eleven observations are explicitly constructed.
- The disturbance is added to one known record.
- No sampling distribution or confidence interval is inferred.
Mean = sum(x_i)/n
Median = the middle ordered observation for odd n
One-per-tail trimmed mean averages x_(2) through x_(n-1)
Compare the input regimes
Each case uses invented inputs. The results follow from this model and do not describe measured hardware.
Baseline regime
Complete inputs
- Ordinary noise scale
- 1
- Target level
- 10
- Single-batch disturbance
- 5
- Ordinary noise pattern
- -2, -1, 0, 1, 2, -1, 0, 1, 0, -2, 2
- Disturbed observation, one-based
- 11
- Observations trimmed from each tail
- 1
- The constructed eleven observations are 8, 9, 10, 11, 12, 9, 10, 11, 10, 8, 17. Only the final entry receives the declared extra disturbance.
- The arithmetic mean uses every magnitude and gives 10.454545. The median is the sixth sorted value, 10.
- Remove one observation from each sorted tail and average the remaining nine to obtain 10. This is a specified transformation, not permission to discard inconvenient measurements after seeing a result.
| Calculated quantity | Synthetic result |
|---|---|
| Arithmetic mean | 10.4545454545 |
| Median | 10 |
| One-point-per-tail trimmed mean | 10 |
| Mean minus target | 0.454545454545 |
| Median minus target | 0 |
| Trimmed mean minus target | 0 |
| Batch | Response |
|---|---|
| 1 | 8 |
| 2 | 9 |
| 3 | 10 |
| 4 | 11 |
| 5 | 12 |
| 6 | 9 |
| 7 | 10 |
| 8 | 11 |
| 9 | 10 |
| 10 | 8 |
| 11 | 17 |
The disturbance shifts the mean by 0.454545 from the stipulated target. The comparison demonstrates influence, not a claim that a median estimates every physical observable correctly. For an expectation value defined as a mean, robust summaries can change the estimand and must be justified by a contamination model.
Comparison regime
Complete inputs
- Ordinary noise scale
- 1.5
- Target level
- 12.5
- Single-batch disturbance
- 20
- Ordinary noise pattern
- -2, -1, 0, 1, 2, -1, 0, 1, 0, -2, 2
- Disturbed observation, one-based
- 11
- Observations trimmed from each tail
- 1
- The constructed eleven observations are 9.5, 11, 12.5, 14, 15.5, 11, 12.5, 14, 12.5, 9.5, 35.5. Only the final entry receives the declared extra disturbance.
- The arithmetic mean uses every magnitude and gives 14.318182. The median is the sixth sorted value, 12.5.
- Remove one observation from each sorted tail and average the remaining nine to obtain 12.5. This is a specified transformation, not permission to discard inconvenient measurements after seeing a result.
| Calculated quantity | Synthetic result |
|---|---|
| Arithmetic mean | 14.3181818182 |
| Median | 12.5 |
| One-point-per-tail trimmed mean | 12.5 |
| Mean minus target | 1.81818181818 |
| Median minus target | 0 |
| Trimmed mean minus target | 0 |
| Batch | Response |
|---|---|
| 1 | 9.5 |
| 2 | 11 |
| 3 | 12.5 |
| 4 | 14 |
| 5 | 15.5 |
| 6 | 11 |
| 7 | 12.5 |
| 8 | 14 |
| 9 | 12.5 |
| 10 | 9.5 |
| 11 | 35.5 |
The disturbance shifts the mean by 1.818182 from the stipulated target. The comparison demonstrates influence, not a claim that a median estimates every physical observable correctly. For an expectation value defined as a mean, robust summaries can change the estimand and must be justified by a contamination model.
Extended regime
Complete inputs
- Ordinary noise scale
- 2.1
- Target level
- 15.5
- Single-batch disturbance
- 38
- Ordinary noise pattern
- -2, -1, 0, 1, 2, -1, 0, 1, 0, -2, 2
- Disturbed observation, one-based
- 11
- Observations trimmed from each tail
- 1
- The constructed eleven observations are 11.3, 13.4, 15.5, 17.6, 19.7, 13.4, 15.5, 17.6, 15.5, 11.3, 57.7. Only the final entry receives the declared extra disturbance.
- The arithmetic mean uses every magnitude and gives 18.954545. The median is the sixth sorted value, 15.5.
- Remove one observation from each sorted tail and average the remaining nine to obtain 15.5. This is a specified transformation, not permission to discard inconvenient measurements after seeing a result.
| Calculated quantity | Synthetic result |
|---|---|
| Arithmetic mean | 18.9545454545 |
| Median | 15.5 |
| One-point-per-tail trimmed mean | 15.5 |
| Mean minus target | 3.45454545455 |
| Median minus target | 0 |
| Trimmed mean minus target | 0 |
| Batch | Response |
|---|---|
| 1 | 11.3 |
| 2 | 13.4 |
| 3 | 15.5 |
| 4 | 17.6 |
| 5 | 19.7 |
| 6 | 13.4 |
| 7 | 15.5 |
| 8 | 17.6 |
| 9 | 15.5 |
| 10 | 11.3 |
| 11 | 57.7 |
The disturbance shifts the mean by 3.454545 from the stipulated target. The comparison demonstrates influence, not a claim that a median estimates every physical observable correctly. For an expectation value defined as a mean, robust summaries can change the estimand and must be justified by a contamination model.
Try the reasoning: If the physical quantity is an expectation value, what contamination model would justify replacing the arithmetic mean with a median?