Pre-registration and decision rules
Writing down your hypotheses, measures, sample size, exclusion rules and analysis before you collect data, so that the data cannot quietly reshape the questions they are supposed to answer.
Lesson 4 of 6 · 30 min · Self-paced · Free
The problem: too many ways to win
Imagine you test a new gripper controller and record ten different measures: drops, slips, peak force, average force, completion time, recovery time, and four more. You run 20 trials per condition and then compare the conditions on each measure in turn.
Suppose the controller actually makes no difference at all. By chance alone, some measures will still come out looking better for one condition. If each measure has a 5% chance of producing a convincing-looking fluke, then the chance that at least one of ten does is:
1 − 0.95^10 ≈ 1 − 0.60 = 0.40(This assumes the measures are independent; related measures change the exact number, but not the lesson.) That is roughly a 40% chance of finding something that looks like an effect where there is none. With 20 measures it rises to about 64%. Add choices about which trials to exclude, whether to analyse each material separately, and when to stop collecting data, and almost any dataset can be made to tell a story. Researchers call this the garden of forking paths: every reasonable-looking choice made after seeing the data is a fork, and enough forks lead somewhere impressive.
You met the basic protection in the lesson on hypotheses: decide success before you look. This lesson turns that habit into a complete written document.
What pre-registration is
Pre-registration means writing down the important decisions about a study, dating them, and saving or publishing them before collecting the data that will test the hypothesis. A complete pre-registration covers:
- Hypotheses, including the direction of the expected effect.
- The primary measure, with its full operational definition, plus any secondary measures.
- The design: conditions, baseline, materials, randomisation.
- Sample size: the number of trials, and how it was chosen.
- Stopping rule: when data collection ends.
- Exclusion rules: which trials, if any, will be left out, and why.
- The analysis plan: exactly how the data will be summarised and compared.
- Decision rules: which result will count as supporting the hypothesis, which will count against it, and which will be inconclusive.
Decision rules in detail
Stopping rules. Fix the number of trials in advance, for example "15 trials per condition". The alternative, checking the results after every few trials and stopping when they look good, is called optional stopping. Because results fluctuate by chance, a researcher who keeps checking will eventually catch a lucky moment. It feels innocent, and it badly inflates false positives.
Exclusion rules. Sometimes trials genuinely need to be removed: the cable came loose, someone bumped the table. The rule must be written beforehand and based on what happened during the trial, never on its outcome. For example: "A trial is excluded if the log shows a communication dropout longer than 1 s, or if the operator notes a physical disturbance at the time. All excluded trials are reported, with reasons, and are replaced by extra trials at the end of the schedule." Notice that the operator writes the note at the time, before seeing the result.
Success criteria. State what result would support the hypothesis, as concretely as you can. Here is a made-up example for a hypothetical study, written in the style of a pre-registration:
The hypothesis will be treated as supported if the fusion condition has fewer drops during dropouts than the vision-only condition, by at least 3 drops out of 20, on the primary measure. A smaller difference in either direction will be reported as inconclusive. More drops in the fusion condition will be reported as evidence against the hypothesis.
Notice the three outcomes: supported, inconclusive and against. Writing all three down in advance stops you from relabelling a disappointing result afterwards.
Confirmatory and exploratory
Pre-registration does not forbid looking at anything else. It separates two kinds of analysis:
- Confirmatory analysis follows the plan and tests the pre-registered hypothesis. It carries the most weight.
- Exploratory analysis is everything else: interesting patterns you notice afterwards. It is valuable for generating new hypotheses, but it must be labelled as exploratory, because it has walked through the garden of forking paths.
A related bad habit is HARKing: Hypothesising After the Results are Known. It means presenting a pattern found by exploration as if it had been the hypothesis all along. Pre-registration makes HARKing visible, because the original hypothesis is on record.
Deviations happen
Real experiments rarely go exactly to plan. A sensor fails, and you have to use a replacement. A material is no longer sold. That is fine. Pre-registration is not a promise that nothing will change; it is a record that lets readers see what changed. Keep a deviations log: the date, what changed, why, and whether the change was made before or after seeing any results. Report it in full.
How to pre-register
At a professional level, researchers use public registries. For example, the Center for Open Science runs the OSF Registries, where a plan can be time-stamped and later made public. Some journals offer Registered Reports, in which the plan is peer reviewed and accepted for publication before the data are collected, so that publication does not depend on the result.
For a student project, the same idea works with simple tools:
- write the plan, date it, and save it as a PDF you do not edit afterwards;
- email it to a teacher or mentor, so there is an independent time stamp;
- or commit it to a version-control repository and push it to a hosting site, which records when it arrived. A commit that stays only on your own computer is not independent proof, because its date can be changed (the engineering-documentation module explains version control).
The TV-01 proposal includes this step among its planned milestones: an evaluation protocol with pre-registered success measures, to be written before any experiment is run. At the time of writing, that milestone is planned and has not been completed, and no experiments have taken place.
Knowledge check
Check your understanding
Project
Write a pre-registration
Write a one-page pre-registration for a small study you could carry out safely at home, or for the proposal you wrote at the end of the previous module. Use the eight headings from this lesson.
Make sure your decision rules include all three outcomes: what would count as support, what would count as against, and what would be inconclusive. Write at least one exclusion rule that is based on events during a trial, not on its result.
Date the document and save a copy that you will not edit. Start an empty deviations log beside it.
Deliverables
- A dated pre-registration covering all eight headings
- Decision rules for supported, inconclusive and against outcomes
- At least one exclusion rule and a fixed stopping rule
- An empty deviations log with columns for date, change, reason, and before or after results
Go further
- Preregistration (Center for Open Science) ↗
An explanation of pre-registration from the organisation that runs the OSF Registries, with guidance on how to register a study plan.
- Preregistration (science) (Wikipedia) ↗
Background on why pre-registration developed, how it works and the debates around it.
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.