Uncertainty and models

Confidence-band chart

Shows uncertainty around an estimated mean, function or model quantity across X.

  • Plot
  • Uncertainty
  • Model fit

What it answers

How uncertain is an estimated curve?

Shape
Estimate curve within a shaded band
What it shows
Precision changes across the fitted domain.

Example

The question

How sure are we about the trend line linking price and units sold?

Units sold against price with fitted line and 95% confidence band (illustrative)

Units sold against price with fitted line and 95% confidence band (illustrative)Dots for 16 weeks, a fitted line (units fall by about 2.1 for each euro of price) and a shaded 95% confidence band for the line, narrowest near the middle price and wider at the ends.Units sold per week2040608010012010203040Price (EUR)
Units sold against price with fitted line and 95% confidence band (illustrative)Dots for 16 weeks, a fitted line (units fall by about 2.1 for each euro of price) and a shaded 95% confidence band for the line, narrowest near the middle price and wider at the ends.Units sold per week2040608010012010203040Price (EUR)
Dots for 16 weeks, a fitted line (units fall by about 2.1 for each euro of price) and a shaded 95% confidence band for the line, narrowest near the middle price and wider at the ends.

Illustrative data. It belongs to no company.

When to use it

Use it when

Showing uncertainty around estimated means/functions.

Avoid it when

When confused with individual-outcome prediction ranges.

How to read it

Read the estimate line and confidence-band coverage definition.

Note

Not a prediction interval for individual outcomes.

The data you need

Layout
Wide interval summary
Fields
X or Time: number/date; Estimate,Lower,Upper: numbers
One row is
One ordered curve position and its estimate and bounds. What is the grain?
Rules
Sort X/time, pair all bounds and specify interval meaning and coverage. Compute intervals using an appropriate model.
Optional
Alternative Estimate,LowerError,UpperError distances. Distinguish bounds from distances.
Preparation
Fit or obtain a suitable model/estimate first, then pair estimates with correctly labelled bounds or standard errors. Preserve coverage and scale information.
Units
Estimates and interval endpoints share an effect/measurement unit unless transformed. Coverage such as 95% is a model-based probability statement, not a data-share denominator.
Example of the input layout: Wide interval summaryA wide table: one row per item, with a separate column for each measure or period.X or TimeEstimateLowerUpper…ABC
A wide table: one row per item, with a separate column for each measure or period.

Worked example

AtX1 mean 10 with 95% confidence interval 8-12; X2 mean 12 with 9-15. The second interval iswider under the supplied model.

XEstimateLowerUpper
110812
212915
3141018