School/✦ Research Engineer/Week 36
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 · 3 goals · Checked by automated tests
1.Why should I care?
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.
- ◇ Run a small pilot that tests the procedure, recording and analysis pipeline.
- ◇ Use pilot variability to confirm the sample size, without peeking at the effect.
- ◇ Revise the protocol and log every change.
2.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.
Can't use the interactive? Read a description instead
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.
3.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
Which pilot output should feed into the confirmatory plan?
Practice 2 · a fresh version every time
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)?
4.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.
5.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
A fire drill tests the exits, not whether there is a fire.
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.
Industrial test campaigns run 'shakedown' tests before qualification tests for exactly this reason.
Worked example 1
Pilot σ = 0.35 m, SESOI 0.2 m, two independent groups. Runs per group for 80% power?
d = 0.2/0.35 = 0.571. n = 2 × (2.80/0.571)² = 2 × 24.0 = 48.0, so 49 per group (rounding up). With paired seeds the σ of differences may be much smaller, cutting n.
Common mix-ups
- A successful pilot means the experiment will work.
✓ A successful pilot means the procedure works. Whether the hypothesis survives is what the confirmatory study is for.
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 3 · a fresh version every time
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?
Practice 4
Can pilot runs be pooled with confirmatory runs to increase n?
7.Predict
Your pilot of 4 runs per condition shows the new method winning clearly. What should you do with this?
Guess first. Being wrong here is how the surprise works.
8.Reflect
Concepts: Experimental design and test protocols · Reproducibility and documentation · Repeated trials and sample size