TactivergeLite

Lite / Independent Engineering Research / Week 12

Random and systematic error, and confidence intervals

Your thousand-reading average has a tiny error bar. Then someone notices the sensor was mounted 2 cm off. What did the error bar actually promise?

About 40 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Every number in a research report carries an uncertainty, and readers act on it. A confidence interval that ignores systematic error is not just incomplete: it is confidently wrong. This lesson is the module check's backbone.

Predict

A 95% confidence interval for a rover's mean wheel radius is 101.2 ± 0.3 mm. Which statement is correct?

  1. 95% of wheels have radius in that range
  2. If we repeated the procedure many times, about 95% of such intervals would contain the true mean
  3. There is a 95% chance the true mean is exactly 101.2
  4. The radius is definitely between 100.9 and 101.5
Guess first, then reveal

The 95% refers to the procedure: across many repeats, about 95% of the intervals it produces cover the true mean. It says nothing about individual wheels, and nothing about systematic errors it did not model.

Discover

Use 'average of all n' with n = 20. With zero offset the cloud is centred: random error only. Now set a 0.8 m offset: the cloud moves but stays the same size. Increase n: the cloud shrinks around the WRONG point. That is a precise, inaccurate measurement.

What the interactive shows (text version)

On the dartboard, a systematic offset shifts the whole cloud of estimates away from the bullseye while larger n only shrinks it; the readout states the bias and spread numerically.

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

Understand

Two kinds of error

Random error changes from reading to reading (noise, vibration); it shows up as scatter and shrinks with averaging. Systematic error is the same each time (calibration, mounting offset, wrong model); it shows up as bias and is invisible in the scatter. Accuracy needs both small; precision only needs the first.

Confidence interval for a mean

With n readings, mean x̄ and standard deviation s, a large-n 95% interval is x̄ ± 1.96·s/√n. For small n use Student's t (for n = 10, t ≈ 2.26 instead of 1.96). The half-width is the expanded uncertainty with coverage factor about 2.

Reporting honestly

Write value ± uncertainty (unit, coverage), e.g. 101.2 ± 0.3 mm (95%, random only). State what is included. Estimate systematic terms separately (calibration certificate, a check against a reference) and combine them with the random term in quadrature if independent.

Explain it another way

Intuitive

Random error is a shaky hand; systematic error is a bent ruler. Measuring many times steadies the hand but never straightens the ruler.

Technical

The GUM (Guide to the Expression of Uncertainty in Measurement) calls these Type A (evaluated statistically from repeats) and Type B (evaluated by other means, such as specifications). Both are expressed as standard uncertainties and combined.

Mathematical

n = 36, s = 1.2 mm: SE = 0.2 mm, 95% half-width = 0.392 mm. Adding a 0.3 mm (1σ) calibration term: combined u = √(0.2² + 0.3²) = 0.36 mm, expanded ≈ 0.72 mm.

Applied

Mars rover position estimates are reported with covariances, but navigators also check them against orbital imagery: an independent reference that exposes systematic errors the filter cannot see.

Worked example 1

25 range readings: mean 12.40 m, s = 0.10 m. Give a 95% interval (use 1.96).

SE = 0.10/5 = 0.02 m. Half-width = 1.96 × 0.02 = 0.039 m. Result: 12.40 ± 0.04 m (95%, random only).

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 2. Which of these is a systematic error?

mm

Practice 4. Two teams report 9.81 ± 0.02 and 9.75 ± 0.02 m/s² (95%) for the same quantity. What is the most likely explanation?

Apply it

Pick a measurement from this term's rover project (for example, final position error). List one random and one systematic source of error, say how you would estimate each, and write the result in the form value ± uncertainty (coverage, what is included).

Reflect

What is one systematic error in a simulation study that repeated runs would never reveal?

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

← Least squares as an estimatorPropagating uncertainty: linearisation and Monte Carlo →