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.
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
A saved draft is open. To run the published example, open Editor tools and select Restore example. Recover draft brings your code back.
Execution error
Technical error details
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?
Your result
Result tools
Both means are 50 ms. Group B still includes a 210 ms wait, while all five A waits are near 50 ms.
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
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?
Hints for this question
- Think about a few very late deliveries.
- Ask which aspects of experience the mean leaves out.