Skip to content

Saying the uncertainty out loud

Turn an interval into words a reader will keep, check whether it changes the decision, give probability words a number, and label what a chart's bars show.

Applied ~11 min12 steps

What runs in CodeSplash

You will be able to

  • Write an interval in plain words without turning it into a probability
  • Test whether the uncertainty changes the decision
  • Use numbers with probability words, and label uncertainty on a chart

Read first

01

A single number makes a promise

Read

"The new checkout lifted conversion by 15.2%." Your reader will remember that number, and treat it as what they'll get.

The data allow much more: anything from −3.9% to 34.2% is compatible with them. That range includes a small loss.

The interval is part of the finding. If it's gone from your sentence, the sentence claims more than you know.

02

What does the interval say?

Predict

Predict first

Which sentence about a 95% confidence interval can you stand behind?

There's a 95% chance the true lift is in this rangeThese lifts are compatible with the data, by a method that captures the truth in about 95% of studies95% of customers will see a lift in this range
Reveal

The second. The 95% belongs to the method over many studies. Once you have one interval, the frequentist framing gives no probability for it. A credible interval from a Bayesian analysis does support the first wording, given its prior. The third confuses an interval for an average with the spread of individuals.

03

Words that work

Read
Instead ofWrite
The lift is XOur best estimate is X, and the data are compatible with anything from L to U
There's a 95% chance it's between L and UThe 95% CI runs from L to U
We're sure it's positiveThe whole interval is above zero
A margin of error of M± M at 95% confidence (always give the level)

Say the interval in the units of the decision, such as orders a week or dollars, wherever you can.

04

Read both ends

Reflect

An interval is two scenarios. Ask what you'd do at each end.

  • Low end, −3.9%: conversion falls a little. Would you still want the new page?
  • High end, 34.2%: a large gain. What would you regret missing?

If the decision is the same at both ends, the uncertainty doesn't matter, so say so and move on. If the decision flips, that flip is your message. Which is it here, if the new page costs little to keep?

05

What would narrow it?

Explore

A reader's next question is often "how do we get a firmer answer?" Change n per group and watch the interval.

BExplorable · How wide is an effect size's interval?

How many observations does it take to pin down an effect size?

How many per group for an interval this narrow?

1005
How sure?
0.50
25

Confidence

0.40
target 0.40

The dot is your study: d = 0.50, interval [−0.06, 1.06]. Intervals use the large-sample standard error √(2/n + d²/4n).

Commit your prediction above to see the result

Make your prediction first; the figure appears when you commit.

Make your prediction to see the result.

Double the sample and the interval doesn't halve. Cutting its width in half takes about four times the data. That's worth saying out loud when someone asks for "a bit more certainty", because it tells them what it costs.

06

"Likely" means what?

Predict

Predict first

You write, "The new page will likely do better." What chance do your readers take that to mean?

Everyone reads it as about the same chanceReaders put very different numbers on itIt always means above 90%
Reveal

Very different ones. Studies since the 1960s find wide disagreement over words such as "likely", "probably" and "possible", even among colleagues. Keep the word if it helps, and put the number beside it.

07

When you do have a probability

Read

This test's summary also gives a 95.3% probability that the new page beats the control. Unlike a p-value, that's a statement about the page, given a prior.

Say the whole thing. "Better" here means better by any amount, however small, so give the size alongside it.

Don't line it up against p = .093 as though they measure the same thing. If they seem to disagree, it's because they answer different questions.

08

Label it on a chart

In the app

Open these in Charts. A point-range chart shows each estimate with its interval. A fan chart shows how a forecast's uncertainty widens with the horizon.

Point-range (mean ± CI)How do group means compare, with their uncertainty?
View data
reaction_mscondition
357Baseline
256Baseline
335Baseline
374Baseline
290Baseline
375Baseline
363Baseline
269Baseline
249Baseline
322Baseline
371Baseline
388Baseline
271Baseline
293Baseline
386Baseline
327Baseline
318Baseline
327Baseline
341Baseline
357Baseline
371Baseline
320Baseline
358Baseline
286Baseline
313Baseline
301Baseline
279Baseline
313Baseline
299Baseline
299Baseline
287Baseline
276Baseline
375Baseline
339Baseline
294Baseline
316Baseline
293Baseline
252Baseline
414Baseline
263Baseline
224Baseline
317Baseline
312Baseline
324Baseline
321Baseline
287Baseline
350Baseline
296Baseline
289Caffeine
313Caffeine
361Caffeine
312Caffeine
198Caffeine
284Caffeine
339Caffeine
281Caffeine
302Caffeine
394Caffeine
324Caffeine
336Caffeine

First 60 of 209 rows.

Forecast fan chartWhere is the series heading, and how uncertain is the forecast?
View data
monthpassengers (thousands)kindlo 80hi 80lo 95hi 95
−662,688,000,000110actual————
−660,009,600,000105actual————
−657,590,400,000120actual————
−654,912,000,000135actual————
−652,320,000,000136actual————
−649,641,600,000153actual————
−647,049,600,000154actual————
−644,371,200,000140actual————
−641,692,800,000131actual————
−639,100,800,000131actual————
−636,422,400,000129actual————
−633,830,400,000126actual————
−631,152,000,000116actual————
−628,473,600,000122actual————
−626,054,400,000141actual————
−623,376,000,000146actual————
−620,784,000,000157actual————
−618,105,600,000166actual————
−615,513,600,000171actual————
−612,835,200,000170actual————
−610,156,800,000163actual————
−607,564,800,000147actual————
−604,886,400,000144actual————
−602,294,400,000131actual————
−599,616,000,000135actual————
−596,937,600,000139actual————
−594,518,400,000146actual————
−591,840,000,000163actual————
−589,248,000,000174actual————
−586,569,600,000183actual————
−583,977,600,000185actual————
−581,299,200,000179actual————
−578,620,800,000185actual————
−576,028,800,000169actual————
−573,350,400,000154actual————
−570,758,400,000152actual————
−568,080,000,000149actual————
−565,401,600,000151actual————
−562,896,000,000184actual————
−560,217,600,000177actual————
−557,625,600,000185actual————
−554,947,200,000210actual————
−552,355,200,000212actual————
−549,676,800,000210actual————
−546,998,400,000199actual————
−544,406,400,000182actual————
−541,728,000,000181actual————
−539,136,000,000168actual————
−536,457,600,000171actual————
−533,779,200,000181actual————
−531,360,000,000202actual————
−528,681,600,000211actual————
−526,089,600,000208actual————
−523,411,200,000234actual————
−520,819,200,000249actual————
−518,140,800,000233actual————
−515,462,400,000225actual————
−512,870,400,000228actual————
−510,192,000,000204actual————
−507,600,000,000199actual————

First 60 of 156 rows.

Send one to a report, and write in its Note what the bars or bands show and at what level. Without that, the same marks could mean an SD, an SE or a CI.

09

Get the interval in code

Explore

Don't stop at printing the numbers. Write the sentence the reader needs.

Python
import pandas as pd
from scipy import stats

df = pd.read_csv("toothgrowth.csv")
oj = df.loc[df["supp"] == "OJ", "len"]
vc = df.loc[df["supp"] == "VC", "len"]

res = stats.ttest_ind(oj, vc, equal_var=False)
ci = res.confidence_interval(0.95)
diff = oj.mean() - vc.mean()
print(f"Best estimate {diff:.1f}; compatible with {ci.low:.1f} to {ci.high:.1f} (95% CI).")
R
df <- read.csv("toothgrowth.csv")
res <- t.test(len ~ supp, data = df)
ci <- res$conf.int
diff <- unname(res$estimate[1] - res$estimate[2])
sprintf("Best estimate %.1f; compatible with %.1f to %.1f (95%% CI).", diff, ci[1], ci[2])

The same interval is on the t test's card: −0.2 to 7.6.

10

Check your understanding

Checkpoint

Check yourself

A 95% CI for a price effect is [−2, 8] dollars. Which sentence is best?

Show the answer

Answer: c

It gives the estimate and the range, in the reader's units, and it doesn't turn the interval into a probability about this one result.

Check yourself

The whole interval for a change's profit is positive, and you'd make the change at either end. What should your summary do?

Show the answer

Answer: a

Uncertainty deserves words in proportion to how much it affects the decision. Here it doesn't, so tell the reader that, and keep the range for those who want it.

Check yourself

To cut a confidence interval's width in half, about how many times the data do you need?

Show the answer

Answer: 4

Width shrinks with n\sqrt{n}, so halving the width takes 22=42^2 = 4 times the data.

Check yourself

What's the most reliable way to use a word such as "probably"?

Show the answer

Answer: b

The word helps the sentence, and the number tells every reader the same thing.

11

The last thing you said

Reflect

Recall the last time someone asked "So, did it work?" What did you tell them? How would you answer now, with both ends of the interval in one sentence?

12

Recap

Recap
  • Say the estimate and the range, without turning a confidence interval into a probability.
  • Read both ends: does the decision change? If it does, that's your message.
  • Give probability words a number, and label what a chart's bars or bands show.

Concepts in this lesson