Read the observationsLesson 11 of 30 · 5 min

The average hides the shape

Distinguish datasets with the same mean but different distributions.

A distribution describes which values occur and how often. The arithmetic mean adds the values and divides by their count. It describes a centre, but says little on its own about spread, skew or unusual observations.

Both invented services have the same mean time. A has five similar waits. B has four short waits and one long wait, which may matter to the customer.

A dot plot gives each observation a mark. The vertical offsets separate nearby marks. The dashed lines mark the group means.

See the reasoning
Service AService B050100150200Response time (ms)
Service AService B050100150200Response time (ms)
Invented observations: both means are 50 ms. Repeated marks are separated vertically only to make all five values visible. The dashed mean hides the very different distribution of waits.

Can equal means coexist with very different customer experiences?

Write a prediction (optional)

Run the prepared example

This page puts the example in the Python editor. Select Run Python with the code unchanged.

Invented data

Editor tools
About Python ↗

Ctrl+Enter or ⌘+Enter runs the code.

What to compare

Compare Means (ms), Medians (ms) and Longest observed time (ms), each listed in A, B order. Would the means alone tell you which service contains a long delay?

Published example output

The site ran the original code to produce this reference. Build environment ↗

Means (ms): 50.0 50.0
Medians (ms): 50.0 10.0
Longest observed time (ms): 52 210
A’s five waits sit near 50 ms. B has four waits of 10 ms and one wait of 210 ms. Both means are 50 ms.
Open full-size figure ↗

Both means are 50 ms. Group B still includes a 210 ms wait, while all five A waits are near 50 ms.

Change and run again

In the Python editor, replace the final 210 in b with 110. Select Run Python again. Compare Means (ms), Medians (ms) and Longest observed time (ms). Which summaries show that one wait got shorter? Return to the Python editor

What this example supports. Five observations do not characterise a real tail distribution. The plot is a complete view of these invented values only.

Try a fresh case

Two delivery services have equal mean delay. What should you inspect next?

Choose an answer

Hints for this question
  1. Think about a few very late deliveries.
  2. Ask which aspects of experience the mean leaves out.
Your notes