Skip to content
Tactiverge

School/✦ Research Engineer/Week 30

Module check: comparative evaluation

Two controllers, three metrics, ten runs each. One wins on speed, one on overshoot. How do you report that without spin?

About 50 min · 3 goals · Checked by automated tests

1.Why should I care?

This module check brings together everything about comparing fairly. In real engineering reviews the question is never 'is it better?' but 'better at what, by how much, how sure, and at what cost?'.

  • ◇ Choose a primary metric in advance and report secondary metrics honestly.
  • ◇ Compare methods with differences, uncertainties and effect sizes.
  • ◇ Combine baselines, ablations and metrics into one fair evaluation.

2.Predict

Controller B settles 0.2 s faster but overshoots 6% more than A. What is the honest summary?

Guess first. Being wrong here is how the surprise works.

3.Understand

One primary metric

Choose the primary metric from the requirement, before data: it decides whether the hypothesis is supported. Secondary metrics describe costs and side effects and are always reported, even when they look bad. Switching the primary metric after seeing results is a questionable research practice.

Report differences, not just two numbers

Write 'B − A = −0.21 s (95% CI −0.35 to −0.07 s), d = 0.9' rather than 'A 2.4 s, B 2.2 s'. The difference and its interval answer the question directly; the effect size says how big it is relative to run-to-run variation.

Fair evaluation checklist

Strong baseline with equal effort; same conditions and seeds; enough repeated runs; primary metric pre-stated; ablations for each claimed component; all runs reported; uncertainty on every comparison; conclusions within scope.

Explain it another way

A car review that only mentions top speed and hides fuel economy is an advert, not a review.

Worked example 1

A: mean 2.40 s, SD 0.20, n 10. B: mean 2.20 s, SD 0.25, n 10. Difference, SE, d?

Difference = 0.20 s. SE = √(0.04/10 + 0.0625/10) = √0.01025 ≈ 0.101 s. 95% CI ≈ 0.20 ± 0.198 = [0.002, 0.398] s. Pooled SD = √((0.04 + 0.0625)/2) ≈ 0.226, so d ≈ 0.88: large relative to spread, but the interval nearly touches zero with only 10 runs each.

Common mix-ups

  • Significant means important.
    ✓ Significance says the difference is unlikely to be pure noise; effect size and the requirement say whether it matters.

4.Discover

Read the elevator Level 5 investigation. Choose a primary metric (for example levelling error) and a secondary one (trip time) BEFORE running. Plan two controller settings, at least four runs each. Note how you will report the difference and its uncertainty for each metric.

Can't use the interactive? Read a description instead

The elevator Level 5 investigation asks for one question, a changed setting across at least four recorded runs and a report. The activity is planning: choose primary and secondary metrics before running, and plan how to report differences with uncertainty.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

When should the primary metric be chosen?

Practice 2 · a fresh version every time

Two groups of n = 30 each. Baseline mean = 3 s, SD = 0.2. New method mean = 2.85 s, SD = 0.5 (settling time, lower is better). Using the pooled SD for equal groups, √((s1² + s2²)/2), what is Cohen's d = (baseline − new) / pooled SD?

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 3 · a fresh version every time

Baseline: n1 = 20 trials, s1 = 0.3 N. New method: n2 = 15 trials, s2 = 0.3 N (independent groups, grasp force error). What is the standard error of the difference in means, in N?

N

Practice 4 · a fresh version every time

Baseline: mean 1.5 N, s1 = 0.4, n1 = 20. New: mean 1.3 N, s2 = 0.25, n2 = 15 (grasp force error). Compute the two-sample (Welch) t statistic t = (mean1 − mean2) / √(s1²/n1 + s2²/n2).

Practice 5

Your method wins the primary metric but uses 30% more energy. What do you report?

Practice 6

Which is NOT part of a fair comparison?

Practice 7

Difference 0.30 s, SE of the difference 0.10 s. What is the upper bound of the 95% CI (1.96 × SE)?

s

Practice 8

With 10,000 runs per group, a 0.001 s difference is 'significant'. What should you add?

7.Apply it

Write the evaluation plan for your capstone: primary metric and why, secondary metrics, baselines, ablations, runs per condition, and the exact sentence template you will use to report each comparison.

Open BUILD 002: Engineer an Elevator →

8.Reflect

Concepts: Comparing conditions with uncertainty · Evaluation metrics · Baselines and ablation studies