TactivergeLite

Lite / Intelligent Robotic Systems / 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 · Full interactive version

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.

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?

  1. About 6 % taller
  2. About 33 % taller
  3. About the same
Guess first, then reveal

(52 − 40)/(49 − 40) = 12/9 ≈ 1.33, so about a third taller, for a 6 % real difference. Truncating the axis exaggerated it more than fivefold.

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.

What the interactive shows (text version)

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 %.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: 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.

“Measures of Spread: Crash Course Statistics #4” by CrashCourse (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

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

Intuitive

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

Technical

Overlapping SE bars do not prove 'no difference', and non-overlapping SD bars are not required for one. Judge the difference against its own standard error, √(SE₁² + SE₂²).

Mathematical

Means 52 and 49, SD 6, n = 8: difference 3; SE of each mean 6/√8 ≈ 2.12; SE of difference ≈ 3.0; d = 3/6 = 0.5. A medium effect, but with n = 8 the difference is about one SE: not yet convincing.

Applied

Many journals now ask authors to show individual data points and state the error bar type in every caption.

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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

mm

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

×

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.

Reflect

Which chart trick do you think you have fallen for before?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Measure what you actually wantReport the difference, not two averages →