
| Category | Value (units) |
|---|---|
| Keep 20 | 6 |
| Clip 20 to 10 | 4 |
| Exclude 20 | 2.5 |
Illustrative calculation, not observations from the linked source. Means using three explicit toy policies.
Summary
Trimming removes observations from a calculation. Clipping keeps the observations but replaces values beyond a specified limit with that limit. A conventional winsorized mean replaces lower and upper tail values at rank-based boundaries. These choices reduce the influence of extremes, but they do not all estimate the same quantity. A long delay may be a valid part of a service's total workload, a rare event excluded from a central-range description, or a value deliberately limited by an accounting rule. The right answer depends on which quantity was promised.
Keep the original records intact. Correct or exclude confirmed errors using documented evidence. For valid observations, choose the summary to suit the decision and specify the treatment before examining favorable and unfavorable results. Show the original count, the final denominator, the number altered or removed, and an uncapped comparison when the tail matters. If a conclusion depends on a single treatment setting, report that dependence instead of calling one convenient estimate the truth.
A real number can be a bad fit for the wrong question
Picture a queue of five completed jobs. Four take one, two, three, and four hours of service time. The fifth takes twenty. A supervisor asks how much technician time these jobs consumed. Assuming the records are valid and all service hours are counted once, the answer is thirty hours. Another supervisor is laying out time slots for routine jobs and asks how long an ordinary appointment takes. The same dataset is relevant, but it may be more useful to describe its middle or analyze routine jobs separately under a documented definition. Choosing a robust center is not the same act as revising the time ledger.
The distinction applies even when no staffing is involved. A pollinator team can use the mean number of visits in standardized watches to describe all observed watches, including the busy ones. It can also use the median or a trimmed mean to describe the central pattern in those watches. If one watch sampled a mass emergence, that watch might be essential to an account of biological activity. The same watch might make the arithmetic mean a poor description of a typical period. The report can give both answers, rather than asserting that one answer has made the other irrelevant.
It helps to separate a population question from the computation used to answer it. “How many dollars were actually spent per order in this period?” is different from “What is the middle of the distribution of legitimate order amounts?” and again different from “What would the mean billable amount be under a cap?” Each can be evaluated with ten lines of code. None can be identified reliably by a dashboard label such as “clean average.” A change in methods requires a change in labels whenever it changes the quantity being described.
There is also a distinction between the summary of a finite set of observations and an estimate for a wider process. An arithmetic mean can exactly describe the submitted jobs yet be a poor prediction of the coming month because the upcoming schedule differs. A trimmed mean can be stable from month to month even when expensive delays are becoming more common, because those delays fall in the part of the distribution it intentionally discounts. Stable numbers are not proof of stable operations. Before fitting or cleaning anything, say whether the aim is to describe the actual records, predict future ones, compare groups on a specified center, or document operational risk.
The three bars are three different answers
This table is an accessible version of a three-bar chart. All numbers are invented for illustration, not taken from the linked NIST handbook. The starting data are 1, 2, 3, 4, and 20. The underlying data stay the same across the three rows.
| Handling policy | Values used for this calculation | Counting denominator | Resulting mean, in original units |
|---|---|---|---|
| Keep 20 | 1, 2, 3, 4, 20 | 5 | 6 |
| Clip 20 to 10 | 1, 2, 3, 4, 10 | 5 | 4 |
| Exclude 20 | 1, 2, 3, 4 | 4 | 2.5 |
The first bar stands at six, the second at four, and the third at two and a half. Keeping all points divides a sum of thirty by five. Clipping to a fixed upper cap subtracts ten from the sum but does not change the denominator. Excluding the value subtracts twenty and reduces the denominator by one. Nothing in the table proves that twenty was a mistake. It shows what each specified policy did to the sample description. The sample median is three, another legitimate summary if the position in the ordered sample is the desired center.
Be careful with the language “trim one.” If the procedure removes exactly one point from each tail of the example, it leaves 2, 3, and 4, whose mean is three. That is different from discarding only the largest value. If it replaces one point at each end with the nearest retained value, the resulting list is 2, 2, 3, 4, and 4, also with a mean of three. The equality does not establish a general rule; it comes from the values in this particular example. The chart's cap of ten is fixed by a toy policy, not calculated from sample percentiles. It is a form of clipping and should not be mislabeled as a particular percentile winsorization.
In analysis software, “trim ten percent” may mean ten percent per tail or ten percent in total. It might mean dropping a whole number of ranked observations or using fractions of the mass assigned to values at a quantile. A library may calculate a quantile by interpolation while another chooses a nearby rank. In a small sample, even the choice of rounding down versus rounding to the nearest integer can change whether any row is affected. The method note should allow a reader to reproduce the result without guessing which convention a spreadsheet picked.
The NIST/SEMATECH handbook chapter on measures of location distinguishes an arithmetic mean, a median, trimmed means and winsorized means, and discusses why a measure less affected by extreme values can describe location. The toy chart extends that distinction to an explicit fixed cap. Its bars do not rank which method is generally better; they demonstrate that the numerator and denominator of an average can be changed in different ways.
Separate detection from what you do next
An unusually large value is a reason to look, not a license to delete. The NIST/SEMATECH chapter on outlier detection separates flagging a possible outlier, using an analysis less influenced by extremes, and using a statistical procedure to identify outliers under specified conditions. It also distinguishes known errors from unusual values that may represent real variation. In practice, keep those tasks separate in the data system: a flag calls attention to a row, a review records what was learned, and a selected analysis determines how that row contributes.
For example, a volunteer writes down a duration of twenty-three hours for a visit that the contemporaneous time log shows began at 09:10 and ended at 09:33 on the same date. If the team verifies this was a mistaken unit, correct the duration to twenty-three minutes; do not merely cap the value at sixty minutes to bring it closer to other visits. The documented correction tries to recover the quantity originally measured. By contrast, if an instrument truly ran for twenty-three hours, the time is not erroneous simply because typical sessions are shorter. The method may restrict a comparison to sessions of a certain type, but that is a scope decision.
A value can also be unusual because someone entered a different measurement altogether. Suppose a row labeled “minutes active” actually contains an elapsed shift from start to end. If the original log reveals when the breaks occurred, the analyst can derive the intended value. If it does not, the active time is unknown. The editor should mark it unavailable for that product instead of accepting an arbitrary replacement. Unknown values need a missing-data decision. They are not observations with small weights waiting to be restored by a statistic.
The context of observation can explain other apparent outliers. A count taken at peak flowering may be much higher than counts at the beginning and end of the season. Before applying a cutoff, plot the values by date. A distinct event at one season boundary is not equivalent to a random point with a large value. In a comparison using the wrong season mix, trimming may hide the imbalance instead of solving it. If the aim is a same-season comparison, analyze compatible windows or show stratum results. If the aim is a full-season total, the peak can be central to the answer even though it is in the numerical tail.
Use graphs that retain each record when the sample is small enough. A line by collection order may reveal a unit change after a software update. Aligned dot plots can show whether a high value in one group is normal in another group. A distribution summary can help locate cases for review, but a marker outside a box plot fence is not a confirmed error. If the procedure draws a fence from the data, record exactly how it constructs that fence. Iteratively removing whichever points trigger it can change both the center and the cutoff, which is not equivalent to a single disclosed pass.
A decision table for the record itself
An organization can maintain separate outcomes for original intake and analysis views. A confirmed duplicate can remain in the original intake log while contributing only one authorized copy to a sample. A confirmed error with a replacement value remains visible in its raw form to reviewers; the corrected value contributes to the main analysis. A plausible but unusual case keeps its value and eligibility unless a specific analysis rule assumes otherwise. An unresolved case can stay in a review category with its alternative treatments shown explicitly.
Do not confuse retention with public disclosure. There can be legitimate reasons to restrict access to source records; a private ledger is enough to make the analysis reproducible for an authorized reviewer. A public aggregate can disclose what changed without revealing a person, precise location, or an internal case number. Decide which fields are needed for review and which can be shared. Where tiny subgroup counts could expose a record, put the detailed provenance in restricted storage and report a coarser summary.
For large projects, a few small design choices protect against stealth edits. Give each intake row a stable key not derived from its value. Store a separate original field, an approved field where needed, a reason and evidence code for corrections, and an analysis field for each derived method. Save which rule version produced each decision. Ideally a reviewer can ask why an observation counted differently in the upper-capped summary and in the burden dashboard without needing to reconstruct a sequence of manual sort operations. A file with one overwritten “clean” column cannot answer that question.
In spreadsheet terms, correction and analysis are separate columns even when they happen to produce identical numbers. If a machine misread a 10 as 100, the approved 10 repairs the observation. If the machine correctly recorded 100 and a cap happens to reduce it to 10, the derived 10 describes a policy. The resulting arithmetic mean could be the same under the two workflows; the interpretation would not. Keeping distinct names for the columns forces the next person to confront the difference.
Worked example: workload and an upper cap
Suppose a restoration shop records project hours of 2, 2, 3, 3, 4, 4, 5, and 17 during a small pilot. The total is forty hours over eight jobs, giving exactly five hours per job. If an analyst reports the average for jobs taking no more than eight hours, the seven retained jobs total twenty-three hours and average about 3.29 hours. The excluded job accounts for 42.5 percent of all labor hours in this sample. A summary that quietly drops it leaves the shop short by seventeen hours if it is used to reconcile this period's staff time.
A separate billing agreement might legitimately treat every job as at most eight reimbursable hours. Under that agreement the recorded jobs would yield thirty-one reimbursable hours, or 3.875 per job. Here the cap is part of the target, not a trick to hide labor. The report should still show total labor alongside total reimbursable hours. The difference of nine hours is economically meaningful. That interpretation would be impossible if the only data saved after the shift were capped values.
For a recurring report, use the same language each month: all completed jobs, eligible routine jobs, or reimbursable hours with a ceiling. Likewise, if a job failed to finish by the reporting date, it is not known to have ended at a displayed cap. A cap in a display is a transformation; an unfinished observation is a statement about which endpoint is known. Calling both “eight hours” hides different information. The duration chart can show completed and incomplete jobs separately, and a longer-horizon analysis can use a method appropriate to partially known completion times.
If the shop suspects a single overloaded technician generated the longest wait, averaging or trimming jobs will not clarify how many independent work units there were. Plot job hours by team and week before inferential comparisons. A day with an equipment failure can produce multiple large values; dropping only the largest might disguise a cluster that should be investigated. Whether to include those jobs in workload remains a bookkeeping question. Whether those jobs describe a process under ordinary conditions is a separate classification question.
Worked example: the tail can determine which intervention looks better
Imagine two checkout workflows, each observed on ten independent test runs under the same planned test conditions. In the first, nine sessions take two minutes and one takes twenty-two minutes. In the second, every session takes three minutes. The first workflow has a lower median, two rather than three minutes, yet it has the higher arithmetic mean, four rather than three minutes. Its ten sessions cost forty minutes in total, compared to thirty for the second. If an analyst drops the longest and shortest values in each group, the remaining means are two and three. If they clip every duration at five minutes, the capped means are 2.3 and three. Both modified measures favor the first workflow under their definition of better. The unmodified mean favors the second.
The disagreement tells a specific story. One workflow was faster most of the time in these tests but had a long delay. A project that earns revenue from a typical transaction may value its faster center; a project that cannot tolerate long delays may choose the other one. A project planning overall labor should look at uncapped totals and inspect the long case before assuming it will never recur. If the slow case was a verified measurement failure, correct it or make a documented eligibility decision. If the slow case was a genuine failure to recover from a valid input, the outlying wait is part of system behavior, even if the designer regards it as inconvenient.
Treat estimates from ten runs as fragile, not as measured probabilities for all future sessions. When an important delay appeared once, a dashboard can report exactly one case out of ten in the test instead of calling it a guaranteed ten percent chance. Plan additional observations at busy times, under different conditions, and after any fix, using a stopping condition not determined by whether the updated story looks favorable. A tail can look quiet merely because the study had few opportunities to see it. Sensitivity estimates do not solve weak coverage; they reveal how much the available story changes when the tail is handled differently.
Know which common alternatives do and do not answer your problem
The median is a useful companion to the average when readers ask what lies in the middle of an ordered list. It does not measure the sum or how far the largest cases are from the center. It can also stay flat while many individual measurements change, especially for discrete data with ties. If nine waits are two minutes and one is twenty-two, the median of two says something real about the middle. It tells a manager little about the worst wait or labor spent recovering from it. A display can combine the median, arithmetic mean, and the number of waits over a meaningful threshold without expecting any one of them to stand in for the others.
A percentage-trimmed mean answers a rank-based question. Trimming one point per side in a ten-row sample differs from excluding everything beyond a numeric boundary. Rank-based trimming may remove values that would not be judged extreme in isolation, including the perfectly ordinary minimum in a tightly clustered group. The result is not necessarily inappropriate: the intention is to estimate a central functional using the same rule, not to identify bad rows. Avoid describing the discarded rows as verified errors or outliers. The method can apply even to a clean dataset and reduce the weight assigned to valid observations in its tails.
Percentile winsorization keeps a counting denominator but changes the contribution from values in the tails. It may be useful if a resilient location summary must still be calculated over all input rows. This is not the same as recovering the raw mean by extrapolating unobserved extremes. Replacing every value beyond a threshold with the threshold creates a concentration of values at the boundary that did not exist in the original observations. Use the raw distribution for diagnosis. If a downstream plot needs to show the winsorized values, label the transformation prominently so that the apparent pileup is not mistaken for a natural feature.
A numeric cap chosen for a decision has another interpretation. If the number ten comes from a service policy, the resulting average can have direct policy meaning. If ten was chosen after looking at outlying values because it made two departments agree, the number may lack a purpose independent of its effect. That is a useful question to put to a reviewer: what claim does this threshold represent if you remove all knowledge of which group benefits? The same question catches seemingly harmless discretionary decisions such as whether to trim one tail instead of two or whether to use separate quantiles for each site.
Some analyses need a model for a mixture of conditions rather than a different center. Suppose one set of readings belongs to a routine process and another to a verified outage mode that occurs occasionally. A whole-period mean and a routine-only mean can both be informative. To explain their relationship, report how often each mode occurred and the typical behavior within it. If the modes cannot be classified reliably, don't label all large observations as outages. The factor that distinguishes categories should come from independent evidence where possible, not be defined solely by the outcome the analyst wants to lower.
Preregister the substantive rules, not just the word “robust”
Write the analysis plan before comparing results by group. It can be a short dated note rather than a formal registration when the scale of the work is modest. State the target population, the unit observed, what counts as a legitimate measurement, the headline statistic, and the handling of unusual values. If the plan calls for a trimmed mean, specify both tail fractions, how ranks and ties are treated, and the minimum group size. If it calls for a cap, state whether the threshold is fixed or estimated, and how and from which data it is estimated.
Decide how the policy relates to checks that identify measurement errors. The primary statistic should be applied to a defined dataset of valid observations. The reviewed data may change if an error is found, but the review procedure should not transform genuine events whenever they contradict the preferred hypothesis. When a reviewer has access to the group result, it is particularly helpful to record evidence for each ambiguous decision. A second reviewer can examine the evidence without being told whether the correction helps or hurts a comparison.
Plan sensitivity results rather than collecting whichever differences look compelling after the fact. An example plan might identify the uncapped arithmetic means as the primary measure, median and predetermined upper-capped means as supporting measures, and a plot of the entire distribution as a diagnostic. If the group comparisons disagree, the report should explain what feature of the data can account for the disagreement. Changing the primary statistic later can be defensible when the original measure is no longer aligned with the research question. Label a changed plan and show the original analysis where it can still be calculated meaningfully.
One easy mistake is to specify “trim the top five percent” without saying what happens to groups of different sizes. If you round down, a group of nineteen has no points trimmed from its upper tail while a group of twenty loses one. If you round up, a single point can account for a disproportionate share of a very small group. A report can instead predefine a minimum sample size, use a fixed justified cap, or publish medians and raw values for small groups rather than pretend the same rank-based procedure is comparable across them. Each approach has tradeoffs, but silence about the choice does not remove them.
Also decide what to do at a boundary when the design uses repeated measurements. If each location contributes a hundred readings and the intended comparison gives every location equal weight, applying a filter to individual readings and pooling the survivors might alter the contribution of some sites. If the reader expects a typical location rather than a typical reading, aggregate the location's eligible readings according to the plan before combining sites or use explicitly defined weights. Be equally clear about whether trimming is done to readings within a location or to location summaries. A location with many perfectly valid unusual measurements should not lose representation simply because a row-based spreadsheet filter was convenient.
Report uncertainty for the statistic actually used
A carefully chosen summary does not inherit the uncertainty calculation for an ordinary mean. A rank-based trimmed mean selects its retained sample using the observed values. Dropping the tails and then calculating a conventional confidence interval as if the retained observations had been drawn independently from that narrower interval does not generally account for the selection process. The NIST Dataplot note on the trimmed mean standard error describes a trimmed mean formula that uses a winsorized estimate of spread under its stated convention. This is a reminder to match the interval method to the estimator, not a universal rule for caps, dependent samples, or untested distributions.
Specify your uncertainty target first. If the report describes every transaction in the completed billing month, a calculation of its arithmetic mean is exact for those logged transactions, subject to any recording errors. A confidence interval could be relevant if the goal is to infer an underlying process or forecast future months. It should not be pasted onto a complete descriptive total just because a chart template has an error-bar setting. A variance estimate across repeat weeks answers a different question from the sampling variability of a trimmed center within one week.
If resampling is appropriate, respect the independent sampling unit and repeat the analysis rule for each resample. If the original plan estimates a percentile threshold from each sample, ordinarily that step must also be repeated to represent uncertainty in the percentile estimation. A truly fixed cap from a policy can stay fixed. If repeated measurements belong to the same participant or day, resample whole relevant units instead of scattering their measurements into unrelated pseudoreplicates. Resampling cannot compensate for convenience sampling or a rare failure mode that never appeared in the observed data. Report coverage limitations separately from numerical uncertainty.
An observed result's sensitivity to cap choice is also not a confidence interval. Suppose the uncapped mean was six, the mean capped at ten was four, and the mean capped at fifteen was five for the five-number chart. The range from four to six reflects changing definitions, not random sampling variability. A report should present it as a comparison across scenarios. If the primary target is the uncapped mean, sensitivity to a lower cap can reveal that large values account for a substantial contribution; it cannot make the uncapped estimate wrong through arithmetic alone.
For a weighted interval or a complex design, consider how the original records were collected before computing any bounds. An analysis of clustered visits, time series, or cases deliberately sampled at extremes needs different treatment from a simple random sample of observations. It is acceptable to publish a descriptive center with counts, spread, and caveats when no credible inferential plan exists. Showing honest uncertainty usually means naming specific limitations, not producing numerical intervals for every plotted point.
Show what happened to the observations
For a simple published comparison, put the full count and full mean in the same table as the adjusted estimate. Label the adjustment in the column header or immediately next to it. For an exclusion, show the number removed and the resulting denominator. For clipping, show how many values were changed, how many remained in the calculation, whether limits were upper and lower, and the units. For documented correction, say what evidence was required and whether the headline used corrected values. A reader should not have to infer a smaller denominator by comparing rounded percentages on separate pages.
A short model caption for the five-value example would read: “Illustrative records in hours: the mean across all five entries was six. Limiting values above ten to ten kept all five entries and yielded four. Excluding the single entry above ten left four entries and yielded two and a half. The entry was not classified as a measurement error.” This wording makes clear which parts of the data were preserved and which averages have a conditional meaning. If a chart is shown as an image, add a text table or equivalent visible explanation so the distinction is not tied to color or hover behavior.
An operations summary might also show the aggregate contribution of observations over a predefined threshold. In the restoration example, displaying seventeen hours from one of eight jobs tells someone why the main mean is higher. In a monitoring program, reporting counts of unusual watches by week can expose real episodes the central statistic might miss. Choose threshold counts in advance whenever they are part of a repeated performance metric, and do not remove a threshold report because a central summary happened to look stable.
When presenting groups, consider producing a small audit table recorded beside the comparison: initial count, confirmed errors corrected, invalid rows excluded, valid rows clipped, eligible count, and summary values. These columns are not interchangeable. A group with many genuine long events can have many clipped values and zero invalid rows. A group with an import bug can have many corrections and few unusually long events after review. Relabeling both as “cleaned records” hides the difference and makes it harder to improve the underlying process.
Checklist before the result leaves the notebook
Take a miniature dataset that you can compute by hand. Give it a confirmed error, an unusually large but valid result, and a legitimate observation exactly at the cap. Check that the confirmed error was corrected through the review table, not through arbitrary clipping. Check that the exact-cap observation kept its original value, and decide whether boundary records should count as altered in the report. A value equal to an upper cap does not change under the usual minimum-of-value-and-cap formula, even if a chart counts it among observations at or above the threshold.
Then apply the same checks to at least one underflow and one tied group if the real method uses both tails or rank rules. Verify which records remain after trimming, which were replaced after winsorization, and which remain visible in a provenance file. If there are ties at the boundary, check that any retained paired or grouped structure still makes sense. Arbitrarily breaking ties by row order may not affect the unweighted center when tied values are equal, but it can affect another linked outcome or a weighted result. A reproducible tie policy matters when those records will be used later.
Finally, try reading the conclusion without the method in front of you. Does “average” clearly say which kind? Does the text imply the adjusted average reconciles with the original total? Would a colleague know whether large observations were genuinely incorrect or merely downweighted as a choice of estimator? A three-line conclusion can answer these questions: name the objective and result, disclose the policy and affected count, and compare with the unmodified result or explain why no reliable unmodified comparison is available. Good reporting makes the method easier to challenge, not harder to find.
Check the trend for a change in method
Before joining consecutive releases into a trend line, compare their trimming and correction rules. Imagine a monthly chart that used all verified observations in January and started applying a fixed upper cap in February. A drop at the transition may represent a change in arithmetic even if nothing changed in the field. If the original records remain available, recompute comparable months under one clearly identified policy and keep the former published values in the release history. If older records survive only as summary values, do not infer their capped means from their uncapped totals: two sets can have the same total and very different excess above a threshold.
A version marker on the chart can describe which estimates are comparable and why. If both methods are important, use separate series and make room for the description of each. A method change is worth annotating even when the two estimates happen to be close at the point of transition. The gap can grow later as the distribution changes.
Frequently asked questions
Does a box plot prove a marked observation is wrong?
No. It signals an observation that is separated under the plot's chosen convention. Verify the raw input and the surrounding circumstances. The record may be a data error, a genuine rare occurrence, or a sign that separate processes were mixed. The graphic prioritizes investigation; it does not replace it.
Is a winsorized mean the same as deleting extremes?
No. A winsorized mean keeps the observation count while substituting boundary values for affected observations. A trimmed mean omits selected observations from its calculation. The policies can coincidentally produce the same number, but the data contributions, standard errors, and interpretations can differ.
Should I use the same cap for every group?
It depends on the target. A common fixed cap can compare outcomes under one shared policy. Group-specific quantiles can describe each group's own central distribution but can obscure differences in extreme values; they should not be framed as one common numeric limit. Choose and disclose the rule rather than allowing software defaults to decide the interpretation.
Can a cap protect privacy?
An upper bound can suppress exact extremes in a displayed dataset, but it is not a full privacy guarantee. Combining counts, totals, and small group summaries can still reveal sensitive values or identities. Keep a separate disclosure plan, and do not defend an analytical decision solely by saying the displayed extremes vanished.
Where should the raw values go?
Retain them securely as the source record, with access appropriate to their sensitivity. Use distinct derived columns or analysis views and record the reasons for changes. A public summary does not have to expose private data for a qualified reviewer to reproduce the calculations.
Bibliography
- NIST/SEMATECH. Engineering Statistics Handbook, complete PDF. General source for the distinctions used here; this article's data and policy examples are illustrative.
- NIST/SEMATECH. Measures of Location, section 1.3.5.1. Official HTML chapter for the arithmetic mean, median, trim, and winsorization.
- NIST/SEMATECH. Detection of Outliers, section 1.3.5.17. Official chapter for the distinction between potential-outlier flags, formal identification, and robust analysis.
- NIST Dataplot. Trimmed Mean Standard Error. Reference for the difference between uncertainty methods for trimmed and ordinary means.