Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Evidence and experimental design

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.

Synthetic decision model

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)

Synthetic an outlying batch changes the question behind an average plot: Illustrative response versus Acquisition batch.
Synthetic baseline case. Horizontal axis: Acquisition batch. Vertical axis: Illustrative response. Curves show Model. These are computed teaching examples, not measured hardware results.

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
  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.
  2. The arithmetic mean uses every magnitude and gives 10.454545. The median is the sixth sorted value, 10.
  3. 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.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Arithmetic mean10.4545454545
Median10
One-point-per-tail trimmed mean10
Mean minus target0.454545454545
Median minus target0
Trimmed mean minus target0
All eleven constructed observations
BatchResponse
18
29
310
411
512
69
710
811
910
108
1117

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
  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.
  2. The arithmetic mean uses every magnitude and gives 14.318182. The median is the sixth sorted value, 12.5.
  3. 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.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Arithmetic mean14.3181818182
Median12.5
One-point-per-tail trimmed mean12.5
Mean minus target1.81818181818
Median minus target0
Trimmed mean minus target0
All eleven constructed observations
BatchResponse
19.5
211
312.5
414
515.5
611
712.5
814
912.5
109.5
1135.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
  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.
  2. The arithmetic mean uses every magnitude and gives 18.954545. The median is the sixth sorted value, 15.5.
  3. 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.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Arithmetic mean18.9545454545
Median15.5
One-point-per-tail trimmed mean15.5
Mean minus target3.45454545455
Median minus target0
Trimmed mean minus target0
All eleven constructed observations
BatchResponse
111.3
213.4
315.5
417.6
519.7
613.4
715.5
817.6
915.5
1011.3
1157.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?

Back to this lab in the catalog