TactivergeOffline

Level 5 Independent Engineering Research · Term 4: Engineering Research

An independent research investigation from question to communication: sharp questions and falsifiable hypotheses, reading and synthesising the literature, strong baselines and ablations, powered and pre-registered experiments, honest evidence, correct statistics (intervals, effect sizes, p-values, multiple comparisons, the bootstrap), stated limitations, honest writing and figures, and research integrity throughout. The term ends with a pre-registered capstone proposal and a pilot.

In this file: 27 lessons across weeks 28–36, with 130 practice questions (questions only, no answers).

Conduct an independent, reproducible engineering investigation using advanced mathematics, estimation and computing, and communicate it to the standard of an early research publication. Levels describe what you can do, not your age. About About 3–4 hours a week: 1.5 hours of study, 1.5–2 hours of computation or research work and 30 minutes of writing. Research weeks are self-paced within that budget..

Week 28: Defining a research question

This week you will

From a topic to a research question

'Robot grippers' is a topic. 'Do grippers work?' is a slogan. What does a question look like when it can actually be answered?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Most failed student projects fail at the first step: the question was too big, too vague or not really a question. A sharp question tells you what to build, what to measure and when you are finished. It is the cheapest piece of engineering you will ever do, and the one that saves the most time.

Goals

Predict

Which of these is closest to a researchable question?

  1. How can robots be improved?
  2. Is a complementary filter better?
  3. Does a tuned complementary filter reduce RMS tilt error compared with a tuned moving average on our balancing robot?
  4. What is the best filter?

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Start from 'Does the new filter make the robot better?'. Choose one option per row and read the note under each. Try to make all five checks go green, then try a version that is specific but has no comparison: which checks fail?

What the interactive shows, in words

The hypothesis sharpener offers choices for five parts of a hypothesis (what changes, what is measured, comparison, threshold, conditions). Vague options such as 'makes the robot better' fail; specific ones such as 'reduces RMS tilt error in degrees against a motion-capture reference' pass. Five checks are listed: specific, measurable, has a comparison, falsifiable, scoped.

Understand

Topic, question, hypothesis

A topic is an area (balancing robots). A question asks something specific about it (does filter X reduce tilt error?). A hypothesis is a prediction that answers the question and could be wrong (X reduces RMS tilt error by at least 0.5° compared with Y). Research moves from left to right, and each step throws away possibilities.

Operational definitions

'Stable', 'better', 'robust' and 'efficient' mean nothing until you say how you will measure them. An operational definition names the quantity, its unit, the instrument and the procedure: 'RMS difference between the estimated tilt and a motion-capture reference over a 60 s run, in degrees'. Someone else should be able to measure the same thing without asking you.

Variables fall out of the question

A good question already tells you the independent variable (what you change), the dependent variable (what you measure) and the controlled variables (what you must hold fixed, such as floor, battery and robot). If you cannot list them, the question is not yet sharp enough.

Explain it another way: intuitive

A good research question is like a good shopping list: specific enough that someone else could do the shopping for you and come back with the same things.

Explain it another way: technical

A researchable question specifies a population or system, an intervention or factor, a comparison, an outcome measure and a scope (sometimes remembered as PICO: population, intervention, comparison, outcome).

Explain it another way: applied

The proposed TV-01 study turns a broad interest (cheap cooperative robots) into one question about whether local force sensing compensates for intermittent vision. It is a worked example of narrowing, not a source of results: no data exist yet.

Try these examples

Example 1

Sharpen: 'Is the greenhouse controller good?'

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which question could an experiment actually answer?

  • Are sensors important?
  • Does doubling the camera frame rate reduce the rover's final position error on the north-rim route?
  • What is the future of robotics?
  • Why is my code bad?

2. Which is an operational definition of 'grip success'?

  • The gripper works well
  • The object is still held 5 s after lifting 10 cm, judged by the simulator's contact flag
  • Most people would say it held
  • The grip feels strong

3. Question: 'Does pad friction change the minimum squeeze force needed to lift a 200 g bolt?' What is the dependent variable?

  • Pad friction
  • Minimum squeeze force
  • The bolt's mass
  • The simulator

4. In that same question, which should be controlled?

  • Pad friction
  • Lift acceleration
  • Squeeze force
  • None: control nothing so it is realistic

5. A learner writes 'Is the PID controller better?' What is the most useful first fix?

  • Add more trials
  • Say better than what, at what, measured how
  • Use a fancier controller
  • Ask a friend if it looks better

Apply it

Write three versions of a question for your capstone topic: a topic, a question and a hypothesis. For the hypothesis list the independent, dependent and controlled variables and give an operational definition of the outcome.

Reflect

Which word in your first draft of a question was doing the most hiding?

Hypotheses that could be wrong

A hypothesis that every possible result would support tells you nothing. How do you write one that the data could actually knock down?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Hypotheses earn trust by risking failure. 'Integral action changes the steady-state error' cannot really fail. 'Adding Ki = 0.5 reduces steady-state error below 1% within 5 s, where P-only stays above 5%' can. Engineers who write risky hypotheses learn faster, because every experiment teaches them something.

Goals

Predict

'Adding integral action will affect the response.' What is wrong with this hypothesis?

  1. Nothing: it is cautious and therefore good
  2. Almost any result 'affects' the response, so no outcome could refute it
  3. It should be about derivative action instead
  4. Hypotheses should never mention controllers

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Before touching anything, write: 'With P-only at Kp = 2, steady-state error will be above X%; adding Ki will bring it below Y% within Z s.' Pick X, Y and Z. Then run the lab. Did the data refute your hypothesis or not? Would you have known without writing the numbers down first?

What the interactive shows, in words

The feedback lab shows a controlled system's response to a setpoint. With proportional control alone a steady-state error remains; adding integral action removes it over time. The activity is to write numerical predictions before running and compare them with the measured error.

Understand

Falsifiable means some result would count against it

A hypothesis is falsifiable if you can describe, before the experiment, a result that would show it is wrong. 'The filter helps' is weak; 'the filter cuts RMS tilt error by at least 0.5° against a tuned moving average' is strong, because a measured improvement of 0.1 ± 0.2° would refute it.

Direction, size and decision rule

A complete hypothesis has a direction (reduces), a size (by at least 0.5°) and a decision rule (supported if the lower end of the 95% CI of the improvement exceeds 0.5°; refuted if the upper end is below 0.5°; otherwise inconclusive). Writing the inconclusive case down is honest: many experiments end there.

Null and alternative

Statistics often frames this as a null hypothesis (no difference, or a difference below Δ) and an alternative. You never 'prove' the alternative; you collect evidence that makes the null implausible, or you fail to.

Explain it another way: intuitive

A weather forecast that says 'some weather tomorrow' is never wrong and never useful. 'Rain after 3 pm' is useful precisely because it might be wrong.

Explain it another way: technical

Popper's criterion: a scientific claim must prohibit some observable outcomes. Engineering adds a practical twist: the prohibited outcome should be defined relative to a threshold that matters for the design.

Explain it another way: mathematical

Decision rule with SESOI Δ: supported if est − 1.96·SE > Δ; refuted if est + 1.96·SE < Δ; else inconclusive.

Explain it another way: applied

Controller specifications already work this way: 'overshoot under 10%, settling under 2 s'. A research hypothesis is a specification you are not sure the system meets.

Derivation: Why the threshold has to come first
  1. Suppose the true improvement is δ and your experiment estimates it with standard error SE.

  2. With enough trials, SE = σ/√n becomes tiny, so ANY δ ≠ 0, however small, will eventually look 'significant'.

  3. So 'there is a difference' is almost guaranteed to be true for real systems, and therefore almost uninformative.

  4. Fix a smallest effect size of interest (SESOI), Δ, from engineering needs: 'an improvement under 0.5° is not worth the code'.

  5. Now the hypothesis is 'δ ≥ Δ', and a result whose interval lies wholly below Δ refutes it. That is a risk the data can actually take.

Try these examples

Example 1

Estimate of improvement = 0.7°, SE = 0.15°, SESOI = 0.5°. Supported, refuted or inconclusive?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which hypothesis is falsifiable?

  • The new code might change performance
  • The new code reduces mean sort time per item by at least 0.2 s on the standard 50-item batch
  • The new code is interesting
  • Performance depends on many factors

2. Improvement estimate 0.9 s, SE 0.2 s, SESOI 0.4 s. What is the lower 95% bound (1.96 × SE)?

Answer: s

3. Estimate 0.25 s, 95% CI [0.05, 0.45] s, SESOI 0.5 s. Verdict under a 'supported if lower bound > SESOI' rule?

  • Supported
  • Refuted: the whole interval is below the SESOI
  • Inconclusive
  • Cannot say without a p-value

4. After seeing the data, a learner lowers the SESOI from 0.5 to 0.2 so that the result is 'supported'. What is this?

  • Fine-tuning
  • Moving the goalposts: a questionable research practice
  • Required by statistics
  • A pre-registration

5. What does failing to reject a null hypothesis show?

  • The null is true
  • The data are not strong enough to rule it out
  • The experiment was a failure
  • The alternative is false

Apply it

Rewrite your capstone hypothesis with a direction, a smallest effect of interest and a three-way decision rule (supported, refuted, inconclusive). Explain where your SESOI comes from (a requirement, a cost, a user need).

Reflect

What result would make you abandon your capstone hypothesis? If you cannot name one, what does that tell you?

Scope, feasibility and success criteria

You have nine weeks, one laptop and a browser simulator. Which research question survives contact with that budget?

About 35 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Feasibility is not pessimism: it is engineering applied to research itself. A question you can finish, with a pre-agreed fallback, beats an exciting one that collapses in week 33 with no data.

Goals

Predict

Each simulated rover run takes about 2 minutes to set up and record. You want 4 conditions × 20 runs. Roughly how long is data collection?

  1. About 20 minutes
  2. About 2.7 hours
  3. About 2 days

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Read the Level 5 task. Pick one candidate question (for example checkpoint spacing versus final error). Time one recorded run. Then calculate how many runs your design needs and whether it fits in two hours a week.

What the interactive shows, in words

The rover Level 5 task asks for one question, one changed variable across at least four recorded runs and a short report. The activity is to time one run and multiply by the number of runs the design needs.

Understand

Four feasibility checks

Time: runs × minutes per run, plus analysis and writing. Tools: can the simulator or lab actually vary the factor and record the outcome? Skills: do you know the analysis, or can you learn it in the time? Safety and ethics: everything here stays in the browser; no mains power, no people as subjects without proper oversight.

Success criteria and fallback

Write what 'done' means before you start: 'a pre-registered comparison of 4 checkpoint spacings, 20 runs each, with intervals'. Then write a fallback: 'if time runs short, 2 spacings with 30 runs each'. The fallback must still answer a smaller version of the same question.

Cut breadth, not rigour

When scope is too big, drop conditions, routes or metrics. Do not drop baselines, repeated trials or uncertainty. A narrow result with honest error bars is publishable; a broad one without them is not.

Explain it another way: intuitive

Packing for a trip: first decide what must fit in the bag, then what is nice to have. Research scope works the same way.

Explain it another way: technical

Feasibility is a constraint problem: maximise the information you gain about the question subject to time, compute and skill budgets.

Explain it another way: applied

Real research groups write a scoped proposal and a risk register (what could go wrong, how likely, what you will do) before any funded work.

Try these examples

Example 1

Each greenhouse simulation takes 30 s; you need 3 hysteresis values × 2 weather profiles × 15 seeds. Time?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. 5 conditions × 12 runs × 3 minutes per run. How many hours of data collection?

Answer: h

2. Your plan is too big. Which cut keeps the research sound?

  • Drop the baseline
  • Drop from 6 conditions to 3
  • Run each condition once
  • Skip the uncertainty analysis

3. A learner wants to test a real motor driver on mains power for the capstone. What applies here?

  • Fine if careful
  • Not allowed: activities stay browser-based and low-hazard; use the simulator
  • Fine with a friend watching
  • Fine if the voltage is written down

4. Which is a good fallback plan?

  • If it fails, change the topic
  • If time is short, compare 2 spacings with 30 runs each instead of 4 with 20
  • If results are bad, report only the good runs
  • No fallback: commit fully

Apply it

Write a one-paragraph feasibility check for your capstone: runs needed, minutes per run, tools, skills to learn, and a fallback.

Reflect

What is the riskiest assumption in your plan, and how would you find out early if it is wrong?

Week 29: Conducting a literature review

This week you will

The anatomy of a paper

Experienced researchers skip most of a paper on the first read. Which parts do they read, and in what order?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

You will read far more papers than you write. Reading them well is a skill: the abstract sells, the figures show, the methods reveal. Learning where each piece of evidence lives turns a 40-minute slog into a 10-minute triage.

Goals

Predict

Where are you most likely to find out that only three runs were done?

  1. Abstract
  2. Methods
  3. Discussion
  4. Title

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Stay on 'Where would you look?'. Open each section of the invented paper, then place each question in the section that answers it. Press Check. Which weaknesses would you have missed if you had read only the abstract?

What the interactive shows, in words

The paper anatomy explorer shows an invented paper with six sections: abstract, introduction, methods, results with a figure, discussion and references. Questions such as 'how many runs were done?' are matched to the section that answers them, with feedback.

Understand

IMRaD

Most papers follow Introduction, Methods, Results and Discussion, wrapped by a title, abstract and references. Introduction: why the question matters and what is known. Methods: exactly what was done. Results: what was found, with uncertainty. Discussion: what it might mean, limitations, future work.

Three passes

Pass 1 (5 min): title, abstract, figures and their captions, conclusions. Decide: is it relevant? Pass 2 (20 min): methods and results. Is the design sound, the baseline fair, the sample adequate? Pass 3 (as long as needed): re-derive key numbers and list assumptions. Only papers you will build on deserve pass 3.

Figures first

A figure is the densest evidence in a paper. Read its axes, units, error bars and caption before the text tells you what to see. If a figure has no uncertainty or a truncated axis, note it: that is part of your evaluation.

Explain it another way: intuitive

Reading a paper is like inspecting a used car: the advert (abstract) is the seller's story, the inspection report (methods and results) is the truth.

Explain it another way: technical

IMRaD separates claims (abstract, discussion) from evidence (methods, results). Evaluation consists of checking that each claim is supported by evidence in the right section.

Explain it another way: applied

Engineers often read papers to choose a baseline or a method. Pass 2 is where you discover whether the reported gain came from a fair comparison you could reproduce.

Try these examples

Example 1

A paper's abstract says 'robust across conditions'. How do you check?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Where would you find exactly how the baseline was configured?

  • Abstract
  • Methods
  • References
  • Acknowledgements

2. What is the goal of a first pass?

  • Check every equation
  • Decide whether the paper is relevant enough to read further
  • Memorise the results
  • Find typos

3. A results figure has no error bars. What should you conclude?

  • The result is precise
  • You cannot judge whether the difference exceeds run-to-run variation
  • It was peer reviewed, so it is fine
  • Error bars are optional decoration

4. Which statement belongs in a Discussion rather than Results?

  • Mean error was 4.0° (SE 0.3°)
  • The improvement may not transfer to heavier robots
  • Twenty runs per condition were randomised
  • Figure 2 plots error against time

Apply it

Choose one real paper or technical report related to your capstone topic. Do a timed first pass (5 minutes) and write three lines: question, main claim, and one thing you need from the Methods to trust it.

Reflect

Which section of a paper do you now expect to be most honest, and why?

Primary sources and evaluating claims

A blog says a filter 'cuts error by 40%', citing a paper. The paper says something more careful. Which do you cite?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Claims mutate as they travel: '40% on one robot in one afternoon' becomes 'filters cut error by 40%'. Going back to the primary source and checking its evidence is the single habit that most protects your own work from inherited errors.

Goals

Predict

Which is a primary source for a filter's performance?

  1. A textbook chapter summarising filters
  2. A journal article reporting the authors' own experiments and data
  3. A video explaining filters
  4. A forum post

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Switch to 'Check the headline claim'. Read the Methods and Results, then tick every real problem with the claim. Two items are red herrings: can you tell why they are not real problems?

What the interactive shows, in words

In 'Check the headline claim', eight possible problems with an invented paper's claim are listed. Six are real (three runs on one robot, untuned baseline, no error bars, truncated axis, post-hoc exclusions, over-claiming); two are red herrings (an unusual but reported parameter, and a camera reference that is fine if its error is measured).

Understand

Primary and secondary

Primary sources report original data or analysis: papers, theses, technical reports, datasets. Secondary sources summarise: reviews, textbooks, articles, videos. Use secondary sources to map a field, then cite the primary source for any specific claim you rely on, after reading it yourself.

Five questions for any claim
  1. Design: what was compared, and was it randomised? 2. Sample: how many runs, systems, conditions? 3. Baseline: was the comparison fair, with equal effort? 4. Uncertainty: are intervals or error bars reported? 5. Scope: does the conclusion stay within what was tested?
Peer review is a filter, not a guarantee

Peer review catches some errors but reviewers rarely rerun experiments. Replication by independent groups is stronger evidence. A single unreplicated paper is a hypothesis with some support, not a fact.

Explain it another way: intuitive

Like the telephone game: the further a claim travels from where it started, the more it changes. Go back to the first person in the line.

Explain it another way: technical

Evidence hierarchies rank designs: replicated randomised comparisons above single studies, above uncontrolled observations, above expert opinion.

Explain it another way: applied

Datasheets are primary sources for a component's rated values, but the test conditions in the small print are the scope of those numbers.

Try these examples

Example 1

Summarise the invented paper fairly in one sentence.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is a secondary source?

  • A lab's dataset with a methods note
  • A review article summarising 40 studies
  • A thesis reporting new experiments
  • A technical report with original measurements

2. You rely on a specific number you found in a textbook. What should you cite?

  • The textbook only
  • The primary source the textbook cites, after checking it says that
  • Nothing: numbers are facts
  • Whichever looks more impressive

3. Which is NOT by itself a reason to distrust a result?

  • The baseline received less tuning effort
  • Failed runs were dropped after seeing data
  • The authors used an uncommon but fully reported parameter value
  • No uncertainty is reported

4. Results from one simulated rover on one route are reported as 'works for planetary rovers'. What is the problem?

  • Sample size only
  • The conclusion exceeds the scope tested
  • Simulation is never useful
  • There is no problem

5. Which evidence most strengthens a surprising claim?

  • More citations
  • An independent group reproduces it with a pre-registered design
  • A confident press release
  • A larger font in the abstract

Apply it

For two sources on your capstone topic, write the five-question evaluation and a one-sentence fair summary of each. Mark each as primary or secondary.

Reflect

Have you ever repeated a claim you had not traced back to its source? What would checking it have cost?

A literature log and a synthesis

Twelve sources in twelve browser tabs is not a literature review. What turns a pile of papers into an argument?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

A review is not a list of summaries: it is a map of what is known, where sources disagree and where the gap is that your question fills. A structured log makes that map possible and protects you from accidentally copying someone else's words.

Goals

Predict

Which log entry is most useful later?

  1. 'Good paper about filters'
  2. 'Smith: filters good'
  3. Source, question, method, n, baseline, main result with uncertainty, limitations, my quality rating, how it relates to my question

Write down your guess and your reason. The reveal is in the online lesson.

Discover

In the code studio, create a small table (a list of objects) with fields source, primary (true/false), n, baseline, result, limitation and relevance. Enter four sources from your reading. Write a few lines that list only primary sources with n ≥ 10, then print which baselines appear most often.

What the interactive shows, in words

The code studio activity builds a small table of sources with fields for type, sample size, baseline, result and limitations, then filters it in code. A spreadsheet or paper table works equally well.

Understand

The log

One row per source: full reference, primary or secondary, question, method, sample size, baseline, main result with uncertainty, limitations, your quality rating and a note on relevance. Record the date you read it. Paraphrase in your own words at the time, and mark any exact quotation with quotation marks and a page number.

Synthesis, not summary

Group sources by theme, not by author. For each theme: what do sources agree on, where do they conflict (and could different conditions explain it?), and what is open? Your research question should sit in an open gap, or test a disputed point under better conditions.

Plagiarism and credit

Plagiarism is presenting others' words, ideas, code, figures or data as your own. Avoid it by citing whenever an idea is not yours, paraphrasing genuinely (not swapping synonyms), and disclosing tools, including AI tools, used to draft or summarise. Credit is also how readers check your claims.

Explain it another way: intuitive

Summaries describe each tree; a synthesis draws the map of the forest and marks the clearing where your project will go.

Explain it another way: technical

A literature matrix (sources × attributes) turns reading into data you can sort, filter and compare, the same way you would treat experimental results.

Explain it another way: applied

Systematic reviews use pre-stated search terms and inclusion criteria so that the choice of sources is itself reproducible and not cherry-picked.

Try these examples

Example 1

Two sources disagree: one finds a filter helps, one finds no effect. How do you write it?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which sentence is synthesis rather than summary?

  • Paper A used a Kalman filter.
  • Three of four studies report gains, but all three used untuned baselines; the one with a tuned baseline found none.
  • Paper B is from 2021.
  • Paper C has 12 pages.

2. Which is plagiarism?

  • Quoting a sentence in quotation marks with a citation
  • Paraphrasing someone's idea in your own words with a citation
  • Copying a paragraph and changing a few words, without citation
  • Citing a dataset you used

3. You used an AI tool to summarise three papers. What is the honest practice?

  • Say nothing
  • Check each summary against the paper, cite the papers, and disclose the tool use
  • Cite the AI tool as the source of the findings
  • Delete the summaries

4. Which log field most helps you spot unfair comparisons across studies?

  • Page count
  • The baseline used and how it was tuned
  • The journal's logo
  • Number of authors

Apply it

Build a log of at least six sources for your capstone (at least three primary). Write a 200-word synthesis with agreed, disputed and open points, and the sentence that states your gap.

Reflect

Which source surprised you most, and did it change your question?

Week 30: Establishing a baseline

This week you will

Strong, fair baselines

Beating a baseline nobody tuned is easy. Beating one that got the same effort as your method is research. How do you build the second kind?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Many apparent improvements vanish when the baseline is tuned as carefully as the new method. Reviewers know this, and the first thing they ask is: what did you compare against, and was it fair?

Goals

Predict

A fused estimate beats raw camera fixes. Which baseline makes the comparison most convincing?

  1. The worst single sensor, untuned
  2. The best single sensor, tuned with the same effort
  3. No baseline
  4. A random guess

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Treat the lab as an experimental subject. First record the error of each single sensor alone (two baselines). Then the fused estimate. Is fusion better than the BEST single sensor, not just the worst? By how much, relative to the run-to-run variation you see?

What the interactive shows, in words

The fusion lab shows noisy readings from two sensors and a fused estimate in one dimension. The activity compares the error of each sensor alone with the fused error, and asks whether fusion beats the better single sensor.

Understand

Three baselines

A trivial baseline (always predict the average, guess the commonest class) shows the task is not trivially easy. A standard baseline is what practitioners use today. A strong baseline is the best reasonable alternative, tuned as carefully as your method. Claims should be made against the strong one.

Equal effort, equal information

If your method had two days of tuning and the baseline had defaults, your gain partly measures tuning effort. Give each the same tuning budget (time, trials, search range). Give each the same inputs: a baseline denied a sensor your method uses is not comparable.

Same conditions

Run baseline and method on the same tasks, seeds or conditions, ideally interleaved and randomised. Then the difference cannot be explained by easier conditions for one of them.

Explain it another way: intuitive

Racing a friend who is wearing flip-flops proves little. Race someone in proper trainers.

Explain it another way: technical

Reported improvement = true improvement + (tuning gap) + (information gap) + noise. Equal effort and inputs set the middle terms to zero.

Explain it another way: applied

In the rover, dead reckoning is the standard baseline, but a camera-only estimate tuned for dust is the strong one a fusion claim must beat.

Try these examples

Example 1

Fused error 0.45 m. Camera alone 0.5 m, odometry alone 1.2 m. Which improvement do you report?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is the strongest fair baseline for a new path planner?

  • A planner that moves randomly
  • A standard A* planner with its heuristic tuned on the same maps
  • The new planner with one line removed
  • No planner

2. Strong baseline error 2.0 cm, new method 1.7 cm. What is the relative improvement, in %?

Answer: %

3. The method was tuned for 50 trials; the baseline used defaults. What does the measured gain include?

  • Only the method's merit
  • The method's merit plus the benefit of extra tuning
  • Nothing useful
  • Random error only

4. Why include a trivial baseline at all?

  • To make your method look good
  • To show the task is not trivially easy and catch bugs
  • It is required by law
  • It replaces the strong baseline

5. Baseline: n1 = 20 trials, s1 = 0.4 s. New method: n2 = 15 trials, s2 = 0.3 s (independent groups, sorting time per item). What is the standard error of the difference in means, in s?

Answer: s

Apply it

List the trivial, standard and strong baselines for your capstone, and write how you will give the strong one equal tuning effort and information.

Reflect

What is the strongest argument a reviewer could make that your baseline is unfair?

Ablation studies: what is each part worth?

Your system has three clever parts and scores 89%. Remove one and it barely changes. Remove another and it collapses. Why?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Ablations answer the question every reviewer asks: is your improvement coming from the part you say it comes from? They also tell engineers which parts to keep when a system must be simplified.

Goals

Predict

Parts G, C and V each add 6, 5 and 4 points on their own. The full system gains 11. What explains the missing 4?

  1. Measurement error only
  2. Two parts overlap: they fix the same problem, so together they add less
  3. The table is wrong
  4. Ablations always lose points

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Start with only the full system. Add the baseline row, then the trivial baseline, then the three leave-one-out rows. Read the readout each time. Do the leave-one-out contributions sum to the total gain? Re-run with new seeds: which conclusions survive the noise?

What the interactive shows, in words

The ablation table builder lists eight configurations of an illustrative sorting-machine classifier plus a trivial baseline. Selecting rows adds them to a table of mean accuracy and standard error from five seeded runs. The readout explains that leave-one-out contributions (about 2, 1 and 4 points) do not sum to the 11-point total because two parts overlap.

Understand

Rows of an ablation table

Baseline (nothing added), full system, and for each component a leave-one-out row (full minus that part). Add-one rows (baseline plus one part) are useful too. Every row is repeated runs, reported as mean ± SE or with an interval.

Interactions

If components were independent, add-one gains would sum to the full gain. Real components interact: two that fix the same problem overlap (negative interaction); one that only works with another synergises. Leave-one-out shows each part's value in the final system; add-one shows its value alone. Report both when they differ.

Noise and honesty

A 1-point drop with an SE of 0.7 is not evidence that a part matters. Report every ablation you ran, including the ones where your favourite component turned out to be useless. That is a negative result, and it is valuable.

Explain it another way: intuitive

Taking players off a team one at a time shows who really matters, and sometimes that two players were doing the same job.

Explain it another way: technical

With a full factorial design (all 2³ = 8 configurations) you can estimate main effects and interactions; leave-one-out uses only 4 of them.

Explain it another way: mathematical

Here: acc = 78 + 6G + 5C + 4V − 4GC. Leave-one-out of G = 89 − 83 = 2, C = 1, V = 4. Sum 7 ≠ 11 because of the −4 interaction.

Explain it another way: applied

The sorting machine build lets you vary glare handling and voting; an ablation tells you whether voting still earns its latency cost once glare is handled.

Try these examples

Example 1

Full 89 ± 0.7, without V 85 ± 0.7, without C 88 ± 0.7 (SE). Which part clearly matters?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. What does a leave-one-out row measure?

  • The part's value on its own
  • The part's contribution within the full system
  • The baseline
  • The noise

2. Baseline 70, A alone 76, B alone 75, A+B 77. What is the interaction (A+B gain minus the sum of single gains)?

Answer: points

3. How many configurations does a full factorial ablation of 4 on/off components need?

  • 4
  • 8
  • 16
  • 5

4. Your ablation shows your favourite component adds nothing measurable. What do you do?

  • Drop the ablation from the report
  • Report it, and consider simplifying the system
  • Run more seeds until it helps
  • Change the metric

5. Baseline: mean 2.6 s, s1 = 0.5, n1 = 15. New: mean 2.55 s, s2 = 0.5, n2 = 15 (sorting time per item). Compute the two-sample (Welch) t statistic t = (mean1 − mean2) / √(s1²/n1 + s2²/n2).

Answer:

Apply it

Draw the ablation table you will need for your capstone: rows, number of runs per row, and how you will report uncertainty.

Reflect

Which part of your own design would you be most reluctant to ablate, and why is that a reason to do it?

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 · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

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?'.

Goals

Predict

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

  1. B is better
  2. A is better
  3. B trades overshoot for speed; which is preferable depends on the requirement chosen in advance
  4. They are the same

Write down your guess and your reason. The reveal is in the online lesson.

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.

What the interactive shows, in words

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.

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: intuitive

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

Explain it another way: technical

Pre-specifying the primary outcome controls the false-positive rate; secondary outcomes are descriptive unless corrected for multiple comparisons.

Explain it another way: mathematical

Cohen's d = (mean₁ − mean₂) / pooled SD; SE of difference = √(s₁²/n₁ + s₂²/n₂).

Explain it another way: applied

Lift standards specify levelling accuracy; a faster controller that misses levelling fails, however good its trip time.

Try these examples

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?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. When should the primary metric be chosen?

  • After seeing which metric looks best
  • Before collecting data, from the requirement
  • Never: report whichever is significant
  • During writing

2. 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?

Answer:

3. 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?

Answer: N

4. 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).

Answer:

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

  • Only the primary metric
  • Both, with the energy cost stated plainly
  • Energy only if asked
  • Nothing until fixed

6. Which is NOT part of a fair comparison?

  • Same seeds for both methods
  • Equal tuning budget
  • Dropping the baseline's best runs as outliers
  • Pre-stated primary metric

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

Answer: s

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

  • Nothing
  • The effect size and interval, and whether 0.001 s matters for the requirement
  • More runs
  • A bigger font

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.

Reflect

Which secondary metric in your project are you most tempted not to report?

Week 31: Designing reproducible experiments

This week you will

How many runs? Power and sample size

Ten runs felt like plenty. Then a reviewer asks: what was your chance of detecting the effect if it was real?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Deciding the sample size in advance, from a pilot's spread and the smallest effect you care about, is what separates an experiment from a fishing trip. It also stops you collecting 'until it looks significant'.

Goals

Predict

You want to detect d = 0.5 with 80% power at α = 0.05. Roughly how many runs per group?

  1. About 10
  2. About 30
  3. About 64
  4. About 500

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Set d = 0.5 and slide n until power reaches 80%. Then halve d: how many runs now? Switch α to 0.005 and watch the critical line move. Finally set n = 10 and read the smallest effect you could reliably detect.

What the interactive shows, in words

The power explorer draws two bell curves: the test statistic with no effect, and with the true effect. A red critical line marks significance; the shaded area of the second curve beyond it is the power. Sliders set effect size, runs per group and α; the readout gives power and the runs needed for 80% and 90%.

Understand

Power

Power is the probability that your study detects an effect of a given size if it is really there. It rises with the true effect d, the number of runs n and a looser α. 80% is a common target, meaning a 20% chance of missing a real effect of size d.

Where σ and d come from

σ comes from a pilot or previous work. d should be the smallest effect you care about, not the effect you hope for: planning for a large hoped-for effect produces an under-powered study for the effect that matters.

The winner's curse

If power is low, only the studies that happened to overestimate the effect reach significance. So an under-powered study that 'succeeds' usually exaggerates. This is one reason small published studies often shrink on replication.

Explain it another way: intuitive

Looking for a faint star needs a bigger telescope. Small effects need more runs to stand out from the noise.

Explain it another way: technical

Power = Φ(d√(n/2) − z₁₋α/₂) + Φ(−d√(n/2) − z₁₋α/₂) for a two-sided two-sample z test.

Explain it another way: mathematical

n = (1.96σ/E)² for a margin; n = 2((z₁₋α/₂ + z_power)/d)² per group for a two-sample comparison.

Explain it another way: applied

Simulated runs are cheap, so power is mainly a time question: 63 runs × 2 conditions × 2 min ≈ 4 hours. Physical tests would make the same calculation a cost question.

Derivation: Runs needed for a target margin
  1. For a mean of n runs with SD σ, SE = σ/√n.

  2. The 95% margin of error is E = 1.96 · σ/√n.

  3. Solve for n: √n = 1.96σ/E, so n = (1.96σ/E)².

  4. For a difference of two independent means with n each and the same σ: SE_diff = σ√(2/n).

  5. For 80% power at two-sided α = 0.05 the expected statistic must sit 1.96 + 0.84 standard errors from zero: d·√(n/2) = 2.80.

  6. So n per group = 2 · (2.80/d)² where d = δ/σ. Halving d quadruples n.

Try these examples

Example 1

Pilot SD 0.3 s; you want a 95% margin of 0.1 s on a mean. Runs?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. A pilot suggests rover final position error has SD σ ≈ 0.1 m. How many trials n do you need so that the 95% margin of error 1.96·σ/√n is at most E = 0.1 m? Give the smallest whole number.

Answer: trials

2. You want 80% power to detect a true effect of Cohen's d = 0.4 with a two-sided test at α = 0.05, two equal independent groups. Using the normal approximation n = 2·((1.96 + 0.84)/d)², how many trials PER GROUP do you need (round up)?

Answer: per group

3. You run n = 36 trials and measure grasp force error. The sample standard deviation is s = 0.3 N. What is the standard error of the mean, in N?

Answer: N

4. Power 0.8 means…

  • 80% of runs succeed
  • If the effect of the planned size is real, 80% of such studies would detect it
  • The hypothesis is 80% likely
  • p = 0.8

5. Which d should you plan for?

  • The largest effect you hope for
  • The smallest effect that would matter for the design
  • d = 2, to need few runs
  • Whatever the last paper reported

6. A design needs 20 runs per group for d = 0.9. About how many for d = 0.45?

Answer: runs

Apply it

Using a pilot estimate of σ for your capstone metric, compute the runs needed for your SESOI at 80% power and check it against your feasibility budget. If it does not fit, change the design, not the arithmetic.

Reflect

Was your intuitive 'enough runs' number above or below what the calculation gave?

Pre-registration: write the plan before the data

If you decide how to analyse your data after seeing it, how would you know you had not just found the analysis that agreed with you?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Pre-registration is a promise to your future self that you will not be fooled by your own flexibility. It does not forbid exploring: it labels exploration honestly so readers know which results were predicted and which were discovered.

Goals

Predict

Which belongs in a pre-registration?

  1. The results
  2. The rule for excluding runs, decided before data
  3. The final figures
  4. The abstract

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Write a five-line pre-registration: hypothesis (e.g. Kp = 4 settles faster than Kp = 2 without overshoot above 10%), primary metric, runs per condition, exclusion rule, analysis. Then run the lab and analyse exactly as written. Anything else you notice goes under 'exploratory'.

What the interactive shows, in words

The feedback lab shows a controlled system's response for chosen gains. The activity is to write a short pre-registration (hypothesis, metric, runs, exclusion rule, analysis) before running and then analyse only as written.

Understand

What to record

Question and hypothesis with direction and SESOI; design (conditions, randomisation, seeds); primary metric and how it is computed; sample size and how it was chosen; exclusion rules; the analysis (test, interval, decision rule); and the date. Store it somewhere time-stamped (a public registry, or a committed file in version control).

Confirmatory versus exploratory

Tests in the pre-registration are confirmatory: their error rates mean what they say. Anything else is exploratory: interesting, worth reporting, but a lead for future work, not a finding. Label them separately in the report.

Deviations happen

A simulator crashes, a metric turns out to be ill-defined. Deviating is allowed; hiding it is not. List each deviation, why it happened and whether it was decided before or after seeing outcome data.

Explain it another way: intuitive

Calling your shot in pool: sinking a ball you named counts; sinking a random one does not prove skill.

Explain it another way: technical

Pre-registration fixes the analysis path, so the nominal α applies. Without it, the effective α is inflated by every unreported choice.

Explain it another way: applied

Clinical trials in many countries must be registered before recruitment. Engineering research has no such rule, which makes voluntary pre-registration a strong signal of rigour.

Try these examples

Example 1

Halfway through, you realise settling time should use a 2% band, not 5%. What now?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is NOT normally pre-registered?

  • Primary metric
  • Sample size
  • Exclusion rules
  • The p-value you obtained

2. You notice an unexpected pattern not in your plan. How do you report it?

  • As a confirmed finding
  • As exploratory, to be tested in future work
  • Not at all
  • As the primary result

3. Your simulator version changed mid-study. What is the honest response?

  • Ignore it
  • Record the deviation, rerun affected runs if possible, and report it
  • Delete affected runs quietly
  • Change the hypothesis

4. You test m = 20 metrics in one study and want the family-wise error rate (chance of at least one false positive) to stay at or below α = 0.01. What per-test p-value threshold does the Bonferroni correction give?

Answer:

5. Why must a pre-registration be time-stamped?

  • For decoration
  • To show it was written before data collection
  • To count words
  • To get a DOI

Apply it

Draft your capstone pre-registration with all seven elements. Commit it to version control with today's date before you run any confirmatory experiment.

Reflect

Which decision in your plan would you have been most tempted to make after seeing the data?

Reproducible by design: seeds, versions, data

Six months from now, can you regenerate Figure 3 exactly? Can a stranger? What would they need?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Reproducibility is not paperwork; it is how you debug your own research. When a number looks wrong, the ability to regenerate it from a recorded seed and commit is the difference between a five-minute fix and starting again.

Goals

Predict

Two people run the same simulation script and get different results. Most likely cause?

  1. Physics changed
  2. Different random seeds or software versions
  3. Computers are random
  4. Bad luck

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Start from 'Typical first draft'. Read what a reviewer could not do. Tick items one at a time and watch the list shrink. Which three items, if missing, would stop anyone regenerating your figures at all?

What the interactive shows, in words

The reproducibility checklist scorer lists twelve items in five groups (code, randomness, data, reporting, credit), each with a weight. Ticking items raises a score bar; the readout lists what a reviewer could not do because of the missing items.

Understand

Determinism

A pseudo-random generator produces the same sequence from the same seed. Record the seed for every run, and report results across several seeds so a lucky seed cannot carry the result. Record the commit of your code and pin library versions, because the same seed in a different version can give a different sequence.

Raw data are sacred

Keep raw outputs unedited and separate from processed data. Every exclusion, filter and transformation is done by a script with the reason in a comment. Then anyone can check that processing did not create the result.

One command

The gold standard: one documented command regenerates every figure and table from raw data. Reporting checklists (many venues publish one) ask exactly these questions; scoring yourself before submission finds gaps early.

Explain it another way: intuitive

A recipe that says 'some flour, bake until done' cannot be repeated. Seeds and versions are the exact quantities and oven temperature.

Explain it another way: technical

Reproducible (same data and code give the same result) is weaker than replicable (new data, same method, consistent result). Both matter; the first is fully in your control.

Explain it another way: mathematical

An LCG x_{k+1} = (a·x_k + c) mod m is fully determined by (a, c, m, x₀): record those and anyone can regenerate the stream.

Explain it another way: applied

Build levels on this site recompute recorded runs on the server from their settings: the same idea, applied to marking.

Try these examples

Example 1

x_{k+1} = (5x + 3) mod 16, seed 7. First three values?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. A simulation draws pseudo-random numbers with x(next) = (5·x + 7) mod 64, seeded with x0 = 62. A reviewer re-runs it with the same seed. What is x4, the value after 4 steps?

Answer:

2. Why report results across several seeds?

  • To make the paper longer
  • So a single lucky seed cannot carry the result, and to estimate variation
  • Seeds do not matter
  • To hide the best seed

3. Where should an exclusion of three crashed runs be done?

  • By deleting rows from the raw file
  • In a processing script, with the reason, keeping the raw file intact
  • In your head
  • In the figure software by hand

4. Another team reruns your method on new seeds and new routes and gets consistent results. This is…

  • Reproduction with your data and code
  • Replication
  • Plagiarism
  • Pre-registration

5. A simulation draws pseudo-random numbers with x(next) = (9·x + 1) mod 100, seeded with x0 = 63. A reviewer re-runs it with the same seed. What is x3, the value after 3 steps?

Answer:

Apply it

Set up your capstone repository now: raw/ and processed/ folders, a pinned environment, a seed log, and a single script that will regenerate the figures. Score it with the checklist and fix the top three gaps.

Reflect

What is the one thing about your current workflow that only you know and is written down nowhere?

Week 32: Collecting experimental evidence

This week you will

Randomisation and confounding

You test gripper A all morning and gripper B all afternoon. B looks worse. Is it the gripper, or the tired battery?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Confounders are the most common reason a careful-looking experiment gives the wrong answer. Randomisation is the cheapest protection ever invented: it costs nothing but a seed.

Goals

Predict

True effect 0, battery drains steadily, all A trials first then all B. On average, what will B − A show?

  1. About 0
  2. A negative 'effect' caused by the battery
  3. A positive effect
  4. It depends only on noise

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Set the true effect to 0 and drift to 10. Compare the bias over 300 repeats for each trial order. Then set drift to 0: does the order still matter? Finally set a true effect of 2 with drift 10: which schedule recovers it?

What the interactive shows, in words

The confounding simulator plots 24 trial scores in order; circles are condition A and squares condition B. A battery drift lowers later trials. Choosing the order (blocked, alternating, ABBA, randomised) changes the estimated effect; the readout gives the average bias over 300 repeated sessions.

Understand

Confounders

A confounder affects the outcome and changes along with the condition. Time of day, battery level, simulator warm-up, operator fatigue and the order of trials are classic ones. If a confounder is perfectly aligned with the condition, no statistics can separate them.

Breaking the link

Randomising the order makes the confounder independent of the condition on average. Counterbalancing (ABBA) cancels linear drift by design. Blocking groups trials by a known nuisance (e.g. per battery) and compares within blocks. All are better than 'all A then all B'.

Bias versus noise

Randomisation turns bias into noise: the confounder still adds variation, but it no longer pushes the estimate one way. More runs then shrink the noise. More runs of a confounded design only make you more confident in the wrong answer.

Explain it another way: intuitive

If you always test the new shoes on downhill runs and the old ones uphill, the new shoes will look fast whatever they are.

Explain it another way: technical

Random assignment ensures that, in expectation, every pre-existing or time-varying factor is balanced between conditions, so E[estimate] = true effect.

Explain it another way: mathematical

With linear drift −D·t over n trials, blocked ordering gives bias ≈ −D/2 (the B block sits half a session later); randomised ordering gives bias with mean 0.

Explain it another way: applied

Simulators have confounders too: caches warming, adaptive step sizes, thermal state of a modelled motor. Seeded random ordering of conditions applies there as well.

Try these examples

Example 1

Drift lowers scores by 10 points over a 24-trial session. Blocked order, no true effect. Expected estimate?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is a confounder in 'all baseline runs on Monday, all new-method runs on Tuesday'?

  • The method
  • Anything that differed between Monday and Tuesday
  • The metric
  • Sample size

2. Why does ABBA ordering cancel linear drift?

  • It randomises
  • A and B have the same average position in time
  • It uses fewer trials
  • It hides the drift

3. Drift lowers scores linearly by 8 points across a session; blocked A-then-B with equal halves. Approximate bias in B − A?

Answer: points

4. A confounded design is repeated with 10× more runs. What happens?

  • Bias disappears
  • The estimate becomes more precise around the wrong value
  • It becomes randomised
  • Power drops

5. You randomise trial order in code. What must you record?

  • Nothing
  • The seed and the resulting order
  • Only the results
  • The time of day

Apply it

List three possible confounders in your capstone (including order and simulator state). For each, say whether you will randomise, counterbalance, block or hold it fixed, and record the seed you will use.

Reflect

Which confounder in your project would you never have noticed without being asked?

Pilots, controls and blinding

Your first ten runs reveal the metric is computed wrongly. Is that a disaster, or exactly what a pilot is for?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Pilots catch broken procedures cheaply; controls make results interpretable; blinding stops your expectations leaking into your measurements. Each is a small cost that protects weeks of work.

Goals

Predict

Which pilot result should change your confirmatory plan?

  1. The new method looks better
  2. The metric script crashes on runs where the object is dropped
  3. The new method looks worse
  4. None: pilots never change plans

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Plan a small pilot for a gripper investigation: three runs per condition. Check that every run records what you need, the metric handles failures (dropped objects), and the timing fits. Write down one procedural change the pilot suggests. Do not peek at which condition is winning.

What the interactive shows, in words

The gripper Level 5 investigation asks for a question, at least four recorded runs varying one setting and a report. This lesson uses it to plan a small pilot that checks recording, failure handling and timing without looking at which condition wins.

Understand

What pilots are for

A pilot checks that the procedure works: settings can be changed, the metric is computed correctly, failures are recorded, timing fits. It also gives an estimate of σ for the power calculation. Pilot data are not part of the confirmatory analysis, and pilot effect sizes should not be used to pick hypotheses.

Controls

A control condition shows what happens without the intervention. Positive controls (a case where the effect must appear) check the method can detect anything; negative controls (a case where no effect is possible) check it does not invent effects. A sham change, such as re-saving the same settings, is a useful negative control.

Blinding

Whenever a person judges an outcome (did it 'look stable'?), hide which condition produced it. In software, give runs coded names and unmask after scoring. Where blinding is impossible, use automatic metrics and say so as a limitation.

Explain it another way: intuitive

A dress rehearsal finds the missing props; it is not the opening night review.

Explain it another way: technical

Expectation effects bias any measurement involving judgement; blinding removes the information the bias needs.

Explain it another way: applied

In gripper tests, 'grasp success' judged by eye is vulnerable; the simulator's contact flag is not, and coded run names make even manual checks blind.

Try these examples

Example 1

Design a negative control for a 'new filter reduces error' study.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. What is the main purpose of a pilot?

  • To get the main result early
  • To test the procedure and estimate variability
  • To decide which hypothesis will work
  • To replace the confirmatory study

2. Which is a negative control?

  • The new method on the hardest task
  • Comparing the baseline with itself under different labels
  • The best run
  • A positive control

3. How can you blind a manual judgement of simulated runs?

  • Look harder
  • Rename runs with random codes and unmask only after scoring
  • Judge faster
  • Ask the method's author

4. You run n = 64 trials and measure grasp force error. The sample standard deviation is s = 0.3 N. What is the standard error of the mean, in N?

Answer: N

5. A pilot suggests sorting time per item has SD σ ≈ 0.4 s. How many trials n do you need so that the 95% margin of error 1.96·σ/√n is at most E = 0.05 s? Give the smallest whole number.

Answer: trials

Apply it

Write your capstone pilot plan: what it checks, how many runs, what would make you change the protocol, and how you will keep pilot data separate.

Reflect

Where in your project could your own expectations change a measurement?

Honest records: notebooks, fabrication and falsification

One run crashed and one looks 'obviously wrong'. Deleting them would make the graph cleaner. What is the line between cleaning and falsifying?

About 35 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Integrity failures rarely start with villains. They start with a tired researcher tidying a graph. Clear rules made before the data, and a notebook written as you go, make the honest path the easy one.

Goals

Predict

Which is falsification?

  1. Reporting a crash as a crash
  2. Removing runs that disagree with the hypothesis without a pre-stated rule or disclosure
  3. Running a pre-registered analysis
  4. Fixing a typo

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Write a small logging function that appends each run to a list with a timestamp, seed, settings and outcome, and never overwrites. Add a second function that marks a run as excluded with a reason, keeping the original row. Print both the full log and the analysed subset.

What the interactive shows, in words

The code studio activity writes an append-only run log with timestamps, seeds, settings and outcomes, plus a function that marks exclusions with a reason without deleting rows. A paper notebook with dated, never-erased entries is an equivalent alternative.

Understand

The research notebook

Dated entries, written at the time: what you planned, what you did, what happened, what went wrong and what you decided. Never rewrite history: add corrections as new entries. In code, an append-only log with seeds and settings is your notebook.

Fabrication and falsification

Fabrication is making up data or results. Falsification is manipulating materials, equipment, processes, data or images, or omitting data, so the record misrepresents the work. Together with plagiarism they are the core forms of research misconduct.

Anomalies

Decide exclusion rules before data (e.g. 'runs where the simulator reports a numerical error'). Apply them by script. Report how many runs were excluded and why, and show results with and without exclusions when it matters. A run that merely disagrees with you is data.

Explain it another way: intuitive

A diary rewritten after the fact is a story, not a record.

Explain it another way: technical

Research misconduct is commonly defined as fabrication, falsification or plagiarism in proposing, performing, reviewing or reporting research; honest error and differences of opinion are not misconduct.

Explain it another way: applied

Negative results, such as 'the filter did not help', are honest, publishable and save others from repeating the attempt.

Try these examples

Example 1

Two of 20 runs give errors five times larger than the rest. No rule was pre-stated. What do you do?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. A learner runs out of time and writes in five plausible results for runs never done. This is…

  • Estimation
  • Fabrication
  • Exploratory analysis
  • Rounding

2. Which exclusion is legitimate?

  • Dropping the baseline's best run
  • Dropping runs flagged by the simulator's numerical-error rule stated in the pre-registration, reported in full
  • Dropping runs that reduce the effect
  • Dropping runs on a whim

3. Your hypothesis was refuted. What is the right thing to report?

  • Nothing
  • The refutation, with the data and interval
  • A different hypothesis that fits
  • Only the positive secondary results

4. What should you do when a notebook entry turns out to be wrong?

  • Erase it
  • Add a dated correction that references the original
  • Rewrite the whole page
  • Ignore it

Apply it

Start your capstone notebook today with a dated entry: plan, pre-registration link, pilot status. Write your exclusion rules in it before any confirmatory run.

Reflect

What pressure in your project could tempt you to tidy the data, and what rule will protect you?

Week 33: Statistical interpretation

This week you will

Standard errors and confidence intervals

'The new method is 0.3 s faster.' Plus or minus what? Without that, the sentence means almost nothing.

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Every comparison in your capstone will be reported as an estimate with an interval. Getting the standard error of a difference right is the single most used calculation in experimental research.

Goals

Predict

Two independent means each have SE 0.1 s. What is the SE of their difference?

  1. 0.1 s
  2. 0.2 s
  3. About 0.14 s
  4. 0 s

Write down your guess and your reason. The reveal is in the online lesson.

Discover

In the top panel, keep the difference at 0.3 and shrink the SE: watch the interval tighten. In the lower panel, set the true difference to 0.2 and run several sets of 20 replications. Count how many intervals miss the truth each time.

What the interactive shows, in words

The top panel draws an estimate as a dot with a horizontal 95% interval, a dashed zero line and a green line for the smallest effect of interest. The lower panel draws 20 replicated intervals around a true value; intervals that miss it are shown dashed in red, and the readout counts them.

Understand

SD versus SE

The standard deviation s describes how much single runs vary. The standard error s/√n describes how much the mean would vary if you repeated the whole experiment. Error bars must say which they show; SE bars are √n times shorter.

What 95% confidence means

If you repeated the experiment many times and built an interval each time, about 95% of those intervals would contain the true value. It does not mean there is a 95% probability the true value is in this particular interval, although for practical decisions the interval is your best summary of plausible values.

Small samples

With fewer than about 30 runs per group, replace 1.96 by the t critical value (for 10 degrees of freedom it is 2.23). Intervals get wider, honestly reflecting less information.

Explain it another way: intuitive

An interval is a net cast at the truth. A 95% procedure catches it 19 times in 20; you never know which throw missed.

Explain it another way: technical

CI = estimate ± critical value × SE, with the critical value from the normal or t distribution at the chosen confidence level.

Explain it another way: mathematical

SE_diff = √(s₁²/n₁ + s₂²/n₂). Example: s₁ = 0.3, n₁ = 20, s₂ = 0.4, n₂ = 20 gives √(0.0045 + 0.008) = 0.112.

Explain it another way: applied

Paired seeds in simulation (same seed for baseline and method) often shrink the SE of the difference dramatically, because shared noise cancels.

Derivation: Standard error of a difference
  1. Let X̄₁ and X̄₂ be means of independent samples, sizes n₁ and n₂, SDs σ₁ and σ₂.

  2. Var(X̄ᵢ) = σᵢ²/nᵢ, because averaging n independent runs divides the variance by n.

  3. For independent random variables, Var(X̄₁ − X̄₂) = Var(X̄₁) + Var(X̄₂): the minus sign does not cancel variance.

  4. So SE_diff = √(σ₁²/n₁ + σ₂²/n₂), estimated with sample SDs s₁, s₂.

  5. Approximate 95% CI: (x̄₁ − x̄₂) ± 1.96 · SE_diff for large samples; use the t critical value with Welch degrees of freedom for small ones.

  6. Paired designs (same seed for both methods) use the SD of the per-seed differences instead, which is often much smaller.

Try these examples

Example 1

Baseline 2.40 s (s 0.30, n 25); new 2.15 s (s 0.35, n 25). 95% CI of the improvement?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Baseline: n1 = 30 trials, s1 = 0.1 m. New method: n2 = 30 trials, s2 = 0.3 m (independent groups, rover final position error). What is the standard error of the difference in means, in m?

Answer: m

2. A large-sample experiment gives mean settling time = 3 s, s = 0.2 s, n = 36. Using z = 1.96, what is the LOWER bound of the 95% confidence interval for the mean, in s?

Answer: s

3. You run n = 36 trials and measure grasp force error. The sample standard deviation is s = 0.3 N. What is the standard error of the mean, in N?

Answer: N

4. Which interpretation of a 95% CI is correct?

  • 95% of runs fall inside it
  • The procedure captures the true value in about 95% of repeated experiments
  • There is a 95% chance the hypothesis is true
  • The p-value is 0.95

5. Error bars labelled 'SD' on 100 runs. Compared with SE bars they are…

  • The same
  • 10 times longer
  • 10 times shorter
  • 100 times longer

6. Paired design: per-seed differences have SD 0.12 s over 16 seeds. SE of the mean difference?

Answer: s

Apply it

Write the formula, in code, that your capstone analysis will use to compute each comparison's difference and 95% CI. Test it on a made-up dataset where you know the answer.

Reflect

In your past projects, did your error bars show SD or SE? Did you say which?

p-values and effect sizes, done correctly

p = 0.03. Does that mean a 3% chance your result is a fluke? (No. But almost everyone thinks so.)

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

p-values are everywhere, and misread almost as often. Used correctly they answer one narrow question. Paired with effect sizes and intervals, they become part of an honest, useful report.

Goals

Predict

p = 0.03 means…

  1. There is a 3% chance the null hypothesis is true
  2. If there were no effect, data at least this extreme would occur about 3% of the time
  3. There is a 97% chance the effect is real
  4. The effect is large

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Find three settings: (1) p < 0.001 but the whole interval below the smallest effect of interest; (2) p > 0.05 but the interval includes large effects; (3) p < 0.05 with the interval above the SESOI. Which would you call a success, a trivial effect and an inconclusive study?

What the interactive shows, in words

The confidence-interval panel shows an estimate, its 95% interval, the zero line and the smallest effect of interest, with p reported. Settings can produce significant-but-trivial, inconclusive and meaningful results. The replication panel shows identical studies disagreeing about p < 0.05.

Understand

The definition

The p-value is the probability, assuming the null hypothesis and the model are true, of obtaining a test statistic at least as extreme as the one observed. Small p means the data would be surprising under the null. That is all.

Three misreadings
  1. p is not the probability that the null is true. 2. p > 0.05 does not show there is no effect (it may be low power). 3. p does not measure importance: with enough runs, trivial effects reach tiny p. Report the estimate, its interval and an effect size alongside p.
t and d

The t statistic = difference / SE_diff: how many standard errors the difference is from zero. It grows with √n. Cohen's d = difference / pooled SD: the difference in units of run-to-run spread. It does not grow with n, so it is the better measure of size.

Explain it another way: intuitive

A smoke alarm going off is surprising if there is no fire. It does not tell you how big the fire is, or guarantee there is one.

Explain it another way: technical

p = P(|T| ≥ |t_obs| | H₀). Under H₀, p is uniformly distributed, so about 5% of null studies give p < 0.05.

Explain it another way: mathematical

Welch: t = (x̄₁ − x̄₂)/√(s₁²/n₁ + s₂²/n₂). d = (x̄₁ − x̄₂)/s_p with s_p = √((s₁² + s₂²)/2) for equal n. For equal n, t ≈ d·√(n/2).

Explain it another way: applied

Engineering requirements are about sizes: an effect size with an interval maps straight onto 'does it meet the spec?', a p-value does not.

Try these examples

Example 1

n = 50 each, d = 0.1. What is t, roughly, and is the effect important?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which statement about p = 0.01 is correct?

  • There is a 1% chance the null is true
  • Under the null, results this extreme occur about 1% of the time
  • The effect is 99% certain
  • The effect is large

2. Baseline: mean 3 s, s1 = 0.2, n1 = 25. New: mean 2.9 s, s2 = 0.5, n2 = 10 (settling time). Compute the two-sample (Welch) t statistic t = (mean1 − mean2) / √(s1²/n1 + s2²/n2).

Answer:

3. Two groups of n = 10 each. Baseline mean = 1.5 N, SD = 0.3. New method mean = 1.25 N, SD = 0.25 (grasp force error, lower is better). Using the pooled SD for equal groups, √((s1² + s2²)/2), what is Cohen's d = (baseline − new) / pooled SD?

Answer:

4. p = 0.4 in a study of 6 runs per group. What can you conclude?

  • There is no effect
  • The study could not distinguish the effect from noise; check the interval
  • The method is worse
  • The null is 40% likely

5. Which measure of the difference does NOT grow just because you ran more trials?

  • t statistic
  • Cohen's d
  • 1/p
  • The number of significant results

Apply it

Write the results sentence template for your capstone: estimate, 95% CI, effect size, p (if used), and the decision under your pre-registered rule. Fill it in with invented numbers to test it.

Reflect

Have you seen a headline that confused 'statistically significant' with 'important'? Rewrite it honestly.

Module check: forking paths and multiple comparisons

Nothing in this simulation has any real effect. Yet with a few innocent choices, a third of studies 'find' one. How?

About 50 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

p-hacking rarely feels like cheating: each choice seems reasonable. Seeing false positives appear from pure noise, with your own hands on the switches, is the best inoculation there is.

Goals

Predict

You test 20 independent metrics, none with a real effect, at α = 0.05. Chance of at least one 'significant' result?

  1. 5%
  2. About 64%
  3. 100%
  4. 1%

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Start with every switch off: the false-positive rate is near 5%. Turn on one fork at a time and note the rate. Turn them all on. Then switch on the Bonferroni correction. Which single fork inflated the rate most?

What the interactive shows, in words

The forking-paths simulator runs 400 seeded studies in which there is no real effect. Switches add analysis choices (three outcomes, outlier removal, subgroups, peeking). A bar shows the share of studies reporting a 'significant' finding against a marked 5% line. With all switches on it is far above 5%; a Bonferroni switch brings it back near 5%.

Understand

The garden of forking paths

Which outcome, which outlier rule, which subgroup, when to stop: each choice is a fork. If choices are made after looking at data, the analysis effectively tries many paths and reports one. The nominal 5% then hugely understates the real false-positive rate, even with no intent to deceive.

p-hacking and HARKing

p-hacking: trying analyses until p < 0.05. HARKing: Hypothesising After the Results are Known, presenting a post-hoc pattern as if predicted. Both are questionable research practices that manufacture findings. Remedies: pre-registration, one primary analysis, corrections for planned multiple tests, and labelling the rest exploratory.

Expected false discoveries

Run m null tests at α and expect m·α false positives. If only a fraction of ideas are true, the share of significant results that are false can be large: with 90 null and 10 real ideas, α = 0.05 and power 0.8, there are 4.5 false versus 8 true hits, so 36% of 'discoveries' are false.

Explain it another way: intuitive

Throw enough darts blindfolded and one hits the bullseye. Painting the target around wherever the dart landed is HARKing.

Explain it another way: technical

Each data-dependent choice multiplies the effective number of tests; FWER = 1 − (1 − α)^k for k independent paths.

Explain it another way: mathematical

Bonferroni: α* = α/m. FDR among discoveries ≈ m₀α / (m₀α + m₁·power).

Explain it another way: applied

Tuning a robot on many metrics and seeds and reporting the best combination is the engineering version of p-hacking; held-out test conditions are the engineering version of pre-registration.

Derivation: Bonferroni from the union bound
  1. Let Eᵢ be the event 'test i is a false positive', with P(Eᵢ) = α* for each of m null tests.

  2. Family-wise error rate FWER = P(E₁ ∪ … ∪ E_m).

  3. Union bound: P(∪Eᵢ) ≤ Σ P(Eᵢ) = m·α*, whatever the dependence between tests.

  4. Choose α* = α/m. Then FWER ≤ m · α/m = α.

  5. For independent tests the exact rate is 1 − (1 − α/m)^m, slightly below α.

  6. Cost: each test is stricter, so power falls. For many tests, false-discovery-rate methods trade a few false positives for more power.

Try these examples

Example 1

You pre-register 4 metrics as co-primary. What threshold per test keeps FWER at 0.05?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. You test m = 4 metrics in one study and want the family-wise error rate (chance of at least one false positive) to stay at or below α = 0.01. What per-test p-value threshold does the Bonferroni correction give?

Answer:

2. A team tests m = 40 sensor tweaks and, unknown to them, none has any real effect. Each test uses α = 0.01. How many "significant" results should they expect purely by chance?

Answer: results

3. Ten independent null tests at α = 0.05. Probability of at least one false positive? (Give 0–1.)

Answer:

4. After seeing data, a learner writes the introduction as if the subgroup effect they found was the original hypothesis. This is…

  • Good storytelling
  • HARKing
  • Pre-registration
  • Replication

5. Checking the p-value after every 5 runs and stopping when p < 0.05 is a problem because…

  • It wastes time
  • Each peek is another chance for noise to cross the line, inflating false positives
  • It reduces sample size too much
  • It is fine

6. Which is the best remedy for forking paths?

  • Use a smaller α but keep choosing after seeing data
  • Pre-register one primary analysis and label everything else exploratory
  • Report only significant results
  • Collect less data

7. Of 100 tested ideas, 80 truly do nothing and 20 truly work. Tests use α = 0.05 and have power 0.8. What fraction of the "significant" results are false discoveries? (Give a number between 0 and 1.)

Answer:

Apply it

List every analysis choice in your capstone (metrics, exclusions, subgroups, stopping). For each, fix it in the pre-registration or mark it exploratory. If you have several primary tests, state your correction.

Reflect

Which fork in your project would you have taken without noticing it was a fork?

Week 34: Scientific limitations

This week you will

The bootstrap: uncertainty from your own data

Your metric is a median of skewed settling times. There is no neat formula for its standard error. Can the data tell you instead?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Real engineering metrics are often medians, percentiles, ratios or success rates with no tidy SE formula. The bootstrap gives you an honest interval for almost any statistic, using only computation you already know how to do.

Goals

Predict

When you resample 12 values with replacement, what typically happens?

  1. You get the same 12 values in a new order
  2. Some values appear more than once and some not at all
  3. You get 12 new measurements
  4. The mean is always unchanged

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Do one resample and read the ×counts. Then +1000. Compare the bootstrap SE of the mean with the formula s/√n. Switch to the median: what does the histogram look like now? Reset with a new seed: how stable is the interval?

What the interactive shows, in words

The bootstrap resampler shows the original values, how many times each was drawn in the latest resample, and a histogram of resampled means or medians with the observed value and the 95% percentile interval marked. Buttons add 1, 100 or 1000 resamples.

Understand

Resample, recompute, repeat

Treat your sample as a stand-in for the population. Draw n values from it with replacement, compute the statistic, and repeat a thousand times. The histogram of results shows how uncertain the statistic is. For a mean it agrees closely with s/√n; for medians and ratios it gives answers formulas cannot.

Comparing two methods

For a difference, resample each group separately (or resample paired seeds together), compute the difference each time, and take the 2.5% and 97.5% quantiles. Record the bootstrap seed: bootstrap intervals are random too, and should be reproducible.

Where it fails

The bootstrap assumes runs are independent and the sample represents the population. With very small n (under about 10), heavy tails or dependent runs (time series), the interval can be too narrow. It never corrects a biased sample or a confounded design.

Explain it another way: intuitive

Your data are a small mirror of the world. Shaking the mirror and looking again shows how much the picture could change.

Explain it another way: technical

The nonparametric bootstrap estimates the sampling distribution of a statistic by Monte Carlo sampling from the empirical distribution.

Explain it another way: mathematical

SE_boot = √(Σ(θ̂_b − θ̄)²/(B − 1)); percentile CI = [q₀.₀₂₅(θ̂), q₀.₉₇₅(θ̂)].

Explain it another way: applied

Success rates of a gripper across 20 objects, median rover errors, 95th-percentile latency: all are natural bootstrap candidates.

Derivation: The bootstrap idea
  1. We want the sampling distribution of a statistic θ̂ (e.g. the median): how it would vary over new datasets of size n.

  2. We cannot draw new datasets from the true population F.

  3. Plug-in principle: replace F by the empirical distribution F̂ that puts mass 1/n on each observed value.

  4. Drawing n values from F̂ = resampling the data with replacement. Compute θ̂* on each resample.

  5. Repeat B times (B ≈ 1000–10,000). The spread of the θ̂* estimates the spread of θ̂: SE_boot = SD(θ̂*).

  6. Percentile interval: the 2.5% and 97.5% quantiles of θ̂*. Assumes the sample represents the population; it cannot fix bias or a tiny n.

Try these examples

Example 1

1000 bootstrap medians, sorted: the 25th is 2.18 s and the 975th is 2.52 s. Interval?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Why must bootstrap resampling be WITH replacement?

  • It is faster
  • Without replacement you just reorder the same values and the statistic never changes
  • To add new data
  • It is a convention only

2. With B = 2000 sorted bootstrap values, roughly which position gives the lower bound of a 95% percentile interval?

Answer:

3. When is a bootstrap interval least trustworthy?

  • n = 200 independent runs
  • n = 5 runs with one extreme value
  • A mean of 50 runs
  • Paired seeds

4. You run n = 64 trials and measure grasp force error. The sample standard deviation is s = 0.3 N. What is the standard error of the mean, in N?

Answer: N

5. Should you record the bootstrap's random seed?

  • No, it is just resampling
  • Yes: the interval depends on it and must be reproducible
  • Only if the result is significant
  • Only for medians

Apply it

Write a bootstrap function for your capstone's primary metric difference (with a recorded seed). Check it against the formula SE on a mean, then use it for your real metric.

Reflect

Which statistic in your project has no formula you trust, and what would a bootstrap interval tell you about it?

Confounders and alternative explanations

The greenhouse used less energy with the new controller. It was also a sunnier week. Which explains the saving?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

A result is only as strong as the best alternative explanation you have ruled out. Reviewers will look for them; finding them first, and testing them, is what turns a result into a finding.

Goals

Predict

A new greenhouse controller saves 12% energy, but the test week was sunnier. What is the best next step?

  1. Publish the 12%
  2. Rerun both controllers under the same simulated weather profile
  3. Average with last year
  4. Ignore the weather

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Plan a test of 'controller setting X saves energy'. List at least three alternative explanations (weather, starting temperature, simulation length). For each, write how you will hold it fixed or vary it deliberately across both settings.

What the interactive shows, in words

The smart greenhouse Level 5 investigation asks for one question and a changed variable across at least four runs. This lesson uses it to list alternative explanations (weather, starting temperature, run length) and plan how to hold each fixed.

Understand

Threats to validity

Internal validity: is the cause really the intervention? (confounders, order effects, measurement changes). Construct validity: does the metric measure what you mean? External validity: does the result generalise beyond the tested conditions? Statistical validity: enough data, right analysis, no forking paths?

Rule out, do not wave away

For each alternative explanation, design a check: hold it constant, randomise it, measure and adjust for it, or vary it deliberately (a robustness check). Report which checks you did and which you could not.

Correlation is not causation

Without random assignment, two things moving together can share a cause or be coincidence. In engineering research you usually control the intervention, so design the study to earn the causal claim rather than inferring it from observations.

Explain it another way: intuitive

A detective lists every suspect before naming the culprit, then checks each alibi.

Explain it another way: technical

Robustness checks re-estimate the effect under perturbed conditions; an effect that survives them is more credible than one measured under a single configuration.

Explain it another way: applied

Simulation lets you hold weather, seeds and starting states exactly fixed: use that power, and say clearly that real greenhouses add variation you did not model.

Try these examples

Example 1

Rover error fell after adding checkpoints. Alternatives?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is a threat to internal validity?

  • The result may not apply to real robots
  • The new method was always run after a simulator warm-up the baseline did not get
  • The paper is long
  • The metric has units

2. You measure 'comfort' in a lift as peak acceleration only. Main threat?

  • Construct validity: jerk also matters for comfort
  • Statistical power
  • Plagiarism
  • Randomisation

3. What is a robustness check?

  • Running the same test again identically
  • Re-estimating the effect under deliberately varied conditions
  • Removing outliers
  • Using a bigger font

4. Which is a useful limitation statement?

  • 'This study has limitations.'
  • 'All runs used one simulated weather profile; savings under cloudy or variable weather are untested.'
  • 'More research is needed.'
  • 'We did our best.'

Apply it

Write a threats-to-validity table for your capstone: four rows (internal, construct, external, statistical), each with one specific threat and how you address it or why you cannot.

Reflect

What is the most plausible alternative explanation for the result you hope to get?

Scope, simulation and the limits of a claim

Your estimator is excellent in a one-dimensional simulator with Gaussian noise. What exactly have you learned about real rovers?

About 35 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Every capstone in this year runs in simulation. That is a strength (control, reproducibility, safety) and a limit. Saying precisely where the limit lies is what makes a simulation study trustworthy rather than oversold.

Goals

Predict

The fusion lab assumes Gaussian noise and a known motion model. A real rover has wheel slip that is not Gaussian. Your conclusion should…

  1. Claim it works on real rovers
  2. Say it holds under the stated assumptions and that non-Gaussian slip is untested
  3. Not mention assumptions
  4. Say simulation is useless

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Read the lab's stated limits. List every assumption it makes (one dimension, Gaussian noise, known motion model...). For each, write one way the real world breaks it and whether you expect the fused estimate to get better or worse.

What the interactive shows, in words

The fusion lab estimates a position in one dimension from noisy readings with Gaussian noise and a known motion model. The activity is to list those assumptions and how real systems break them.

Understand

Simulation is a model

A simulator encodes assumptions: dimensions, noise models, physics simplifications, perfect timing. Results are statements about the model. Verification checks the simulator solves its equations correctly; validation checks the model matches reality. This year's capstones verify, and usually cannot validate, so say so.

Three tiers of conclusion

Shown: what the data directly support within tested conditions. Plausible: what reasoning suggests would extend (and why). Untested: what would need new experiments. Keeping these separate in the Discussion is the core of honest scoping.

Honest uncertainty

Statistical intervals capture run-to-run noise only. They do not include model error, which may be larger. Say that explicitly: 'intervals reflect simulation seed variation, not model uncertainty'.

Explain it another way: intuitive

A wind tunnel test of a model plane tells you a lot about the real plane, but only for the speeds and shapes you tested.

Explain it another way: technical

Model error is systematic and invisible to repeated runs of the same model; only comparison with independent evidence can bound it.

Explain it another way: applied

The proposed TV-01 study plans physical tests partly because simulated contact and deformable materials are hard to model faithfully. That is a planned design choice, not a result: no TV-01 data exist.

Try these examples

Example 1

Rewrite: 'Our filter makes rovers 30% more accurate.'

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Checking that a simulator's integrator matches the analytic solution is…

  • Validation
  • Verification
  • Replication
  • Pre-registration

2. A 95% CI from 40 seeds captures which uncertainty?

  • All uncertainty, including model error
  • Run-to-run (seed) variation within the model
  • Only systematic error
  • None

3. 'The gain probably extends to two-dimensional motion because the same filter equations apply per axis.' Which tier?

  • Shown
  • Plausible
  • Untested and unmentionable
  • Fabricated

4. Which conclusion overreaches?

  • 'Within the tested dust levels, re-imaging reduced error.'
  • 'Re-imaging is the best strategy for all planetary rovers.'
  • 'Effects at higher dust levels are untested.'
  • 'Intervals reflect seed variation only.'

Apply it

Write your capstone's limitations paragraph now, before results: list the simulator's assumptions, which conclusions are bounded by each, and which tier each planned claim will fall in.

Reflect

Which assumption of your simulator would you most like to test in the real world, and what would it take?

Week 35: Technical manuscript and presentation

This week you will

Writing the manuscript

You have results. Now you have 2,500 words to make a stranger trust them. Where do you start? (Not with the introduction.)

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Research that is not communicated clearly might as well not exist. A well-structured manuscript lets a reader find the evidence, check it and build on it, and it forces you to notice gaps while there is still time to fix them.

Goals

Predict

Which section is usually best written first?

  1. Abstract
  2. Introduction
  3. Methods
  4. Conclusion

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Switch to 'Sort sentences into sections'. Place each sentence in the section where it belongs, then check. Then write one sentence of your own for each section of your capstone.

What the interactive shows, in words

In 'Sort sentences into sections', five sentences from a research report are assigned to abstract, introduction, methods, results or discussion, with feedback on each.

Understand

Write in this order

Methods (design, conditions, metric definitions, runs, seeds, analysis, deviations). Results (every pre-registered comparison: estimate, interval, effect size; figures; exclusions). Discussion (interpretation, alternative explanations, limitations, future work). Introduction (why it matters, what is known, the gap, the question). Abstract last: question, method, main result with uncertainty, scope.

Results report, Discussion interprets

Results: 'Median settling time fell by 0.3 s (95% CI 0.1–0.5 s).' Discussion: 'This suggests the gain comes from reduced overshoot, although we did not test heavier payloads.' Mixing the two hides which statements are evidence.

Precision and plainness

Use exact numbers with units, the same term for the same thing throughout, and short sentences. State negative and inconclusive results as plainly as positive ones. Cite primary sources for specific claims; disclose AI tool use.

Explain it another way: intuitive

Methods are the recipe, Results the photo of the cake, Discussion the taste review, and the Abstract the menu description.

Explain it another way: technical

Reporting guidelines in many fields list items every paper must contain (design, sample size justification, randomisation, blinding, exclusions, statistics). Use one as a checklist.

Explain it another way: applied

Engineering technical reports follow the same logic, often with an executive summary instead of an abstract, and requirements traceability in the results.

Try these examples

Example 1

Draft a one-sentence abstract result for an inconclusive study.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which belongs in Methods?

  • 'The results were impressive.'
  • 'Runs were ordered randomly using seed 41; each condition had 30 runs.'
  • 'Future work could use real robots.'
  • 'Robots are important.'

2. An abstract says 'dramatically improves'. Results show 3% (95% CI −1% to 7%). What is wrong?

  • Nothing
  • The abstract overstates an uncertain, possibly zero effect
  • 3% is dramatic
  • Abstracts should not mention results

3. How should an inconclusive primary result be described?

  • As a success
  • Plainly: estimate, interval, and that it did not meet the decision rule
  • Not at all
  • As 'trending towards significance'

4. A large-sample experiment gives mean grasp force error = 1.5 N, s = 0.4 N, n = 144. Using z = 1.96, what is the UPPER bound of the 95% confidence interval for the mean, in N?

Answer: N

Apply it

Write the Methods section of your capstone (from your pre-registration) and a Results template with placeholders for each pre-registered comparison.

Reflect

Which sentence in your draft would a sceptical reviewer underline first?

Honest figures

Same ten runs, same two methods. One figure says 'breakthrough', another says 'maybe nothing'. Which one is lying?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Readers look at figures first and often only. A figure can mislead without a single false number. Designing honest figures is part of research integrity, not decoration.

Goals

Predict

A bar chart's y-axis starts at 9 cm; bars show 10.3 and 9.6. How different do they look?

  1. Slightly
  2. The first bar looks more than twice as tall
  3. Identical
  4. Upside down

Write down your guess and your reason. The reveal is in the online lesson.

Discover

The starting figure uses four tricks. Fix them one at a time and watch the 'looks × different' number and the honest difference. Which single fix changes the impression most? Which one changes the numbers themselves?

What the interactive shows, in words

The figure critic draws a bar chart of a baseline and a new method. Toggles start the axis at zero, add ±1 SE error bars, use all 10 runs instead of the 3 most flattering, and show individual runs. The readout gives how many tricks remain, how different the bars look and the honest difference with its 95% interval.

Understand

Four common tricks

Truncated axes on bar charts exaggerate differences. Missing uncertainty hides whether a gap exceeds noise. Selective data (best runs only) changes the numbers themselves. Hidden spread (bars without points) conceals outliers and skew. Each is common; together they can turn an uncertain result into a dramatic one.

Better defaults

Show individual runs as points with the mean and a 95% CI. Start bar axes at zero, or use dot plots when zero is irrelevant. Plot the difference with its interval when the comparison is the point. Use the same axes across panels being compared.

Captions

State n per condition, what the error bars are (SD, SE or 95% CI), any exclusions, and the seed set. A reader should understand the figure without the text.

Explain it another way: intuitive

A photo taken from a low angle makes anyone look tall. Axis choices are camera angles.

Explain it another way: technical

Length encodes magnitude only if the baseline is zero; position encodings (dots) do not need a zero baseline but do need consistent scales.

Explain it another way: applied

Engineering dashboards that truncate axes cause real decisions to overreact to noise; the same discipline applies to research figures.

Try these examples

Example 1

Write a caption for an honest version of the critic's figure.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which trick changes the plotted numbers, not just their appearance?

  • Truncated axis
  • Using only the 3 best runs
  • Missing error bars
  • Colour choice

2. Axis starts at 8. Bars at 10 and 9. Ratio of bar heights as drawn?

Answer: ×

3. Which caption detail is most essential?

  • The font
  • What the error bars represent and n per group
  • The software used
  • The colour names

4. When is plotting the difference with its CI better than two bars?

  • Never
  • When the question is whether and by how much one method beats the other
  • Only for negative results
  • Only in talks

Apply it

Sketch the main figure of your capstone: what is plotted, individual runs, which uncertainty, axis range, and the full caption.

Reflect

Have you ever made a figure look more convincing than the data were? Which trick did you use?

Authorship, credit and the research talk

A friend debugged your simulator for an evening. Another wrote half the analysis. Who is an author, and who is thanked?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

Credit is how research communities stay honest and collaborative. Clear authorship, acknowledgements and disclosures prevent disputes and let readers know who is responsible for what. The talk is often how your work is first judged.

Goals

Predict

Who should normally be an author?

  1. Anyone who helped at all
  2. People who made a substantial intellectual contribution, helped write or revise, approve the final version and accept responsibility for it
  3. Only the person who typed it
  4. The most senior person present

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Look at the Credit group. Untick 'authorship and roles' and 'AI tools disclosed' and read what a reviewer could not do. Then plan your own credit statement: authors and roles, acknowledgements, code and data sources, tool use.

What the interactive shows, in words

The reproducibility scorer's Credit group includes 'authorship and roles are stated; sources and borrowed code cited' and 'AI tool use disclosed'. Unticking them adds the corresponding gaps to the list of things a reviewer could not check.

Understand

Authorship

Widely used criteria: substantial contribution to the idea, design, data or analysis; drafting or critically revising; approving the final version; and accepting accountability. Gift authorship (adding someone who did not contribute) and ghost authorship (omitting someone who did) both misrepresent the work. Many venues ask for a contribution statement listing each person's role.

Credit and disclosure

Acknowledge help that does not meet authorship criteria. Cite borrowed code, datasets and figures, and respect their licences. Disclose AI tools used for code, analysis or text, and state that you checked their output. Disclose any conflicts of interest.

The research talk

One message per slide. Open with the question and why it matters, show the method in one diagram, then the main figure with the interval. Spend real time on limitations. End with what is shown, what is not, and what you would do next. Figures must stand alone: label axes, units and what the bars mean.

Explain it another way: intuitive

Film credits list the director and actors, and thank the caterers. Both matter; they are different roles.

Explain it another way: technical

Contributor-role taxonomies (conceptualisation, methodology, software, analysis, writing, supervision) make contributions explicit and checkable.

Explain it another way: applied

Open-source projects credit contributors through commit history and licences; research borrows the same habits for code and data.

Try these examples

Example 1

Write a credit statement for a solo capstone with help.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Adding a well-known name who did not contribute, to make the paper look stronger, is…

  • Networking
  • Gift authorship: an integrity problem
  • Required
  • Acknowledgement

2. A friend explained a concept to you once. How do you credit them?

  • As an author
  • In the acknowledgements
  • Not at all
  • As a reference

3. You used an AI tool to draft part of the discussion. What is required?

  • Nothing
  • Disclose its use, check and take responsibility for every claim
  • List the tool as an author
  • Delete the text

4. Which talk slide is strongest?

  • A dense table of every run
  • One figure: the difference with its 95% CI and a one-line takeaway
  • A paragraph of methods text
  • A slide that just says 'Results'

Apply it

Write your capstone credit statement and a five-slide outline: question, method, main result, limitations, what next. Rehearse it once in five minutes.

Reflect

Whose help on your project so far has not yet been written down anywhere?

Week 36: Capstone proposal, pilot and defence

This week you will

Capstone: the pre-registered proposal

One page, written before any confirmatory run, that a stranger could use to judge your result fairly. Can you write it?

About 50 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

This is the term project and the doorway to the year capstone. A strong proposal makes the rest of the investigation almost mechanical; a weak one guarantees confusion later.

Goals

Predict

Which element is most often missing from first-draft proposals?

  1. A title
  2. A pre-stated decision rule with a smallest effect of interest
  3. The author's name
  4. A topic

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Use the sharpener as a final check: rebuild your own capstone hypothesis by choosing the specific option in each row and replacing the example words with yours on paper. All five checks must pass before you register.

What the interactive shows, in words

The hypothesis sharpener lists five parts of a hypothesis with vague and specific options and five checks (specific, measurable, comparison, falsifiable, scoped). Here it is used as a final checklist for the capstone hypothesis.

Understand

The one-page proposal

Question and why it matters (two sentences, citing the gap from your review). Hypothesis with direction and SESOI. Design: conditions, baselines (trivial and strong), ablations, randomisation, seeds. Metrics: primary and secondary with operational definitions. Sample size and its justification. Feasibility and fallback. Risks and limitations you already foresee.

From proposal to pre-registration

Add the exclusion rules, the exact analysis (difference, interval method, any correction) and the three-way decision rule. Commit it with a date before any confirmatory run. The pilot comes next and may change the procedure, but changes are logged as deviations.

Matches the capstone

The year capstone requires a specific question, a literature review, a pre-registered method, a reproducible simulation, quantitative results with uncertainty against a fair baseline, limitations, a manuscript and a talk. The proposal is where each requirement first appears.

Explain it another way: intuitive

An architect's drawing before the first brick: cheap to change now, expensive later.

Explain it another way: technical

A proposal is a contract with your future self and your reviewers about what counts as evidence.

Explain it another way: applied

Funded research almost always begins with a proposal reviewed on exactly these elements: significance, approach, feasibility and risk.

Try these examples

Example 1

Write a decision rule for 'checkpoint spacing of 3 steps reduces final error versus 6 steps by at least 0.2 m'.

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which is NOT a required element of the proposal?

  • Hypothesis with SESOI
  • Primary metric
  • Final results
  • Feasibility and fallback

2. You want 80% power to detect a true effect of Cohen's d = 0.4 with a two-sided test at α = 0.05, two equal independent groups. Using the normal approximation n = 2·((1.96 + 0.84)/d)², how many trials PER GROUP do you need (round up)?

Answer: per group

3. A pilot suggests grasp force error has SD σ ≈ 0.3 N. How many trials n do you need so that the 95% margin of error 1.96·σ/√n is at most E = 0.1 N? Give the smallest whole number.

Answer: trials

4. After registering, the pilot shows your metric script mislabels runs. What do you do?

  • Abandon the study
  • Fix it, log the change as a deviation with date and reason, then run the confirmatory study
  • Fix it silently
  • Change the hypothesis too

Apply it

Term project, part 1: write and commit your one-page proposal and pre-registration. Check every capstone requirement appears somewhere, and mark anything missing as a risk.

Reflect

If a reviewer read only your pre-registration, what result would they expect you to report if your hypothesis is wrong?

Capstone: running the pilot

The pilot is not a sneak preview of your result. It is a rehearsal designed to fail early. What should it check?

About 45 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

The pilot is the second half of the term project. Done well, it means your confirmatory runs will not be wasted by a broken metric, a missing seed or a run that takes three times longer than planned.

Goals

Predict

Your pilot of 4 runs per condition shows the new method winning clearly. What should you do with this?

  1. Report it as the result
  2. Nothing: pilot effects are not evidence; use only its variance and procedural lessons
  3. Increase your SESOI to match
  4. Stop the study

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Run your pilot: two conditions, a few runs each, using your registered procedure exactly. Check: every run logged with seed and settings, metric computed by script, analysis pipeline produces a figure with an interval, time per run measured. Write down every problem you hit.

What the interactive shows, in words

The rover Level 5 investigation records runs with chosen settings for a report. This lesson uses it for a small pilot: checking logging, metric scripts, the analysis pipeline and time per run, and measuring the spread of the primary metric.

Understand

Pilot checklist

Can every setting be changed as planned? Is every run logged (seed, settings, version, outcome, time)? Does the metric script handle failures? Does the full pipeline, raw data to figure, run with one command? How long does a run really take? What is σ for the primary metric?

Use σ, not the effect

Recompute the sample size with the pilot's σ and your registered SESOI. If n grows beyond feasibility, change the design (paired seeds, fewer conditions) and log it. Do not let the pilot's effect size change the hypothesis or the SESOI.

Keep pilot data separate

Store pilot runs in their own folder and exclude them from the confirmatory analysis. Report the pilot in the Methods: what it checked and what it changed.

Explain it another way: intuitive

A fire drill tests the exits, not whether there is a fire.

Explain it another way: technical

Pilot-based effect estimates have large variance and, if used to select studies or thresholds, introduce bias; pilot variance estimates are less problematic and are what power analysis needs.

Explain it another way: applied

Industrial test campaigns run 'shakedown' tests before qualification tests for exactly this reason.

Try these examples

Example 1

Pilot σ = 0.35 m, SESOI 0.2 m, two independent groups. Runs per group for 80% power?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. Which pilot output should feed into the confirmatory plan?

  • The effect size
  • The standard deviation and the procedural fixes
  • Which method won
  • The p-value

2. You want 80% power to detect a true effect of Cohen's d = 0.4 with a two-sided test at α = 0.05, two equal independent groups. Using the normal approximation n = 2·((1.96 + 0.84)/d)², how many trials PER GROUP do you need (round up)?

Answer: per group

3. A simulation draws pseudo-random numbers with x(next) = (13·x + 7) mod 32, seeded with x0 = 18. A reviewer re-runs it with the same seed. What is x3, the value after 3 steps?

Answer:

4. Can pilot runs be pooled with confirmatory runs to increase n?

  • Yes, always
  • No: they were run under a procedure that may have changed and were seen before the plan was final
  • Only if they help
  • Only for the baseline

Apply it

Term project, part 2: run your pilot, write a half-page pilot report (what was checked, what broke, σ, time per run), update the sample size, and commit a revised protocol with a deviation log.

Reflect

What did the pilot reveal that you would never have predicted?

Capstone: responding to critique

A reviewer writes: 'The improvement could be caused by the tuning budget, not the method.' What is the best reply: an argument, or an experiment?

About 40 min · Checked by automated tests · Interactive lesson · Lite lesson (answers checked here)

Why it matters

The capstone ends with presenting and defending your work. Critique is not an attack: it is free quality control. Researchers who respond with evidence, and concede when wrong, build lasting credibility.

Goals

Predict

A reviewer suggests your baseline was under-tuned. Best response?

  1. Explain that you are confident
  2. Tune the baseline with the same budget, rerun, and report both results
  3. Ignore it
  4. Remove the baseline

Write down your guess and your reason. The reveal is in the online lesson.

Discover

Play reviewer and author. Claim: 'Kp = 4 beats Kp = 2 on settling time.' Reviewer: 'Did you check overshoot, and does the result hold for a different plant setting?' As author, run the lab to answer both with numbers, then write a two-sentence response.

What the interactive shows, in words

The feedback lab shows a controlled system's response for chosen gains and plant settings. The activity is to answer a reviewer's questions about overshoot and robustness by running the lab and reporting numbers.

Understand

Kinds of critique

Clarity (the reader misunderstood: rewrite). Missing analysis (do it, or explain why not). Alternative explanation (run a check). Scope (narrow the claim). Disagreement on interpretation (present evidence for both views). Respond to each point separately, quoting it.

Evidence over assertion

Each response should point to something checkable: a new run, a figure, a sentence changed in the manuscript. 'We believe' is weak; 'we reran with an equally tuned baseline (Table 3); the gain fell from 0.4 to 0.2 s (95% CI 0.05–0.35 s)' is strong.

Conceding well

If the critique is right, say so, change the claim and thank the reviewer. Correcting your own work after it is shared, openly and promptly, is a core integrity practice. A smaller, true claim is worth more than a larger, contested one.

Explain it another way: intuitive

In a debate, the strongest move is not a louder voice but a new fact.

Explain it another way: technical

Response letters map each reviewer comment to a change or a justified non-change, with locations in the revised manuscript.

Explain it another way: applied

Engineering design reviews work the same way: action items are closed with test evidence, not opinions.

Try these examples

Example 1

Critique: 'One seed set; results may be seed-specific.' Response?

The worked solution is in the online lesson.

Common mix-ups

Practice questions

Questions only. Check your answers in the Lite lesson; they are graded on our server and nothing is saved.

1. 'Your conclusion says all rovers, but you tested one route.' Which kind of critique?

  • Clarity
  • Scope
  • Missing analysis
  • Personal

2. Which response is strongest?

  • 'We disagree.'
  • 'We reran with the suggested condition; results in new Figure 4 show the effect holds but is 30% smaller, and the abstract now says so.'
  • 'The reviewer misunderstood.'
  • 'This is beyond scope.' (with no reason)

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

Answer:

4. Your re-analysis shows the main effect disappears with a fairly tuned baseline. What now?

  • Withdraw the whole project
  • Report the corrected result honestly: a clear negative result is a contribution
  • Use the old baseline
  • Find a different metric that still shows an effect

Apply it

Swap pre-registrations and pilot reports with a peer (or reread your own a day later as a reviewer). Write three critiques, then respond to each with evidence or a revised claim. Keep the exchange in your capstone notebook.

Reflect

Which critique of your capstone do you most fear, and what evidence would answer it?