How Science Works

Exploratory and Confirmatory Research: Two Jobs That Should Not Be Blurred

Understand why searching data for ideas and testing an idea are different jobs, what goes wrong when they merge, and how to label each one.

Key takeaways

  • Exploration is for discovering possibilities, and its findings should be reported as leads that still need testing.
  • Confirmation requires the hypothesis, measurements and analysis to be fixed before the relevant data are seen.
  • Searching many comparisons almost guarantees some striking patterns that arise from chance alone.
  • Presenting an after-the-fact idea as a prediction makes the evidence look much stronger than it is.
  • One study can do both jobs if it labels them clearly or keeps separate data for each.

Exploratory research looks for patterns and produces ideas. Confirmatory research takes an idea stated in advance and puts it to a test it could fail. Both are valuable. Trouble starts when a pattern found by searching is presented as though it had been predicted, because the same data cannot fairly suggest a hypothesis and then certify it.

Think of drawing a map and then using it. While exploring, you wander, double back and mark whatever seems interesting. While confirming, you name a destination beforehand and check whether the route really gets there.

Two jobs side by side

Question Exploratory work Confirmatory work
Main aim Find patterns, form ideas Test a stated idea
Hypothesis May emerge during the work Written down beforehand
Analysis choices Free to try many Fixed in advance
Sample and stopping Flexible Planned
Typical conclusion "This is worth testing" "The prediction held" or "it did not"

The statistician John Tukey argued strongly for exploration, and his 1977 book on exploratory data analysis taught people to look at data with plots and simple summaries before reaching for formal tests. He treated this as detective work that confirmation depends on, since you need a question worth testing.

Why the same data cannot do both

Any collection of data contains quirks: lumps, streaks and coincidences that would not recur in a fresh sample. If you scan until something catches your eye, you are likely to have selected one of those quirks, possibly mixed with something real.

Testing that pattern on the same data then asks, in effect, whether the thing you picked for being striking is striking. The answer is nearly always yes. A new sample has no memory of why you chose the pattern, so it can say no.

The error has a vivid name, after a marksman who fires at a barn and then paints a target around the tightest group of holes. You can read more about it under Texas sharpshooter reasoning.

How quickly chance patterns pile up

Suppose you record 20 unrelated habits of some volunteers and compare each with a memory score, using a threshold of 0.05 for calling a result significant. Assume, for the arithmetic, that none of the habits has any real link and that the 20 tests are independent.

expected number of false alarms     20 × 0.05 = 1
chance of none at all               0.95²⁰ ≈ 0.36
chance of at least one              1 − 0.36 = 0.64

You would expect about one "discovery" from pure noise. The habit that crosses the line might be eating breakfast or owning a blue bicycle, and a plausible story can usually be supplied for either.

The count of comparisons is often larger than it looks. Different outcome measures, subgroups, time windows, ways of handling unusual values and choices of statistical test all multiply the routes to a striking result, even for a researcher who runs only the analysis that seemed sensible after seeing the data.

Hypothesizing after the results are known

The psychologist Norbert Kerr gave the label HARKing, for "hypothesizing after the results are known," to the practice of writing a paper as if a post hoc idea had been the prediction all along. The introduction is rewritten, the surprises become expectations and the dead ends disappear.

Readers then think the hypothesis survived a risky test when no such test occurred. It can happen without any wish to deceive, partly because results feel obvious once known. The remedy is simply to say what happened: "We did not anticipate this association; we found it while examining the data."

How exploring and confirming feed each other
Learn Surprises become the next things to explore Test Collect fresh data and apply the plan Explore Plot, compare and notice patterns Propose Turn a pattern into a precise hypothesis Commit Record predictions and analysis in advance 1 2 3 4 5 Explore Plot, compare and notice patterns 1 Propose Turn a pattern into a precise hypothesis 2 Commit Record predictions and analysis in advance 3 Test Collect fresh data and apply the plan 4 Learn Surprises become the next things to explore 5

Keeping the two apart

Separate studies. The cleanest approach is to explore in one data set and confirm in a new one collected under a written plan.

Split the data. With a large collection, you can set aside a randomly chosen portion before looking at anything, explore the rest and then test your best ideas once on the held-out part. If you keep returning to that portion and adjusting, it stops being a fresh test.

Write the plan down. Preregistration records hypotheses, measures, sample size and analysis in a time-stamped document before the data are examined. It does not forbid exploring. It makes visible which results were planned.

Review before results. In registered reports, a journal evaluates the question and method first and commits to publishing largely regardless of the outcome.

Labeling results in a report

A reader should be able to tell the two apart without guessing. You might use separate headings for planned and unplanned analyses, and wording that matches the strength of each.

  • Planned: "As predicted, seedlings in the warmer tray emerged earlier."
  • Exploratory: "In an unplanned comparison, seeds from one packet emerged earlier. This should be tested on new seed."

Report departures from your plan too. If an instrument failed or an assumption proved wrong, changing the analysis may be the right call. State the original plan, the change and the reason, and show both results where you can.

Reading other people's studies

You can often work out which job a study did even when the authors do not say. Look for these clues.

  • A public plan. A registration made before data collection, with matching outcomes in the paper, supports a confirmatory reading.
  • One clear question or a crowd of them. A long list of measures and subgroups with one highlighted success suggests searching.
  • Oddly specific conditions. An effect that appears only in one age band, on weekdays, under one scoring rule probably had its conditions chosen after the fact.
  • Explanations that arrive with the result. Fluent accounts of a surprising finding are not evidence that it was expected.
  • A follow-up. An exploratory lead that later held in new data deserves far more weight than the original.

A study that is openly exploratory can still be informative, especially if it reports everything it looked at. What you should adjust is the strength of your belief. Treat the finding as a reason to test, and be wary of headlines that turn "may be associated with" into settled fact.

Fields where the line is harder

Some data cannot be gathered afresh on demand. There is one record of past climate, one history of an economy and a limited number of observed rare events. Researchers there can still state predictions about portions they have not yet examined, build a method on simulated data before applying it to the real thing, or wait for new events to arrive.

Particle physicists often fix their selection rules while the region of data where a signal might appear is kept hidden. Only after the method is settled do they look. That practice protects confirmation even when everyone knows roughly what the analysis hopes to find.

Early in a new topic, on the other hand, demanding a sharp prediction may be premature. Nobody can specify what to confirm before anyone has described what is there. Careful description is a legitimate contribution, and honest labeling lets the next study build on it.

Mistakes in both directions

Calling work exploratory is sometimes heard as an apology. It should not be. Many discoveries began with someone noticing something nobody had asked about, and a field that only tested pre-stated ideas would run short of ideas.

The opposite mistake is to think a written plan guarantees a good study. A carefully registered test with a poor measure or too few observations remains weak. A plan protects against one family of errors, those that come from choosing after seeing.

Exploration also has its own standards. Look at the data honestly, report roughly how widely you searched, show the sizes of effects with their uncertainty and resist dressing a lead up with a precise p-value that no longer means what it appears to mean. When replications of a bold exploratory claim fail, the gap between the two kinds of work is often part of the explanation, as discussed in why some published findings fail to replicate.

A small project done both ways

Imagine you notice that bean seedlings near one end of a windowsill seem taller. Exploring, you measure all of them, note temperature, light and pot size, and plot height against position. Light looks like the most promising factor.

To confirm it, you start new seeds, decide to compare two light levels, assign pots to positions by chance, and state that height on day 14, measured from the soil to the highest point, will be greater under the brighter condition. If it is not, you say so. Either way, you now know something that the first round could only suggest. The testable hypothesis at the start of round two is the bridge between the two jobs.

Written for 4Sciences with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 49 articles in How Science Works →

Latest news on this topic