Skip to content
Tactiverge

School/○ Innovator/Week 34

Error bars that tell the truth

Two bar charts show the same data. In one, method A looks five times better. In the other, you can barely tell them apart. Which one lies?

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Most readers look at the chart, not the table. Honest charts show the spread, say what the bars mean and keep differences in proportion, so readers judge the evidence rather than the styling.

  • ◇ Choose and label error bars (SD, SE or an interval) correctly.
  • ◇ Spot a truncated axis and other ways a chart exaggerates a difference.
  • ◇ Compute a difference of means and an effect size from summary statistics.

2.Predict

A chart's y-axis starts at 40, and the means are 52 and 49. How tall does A's bar look compared with B's?

Guess first. Being wrong here is how the surprise works.

3.Understand

Which bar?

SD bars show the spread of single runs: what a user would experience. SE bars (SD/√n) show the uncertainty of each mean and shrink with more trials. ± 2 SE is a rough 95 % interval for larger n. All three are fine if labelled; unlabelled bars are useless.

Show the points

With fewer than about 20 trials per condition, plot every trial as a dot next to the bar. Readers can then see outliers, skew and overlap directly instead of trusting a summary.

Size of a difference

Report the difference in means, its uncertainty, and an effect size d = difference/pooled SD. With equal SDs s and a difference Δ, d = Δ/s. And start bar charts at zero: bar length is read as quantity, so a truncated axis misleads.

Explain it another way

A photo taken from a low angle makes a person look tall. Truncated axes are the chart version.

Worked example 1

Baseline 30 ± 4 s, new 26 ± 4 s (mean ± SD, n = 16 each). Find the difference, d and the SE of the difference.

Difference 4 s. d = 4/4 = 1.0. SE of each mean 4/4 = 1 s; SE of difference √(1 + 1) ≈ 1.41 s. The difference is about 2.8 SE: likely real in this setting.

Common mix-ups

  • If error bars overlap, there is no difference.
    ✓ Overlap rules depend on which bars are drawn. Compare the difference with its own standard error.
  • SE bars are more honest because they are smaller.
    ✓ They answer a different question. Choose the bar that matches your claim and label it.

4.Discover

Try each error bar type with 3, 8 and 30 trials. Then truncate the axis. Write down one chart setting that makes the difference look bigger and one that makes it look more honest.

Loading the interactive…

Can't use the interactive? Read a description instead

The error-bar explorer draws two bars with means near 52 and 49. Switching between standard deviation, standard error and two-standard-error bars changes their length; starting the axis at 40 makes the first bar look about a third taller although the means differ by about 6 %.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1 · a fresh version every time

Over 10 seeded trials each, the baseline controller's settling time averaged 30 s and the new controller's 28 s. Both conditions have a standard deviation of 5 s, so the pooled SD is 5 s. What is the effect size d = (difference in means) / pooled SD?

6.Watch

→ Pay attention to standard deviation: the spread that SD error bars show.

Range, variance and standard deviation, so that 'mean ± SD' in a results table means something to you.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2 · a fresh version every time

Five trials of a robot's docking error gave 16, 8, 8, 16, 17 mm. What is the mean, in mm?

mm

Practice 3 · a fresh version every time

A metric has a sample standard deviation of 2 across n = 16 independent trials. What is the standard error of the mean?

Practice 4

A chart has error bars but no caption saying what they are. What can a reader conclude?

Practice 5

Means are 80 and 76. The y-axis starts at 70. How many times taller does the first bar look than the second?

×

8.Apply it

Make two charts of your baseline-lab results: one honest (zero-based axis, labelled SD bars, points shown) and one deliberately misleading. Write a caption for the honest one that a sceptic would accept.

9.Reflect

Concepts: Comparing conditions with uncertainty · Describing data