AI Glossary / Statistics and probability / Beginner

Whiskers

Definition

Whiskers are the lines extending outward from a box in a boxplot. In a common Tukey-style construction, they connect the lower and upper hinges to the most extreme observed values within specified distance limits. They help show the spread beyond the middle portion of the data, while more distant observations appear separately.

What it means

A boxplot compresses many measurements into a small visual summary. The box describes the middle region, its internal line marks the median, and the whiskers show how far the non-flagged observations extend on either side under the chosen rule.

The meaning depends on that rule. Some charts use minimum and maximum values; others use selected percentiles. A reader therefore needs the caption or plotting settings before interpreting the endpoints. The same word, “whiskers,” does not guarantee that two different dashboards use comparable limits.

How it works

For a common construction, obtain lower and upper hinges H1 and H3, and their difference, the H-spread. Form inner fences at H1 − 1.5 × H-spread and H3 + 1.5 × H-spread. The lower whisker ends at the smallest observation at or above the lower fence; the upper ends at the largest observation at or below the upper fence.

The fences are numerical thresholds; whisker endpoints are observed values. Plot observations beyond the endpoints separately. Hinges and software-defined quartiles can differ, especially in small samples, so document the actual calculation rather than assuming all packages agree exactly.

Three practical examples

1. Service operations: A support manager compares resolution-time boxplots. An extended upper whisker prompts investigation of long routine cases, while separate high points identify cases needing additional context.

2. AI evaluation: An engineer plots response latencies for two model configurations. Whiskers help communicate variability, but an additional tail-latency measure is needed before making promises about unusually slow responses.

3. Personal spending: Someone compares monthly transaction sizes by category. A distant purchase is reviewed against the receipt rather than automatically deleted merely because it lies beyond a whisker.

Think of it this way

Think of the box as the crowded center of a procession and the whiskers as lines reaching toward the last participants inside a chosen boundary. People beyond that boundary are still part of the procession. Highlighting them separately makes them visible; it does not establish that they do not belong.

Worked example

Use this original ordered dataset of ten service times in minutes: 2, 3, 4, 5, 6, 7, 8, 9, 10 and 30. For this illustration, define the hinges as the medians of the lower five and upper five observations. They are H1 = 4 and H3 = 9. The overall median is (6 + 7)/2 = 6.5.

The H-spread is 9 − 4 = 5. The lower fence is 4 − 1.5 × 5 = −3.5, and the upper fence is 9 + 1.5 × 5 = 16.5.

The observed values within those fences run from 2 to 10. Consequently, the lower whisker extends from 4 to 2 and the upper from 9 to 10. The value 30 is plotted separately. Neither −3.5 nor 16.5 is a whisker endpoint because neither is an observed service time. Under a minimum-to-maximum convention, the upper whisker would instead reach 30, illustrating why the rule matters.

Illustrative case study

In this fictional case, Cedar Support compares chatbot-assisted and manually handled tickets. Its first dashboard labels everything beyond a whisker as an “invalid result.” An analyst reviews a long ticket and discovers a legitimate, unusually complex customer issue.

The team changes the label to “observation beyond the plotted whisker,” adds the plotting convention and keeps the ticket in its operational analysis. It also reports high latency percentiles and ticket counts. The resulting dashboard supports discussion about workload and difficult cases without pretending that a compact graph can determine record validity.

Common misconceptions and mistakes

Whiskers do not necessarily show the complete range, a confidence interval or one standard deviation. Their overlap does not by itself establish that group averages are statistically indistinguishable. A boxplot is a descriptive display unless additional inferential elements are explicitly defined.

Do not equate points outside whiskers with mistakes or fraudulent activity. Skewed distributions can legitimately contain many such points. Conversely, a harmful service delay may lie inside the whiskers if delays are common. A statistical display rule is not a service standard, business tolerance or proof of correctness.

Business use

Whiskers make compact comparisons of operational measurements easier to read across teams, products or periods. Their value increases when charts share units, axis scales and calculation rules. Include sample sizes so a box based on a handful of observations is not mistaken for evidence as strong as a large dataset.

For automated reporting, retain the underlying observations and explain how missing values and repeated records were handled. Use a complementary histogram or individual-point display when several clusters or small sample sizes make the boxplot too compressed to support the decision.

People also ask

Are whiskers always the minimum and maximum?

No. That is one possible convention, but the commonly used 1.5-times-spread rule may stop before the extremes.

Do longer whiskers always mean worse performance?

No. Interpretation depends on what is measured and which direction matters. They describe spread under a plotting rule.

Why do two tools show slightly different whiskers?

They may use different quartile or hinge definitions, missing-value rules, or endpoint settings.

Check your understanding

In the example, why does the upper whisker stop at 10 rather than 16.5?

Answer: Ten is the largest observed value inside the upper fence; 16.5 is only the threshold.

Must the observation at 30 be removed?

Answer: No. Its position invites investigation but does not establish an error.

Related terms

  • Adjacent values
  • Inner fences
  • Median
  • Outlier
  • Percentile
  • Boxplot
  • hinges
  • interquartile range

Learn next

Next, construct a small boxplot by hand and compare it with a histogram of the same values. Then explore how alternative quartile definitions and skewed data affect the display. Practice writing captions that identify the whisker rule without requiring readers to inspect software settings.

More in Statistics and probability

  • Welch's t-test - Welch's t-test compares two population means using independent samples without assuming that the population variances are equal.
  • Western Electric rules - Western Electric rules are a set of pattern checks used with statistical process control charts to flag possible changes in a process.
  • Whipple's index - Whipple's index is a demographic measure of concentration in reported ages ending in selected digits, conventionally zero and five.
  • White test - The White test is a regression diagnostic for heteroskedasticity: variation in error variance across observations.
  • Whittle likelihood - The Whittle likelihood is a frequency-domain approximation used to estimate parameters of stationary time-series models.
  • Wide model - A wide model is a linear model with many input features, often represented sparsely, that connect directly to an output score.

Sources

David Howell, Statistical Methods for Psychology glossary, defines whiskers through hinges and adjacent values: https://www.uvm.edu/~statdhtx/methods8/Glossary/Glossary.html

R documentation for boxplot.stats describes endpoint selection and distinctions between hinges and quartiles: https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/boxplot.stats.html

The calculations and Cedar Support case are original teaching illustrations using the explicitly stated hinge convention.

Previous: Whipple's index Next: White noise

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer