A whole-benchmark percentile generally cannot be reconstructed by averaging subgroup percentiles, even when subgroup sizes are known. Preserve the observations or a sufficiently specified distribution, choose a percentile convention and calculate the combined order statistic directly.
If only medians and counts are available, the correct release decision may be that the pooled median is unavailable. Do not manufacture it because the report template requires one summary number. A labeled range of group medians is useful evidence; an invented total is not.
The verifiable table method explains why pooled rates need their counts. Quantiles require another layer: knowing subgroup denominators does not make subgroup medians additive.
Inspect Two Complete Fictional Groups
The following durations are invented, measured in the same unit under one task definition. No value is missing or censored.
| Group | Complete Ordered Values | Count | Group Median |
|---|---|---|---|
| A | 1,2,3 | 3 | 2 |
| B | 10,20,30,40,50,60,70 | 7 | 40 |
The arithmetic average of the two medians is(2+40)/2=21. A size-weighted average is(3×2+7×40)/10=28.6. Neither operation has yet computed the median of the ten durations.
Combine the actual observations and sort them. The order is 1,2,3,10,20,30,40,50,60,70. With ten values and the conventional midpoint definition for an even sample, take the fifth and sixth values: (20+30)/2=25.
NIST's location-measures guidance defines the sample median from the ordered values, averaging the two central observations for even sample size. That supports this median calculation. It does not endorse averaging medians to reconstruct one.
Preserve a Rank Table That Exposes the Error
| Combined Rank | Value | Source Group | Role in Median |
|---|---|---|---|
| 1 | 1 | A | Below middle |
| 2 | 2 | A | Below middle |
| 3 | 3 | A | Below middle |
| 4 | 10 | B | Below middle |
| 5 | 20 | B | Lower middle |
| 6 | 30 | B | Upper middle |
| 7 | 40 | B | Above middle |
| 8 | 50 | B | Above middle |
| 9 | 60 | B | Above middle |
| 10 | 70 | B | Above middle |
The combined middle falls inside B but below B's own median. A's three small observations change the position in the combined distribution. That is information an average of the two medians does not preserve.
This does not imply group B is more important or A is negligible. It simply identifies which observations occupy the declared middle of the observed pooled dataset. A report about equally important groups might intentionally summarize their medians, but must call that a summary of group medians rather than the pooled median.
Prove Why Counts and Medians Are Insufficient
Replace B with another invented set:10,11,12,40,100,110,120. Its count remains seven and its median remains 40. A stays 1,2,3 with median 2.
The subgroup summary table is therefore unchanged: counts 3 and 7, medians 2 and 40. The combined sorted values are now 1,2,3,10,11,12,40,100,110,120. Their median is(11+12)/2=11.5, not 25.
The same subgroup counts and medians support at least these two different pooled medians. That counterexample establishes that those summary fields alone do not determine the answer. Weighting the medians more carefully cannot recover information they discarded.
The number-check method should verify both fixtures. A meaningful negative case compares datasets with identical supplied summaries but different required totals; merely retesting 25 on the first list would miss the information problem.
Declare the Convention Beyond the Median
Other percentiles can use different interpolation or nearest-rank conventions, especially in small samples. A method label belongs in the analysis record. A spreadsheet function name without its version and rule is weak evidence when another analyst uses a different implementation.
For an inspectable teaching example, define the 90th percentile by the nearest-rank rule: rank equals the ceiling of 0.90×N. With ten observations, rank nine gives 60 in the original combined dataset. Under another interpolation rule, a different result can be legitimate if that rule was intended and disclosed.
This nearest-rank choice is an explicit convention for this example, not a universal statistical requirement. Do not compare it with another source's interpolated p 90 as though both were guaranteed identical measures.
Ties should remain repeated observations where the data contract says they are separate tasks. Deduplicating equal durations would change the distribution. Distinguish duplicate records from legitimate equal values using identifiers and provenance, not numerical equality alone.
Check the Population Before Pooling
Even complete lists should not be combined if their units or eligibility differ. Seconds and minutes require supported conversion. A successful-task-only distribution and an all-attempt distribution have different membership. A fixed timeout requires separate censoring treatment.
The outlier review preserves valid extreme observations. Its median comparison is not permission to drop long tasks before computing this pooled distribution. Keep exclusions, missingness and any weights explicit.
If the intended statistic is a weighted percentile, define the weighting and quantile rule separately. Expanding each weight into an imagined integer number of people is not a universal implementation, especially for fractional survey weights.
Release the Available Statistic Honestly
A suitable fictional caption is: “Median 25 minutes across ten complete task observations, using the midpoint of the two central ordered values; groups contain three and seven tasks.” If the input contains only subgroup summaries, say the pooled median cannot be calculated from those supplied fields.
Retain the ordered record references, inclusion rule, unit, convention and calculation output. The research reproduction package can then reconstruct the actual statistic rather than a plausible substitute.
The decision is not whether 21,25 or 28.6 looks most credible. Each comes from a different operation, and only 25 answers the declared pooled-median question for the complete original fixture. Clear statistics begin by preserving the information the calculation needs.
