Lite / Intelligent Robotic Systems / Week 34
Report the difference, not two averages
'Baseline 1.79, new 0.86.' What's missing from that sentence that a sceptical reader would demand?
Why should I care?
The question a reader really asks is 'how much better, and how sure are you?' Two bare averages answer neither. A difference with its uncertainty answers both.
- Compute the difference between two conditions with its standard error.
- Use paired seeded trials to compare methods per seed.
- Write a one-sentence comparison with metric, conditions, uncertainty and n.
Predict
Over 10 paired seeds, the new method wins on all 10. Over 10 different seeds per method, means differ by the same amount. Which is stronger evidence?
- The paired comparison
- The unpaired comparison
- They are identical
Guess first, then reveal
The paired one. Winning on every shared seed removes condition luck: each pair faced identical noise and disturbances.
Discover
In the Code Lab, enter two lists of 10 per-seed results. Compute each mean and SD, the difference of means, its standard error √(SE₁² + SE₂²), the per-seed differences and their mean and SD. Compare the two uncertainties.
What the interactive shows (text version)
In the Code Lab, two lists of per-seed results are summarised as means, standard deviations, the difference of means with its standard error, and the mean and standard deviation of the per-seed differences.
Watch (optional)
Watch for: Watch for why matched pairs reduce the noise you compare the difference against.
Shows how to judge a difference between two conditions against the noise, including why paired comparisons are so powerful.
“T-Tests: A Matched Pair Made in Heaven: Crash Course Statistics #27” 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
Difference ± uncertainty
For independent conditions: difference = x̄₁ − x̄₂, with SE = √(SE₁² + SE₂²). A difference of several SEs is unlikely to be luck; one of about one SE could easily be. Also give the percentage improvement relative to the baseline.
Paired trials
With shared seeds, compute the difference per seed, then its mean and SD. Because shared conditions cancel, these differences usually vary much less than either method alone, giving a tighter estimate. Also report how many seeds the new method won on.
The reporting sentence
Template: 'On [task and conditions], [method] reduced [metric] from [baseline mean ± SD] to [method mean ± SD] (n = …, same seeds), a difference of [Δ ± SE] ([%] improvement).' Everything a reader needs to check the claim is in one place.
Explain it another way
Intuitive
Comparing two runners on the same day on the same track tells you more than comparing their times from different races.
Technical
The paired difference removes between-trial variance shared by both conditions (common random numbers). The paired t-test formalises this; at this level, the mean and SD of differences is enough.
Mathematical
Unpaired: SE₁ = 0.13/√10, SE₂ = 0.09/√10; SE of difference ≈ √(0.0017 + 0.0008) ≈ 0.05. Δ = 0.93 ≈ 18 SE: overwhelming in this simulation.
Applied
Simulation benchmarks increasingly report per-seed or per-scenario results so readers can see where a method wins and where it loses.
Worked example 1
Write the reporting sentence for the tuned-P vs PI lab results.
'On the simulated first-order speed loop with noise and a random load step, PI reduced IAE from 1.79 ± 0.13 to 0.86 ± 0.09 (mean ± SD, n = 10 shared seeds), a difference of 0.93 ± 0.05 (SE), about 52 % lower; PI was lower on all 10 seeds.'
Common mix-ups
If the averages differ, the methods differ.
✓ Averages always differ a little by chance. Compare the difference with its uncertainty.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write the reporting sentence for your own P vs PI comparison, including per-seed wins. Swap with a partner and try to find anything missing from theirs.
Reflect
What would you need to see before you believed someone else's 'better'?
Write your answer on paper or in your own notes. Lite never stores what you write.