01 · The Question
Should the Analysis Really Be Planned Before You Have the Data?
You may know your research question, have chosen a design, and be ready to begin collecting data. It can therefore feel reasonable to postpone analysis decisions until the dataset is sitting in front of you. After all, how can you know exactly what analysis will work before you see what the data look like?
There is some truth in that concern, but it can lead to a costly mistake. Analysis is not simply something you do after data collection. The analysis you intend to conduct affects what variables you need, how they should be measured, which observations must be collected, how participants or cases should be sampled, and sometimes how large the study needs to be.
The practical question is therefore not whether every analytical detail must be permanently fixed before the first observation is collected. It is whether you should begin collecting data without a defensible idea of how those data will eventually answer your research question.
03 · What You Need to Know
Why Analysis Planning Belongs in Study Design
Data Collection and Data Analysis Are Not Separate Decisions
A common mental model divides a study into a neat sequence: design the research, collect the data, and then decide how to analyze them. In practice, these stages are interdependent.
Suppose your research question asks whether an intervention changes an outcome relative to a comparison condition. Before collecting anything, you need to know what constitutes the outcome, when it will be measured, what comparison is being made, what observations contribute to that comparison, and what analytical approach can support the inference you want to make. If repeated measurements are needed but you collect only one measurement, no statistical technique can reconstruct the missing study design afterward.
This is why the analysis should follow from the research question and design rather than being treated as a software decision made at the end. Before collecting data, check whether your proposed approach actually matches the question and study design that produced the data.
Planning the Analysis Is Not the Same as Picking a Statistical Test
Researchers sometimes interpret “plan your analysis” as “choose whether to use a t-test, ANOVA, regression, or another statistical procedure.” That is too narrow.
An analysis plan begins with the inferential or interpretive task. What question will each analysis answer? Which observations and variables will contribute to it? What comparison, relationship, pattern, or meaning are you trying to establish? How will important complications such as missing observations, repeated measurements, clustering, multiple outcomes, or covariates be handled if they are relevant?
The specific technique matters, but it comes later in the reasoning. Your study should not be engineered around a favorite test. The study design and substantive question should drive the analytical requirements, not the other way around.
Analysis strategy
The overall logic connecting your research question, design, data, and intended inference.
Statistical test or analytical technique
A particular procedure used within that strategy, such as regression, a t-test, thematic analysis, or another appropriate method.
Planning Ahead Can Reveal Problems While You Can Still Fix Them
One of the strongest reasons to plan analysis early is surprisingly mundane: it forces you to imagine the dataset before it exists.
Ask yourself what one row of data will represent, what variables will be available, when each variable will be measured, how groups or conditions will be represented, and what information the proposed analysis requires. Doing this can expose mismatches that are difficult or impossible to repair later.
You might discover that a variable needed to answer a research question is absent from the instrument. You may realize that the outcome is measured at the wrong level, that the design cannot provide the comparison you intended, or that the planned sample does not contain enough observations for the proposed model. Sometimes the useful result of analysis planning is not an analysis at all. It is a redesigned study.
Watch Out
Statistical software cannot compensate for information that the study never collected. If an essential variable, comparison group, measurement occasion, or sampling feature is missing by design, discovering the problem during analysis may be too late.
Advance Planning Helps Separate Confirmatory Decisions from Data-Driven Ones
Another reason for deciding important analyses in advance is that analytical choices can be influenced by observed results. Once you know which model produces a smaller p-value, which exclusion changes the conclusion, or which outcome appears most favorable, it becomes harder to treat those choices as though they were independent of the results.
This matters particularly when a study is intended to test pre-existing hypotheses. The International Council for Harmonisation's statistical guidance for clinical trials, for example, emphasizes specifying the principal features of analysis during planning and distinguishing planned analyses from additional analyses prompted by observed data. The exact regulatory requirements do not apply to every field, but the underlying methodological principle travels rather well: knowing when an analytical decision was made helps readers judge the resulting evidence.
Advance planning does not make an analysis automatically correct, nor does changing a planned analysis automatically make it suspect. A poor method remains poor even if it was chosen six months earlier. The value of planning is that important decisions can be evaluated against the research question and design before the results themselves begin influencing those decisions.
Planning Does Not Mean Pretending You Know What the Data Will Look Like
Real datasets are rarely as cooperative as methods textbooks would prefer. Distributions may be skewed. Measurements may be missing. Models may fail to converge. Assumptions may prove unreasonable. Unexpected patterns may raise worthwhile new questions.
A sensible plan therefore distinguishes decisions that should be made before data collection from decisions that legitimately depend on observed data characteristics. You can specify the primary analytical strategy while also defining contingencies. For example, the plan may state what will happen if a particular assumption is seriously violated or how missing observations will be addressed under plausible circumstances.
The important distinction is between principled adaptation and result-driven improvisation. When an analysis changes, record what changed, why it changed, and whether the decision was made before or after examining the relevant results. There are legitimate parts of an analysis plan that can remain flexible; flexibility becomes problematic when it is hidden or used selectively to obtain a preferred result.
Planning Ahead Does Not Eliminate Exploratory Analysis
Exploratory analysis is valuable. Researchers may discover patterns they did not anticipate, identify questions worth pursuing, or learn that a phenomenon is more complicated than the original model assumed.
The problem is not exploration. The problem arises when an analysis inspired by the observed data is presented as though it had been specified independently of those data.
A study can contain both planned and exploratory analyses. The distinction should be transparent. Planned analyses address questions and decisions specified in advance; exploratory analyses investigate patterns or questions that emerged during or after examining the data. Both can contribute to knowledge, but they support different kinds of evidential claims.
The Principle Extends Beyond Quantitative Research
Planning analysis before data collection is not exclusively a statistical concern. Qualitative researchers also benefit from considering how interviews, observations, documents, images, or other materials will be transformed into an interpretation that addresses the research question.
The nature of that planning may differ substantially from a pre-specified statistical model. Some qualitative traditions intentionally allow data collection and analysis to proceed iteratively, with emerging interpretations influencing subsequent sampling or questioning. In such cases, advance planning may establish the analytical approach, unit of analysis, procedures, documentation practices, and reflexive processes while preserving appropriate interpretive flexibility.
The relevant question is therefore not whether qualitative research should imitate a statistical analysis plan. It is what analysis planning should look like for the qualitative methodology being used.
How Much Should You Decide Before Data Collection?
There is no universal level of pre-specification appropriate to every study. A tightly confirmatory experiment may warrant detailed advance decisions about outcomes, models, contrasts, exclusions, and sensitivity analyses. An exploratory study may intentionally leave more analytical possibilities open. An iterative qualitative design may require flexibility that would be inappropriate for a confirmatory clinical trial.
At minimum, however, you should normally be able to explain how the data you plan to collect could answer each central research question. That requires more than saying, “I will analyze the data later.”
The next planning task is to decide what the analysis plan should specify before collection begins. The appropriate level of detail depends on the design, analytical tradition, purpose of the study, and strength of the claims you intend to make.
06 · What This Means for You
What to Decide Before You Start Collecting Data
Before data collection, try to work backward from the claim you hope the study will be able to support. What research question are you answering? What evidence would answer it? What data would provide that evidence? What analysis would connect those data to the conclusion?
You do not necessarily need a fully scripted analysis at the earliest conceptual stage. You do need enough analytical planning to determine whether your design can produce usable evidence.
A simple decision framework
If your study is primarily confirmatory
Specify the primary analytical decisions in substantial detail before examining the results, particularly those that could affect the study's main conclusions.
If your study is primarily exploratory
Plan the analytical framework and document which decisions remain open rather than pretending that all analyses were specified in advance.
If your method intentionally uses iterative analysis
Plan the procedures and methodological logic governing that iteration while preserving the flexibility required by the approach.
If you cannot explain how the proposed data will answer the research question
Do not treat this merely as a future analysis problem. Reconsider the question, measurements, sampling, design, or analytical strategy before collection begins.
If the planned analysis is beyond your current methodological expertise
Seek appropriate statistical or methodological input while changes to the study design and data collection are still possible.
Early consultation can be particularly valuable for complex designs, clustered or longitudinal data, specialized models, difficult sampling structures, multiple outcomes, or unfamiliar methods. A statistician or methodologist can often contribute most before the study is locked in, rather than being asked at the end to rescue a dataset that cannot support the intended analysis.
07 · A Quick Checklist
Before You Begin Collecting Data, Check Your Analysis Logic
Before data collection begins, check:
Can I explain how the planned data will answer each central research question?
Have I identified the main variables, outcomes, comparisons, observations, or qualitative materials required for the analysis?
Does the analytical strategy match the study design rather than forcing the design to fit a preferred technique?
Will I collect every measurement, time point, grouping variable, or contextual feature that the intended analysis requires?
Have I considered whether the sample size and sampling structure are compatible with the intended analysis where this is relevant?
Have I identified important analytical decisions that should be made before I see the results?
Have I identified which decisions may legitimately depend on data characteristics and how I will document those decisions?
If I need specialized analytical expertise, have I sought it while the design can still be changed?