Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Should You Decide How You’ll Analyze the Data Before You Collect It?

You should usually know how your data will answer your research questions before collecting it. Planning the analysis early can expose design problems, clarify what data you actually need, and reduce data-driven analytical decisions.

146
Plan Analysis Before Data Collection Guide 146 of 217
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.

02 · The Short Answer

Yes, You Should Usually Plan the Analysis Before Collecting Data

In Brief

Yes. You should usually decide the main analytical strategy before collecting data because the analysis needs to be aligned with your research question, study design, variables, and the evidence you intend to produce.

This does not mean that every analytical decision must be irrevocably fixed. Unexpected data characteristics, assumption violations, missing data, or genuinely exploratory questions may justify changes or additional analyses. What matters is knowing which analyses were planned in advance and which decisions arose after examining the data.

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.

04 · A Practical Example

How Early Analysis Planning Can Change the Study Itself

Hypothetical Example

A Researcher Studying a New Teaching Strategy

Suppose a researcher wants to determine whether students taught using a new instructional strategy improve more than students receiving the usual instruction. The initial plan is simple: recruit two classes, introduce the strategy in one class, and administer a test at the end of the semester.

Question The researcher wants to compare improvement between the two groups, not merely their final scores.
Planned analysis Thinking through the comparison reveals that measuring only the final outcome does not directly provide each student's pre-to-post change.
Design revision The researcher adds a baseline measurement before the intervention and considers how the existing class structure affects the independence of observations and the interpretation of group differences.
Data collection The revised dataset now contains information needed to examine change and baseline differences using an analysis appropriate to the final design.
Interpretation Planning the analysis did not merely determine what command to run later. It exposed what evidence the research question actually required while the data-collection design could still be changed.

The precise analysis would depend on the final design, sampling structure, measurements, assumptions, and inferential objective. That choice should not be made simply because one statistical procedure is familiar. The important lesson is earlier in the workflow: imagining the analysis revealed that the original data-collection plan did not fully match the question.

05 · What Researchers Often Get Wrong

Common Misunderstandings About Planning Analysis in Advance

Misconception

“I Need to See the Data Before I Can Decide Anything”

You may need to see the data before resolving some analytical details, but that does not prevent you from planning the main strategy. The research question, design, variables, sampling structure, and intended inference already constrain which analyses are defensible. Decisions that genuinely depend on observed data can be anticipated as contingencies rather than leaving the entire analysis unspecified.

Misconception

“If I Choose the Statistical Test Now, My Analysis Plan Is Finished”

Naming a test is not an analysis plan. A meaningful plan connects each question to the relevant variables and observations, defines the intended comparison or inference, and anticipates analytical issues that could materially affect interpretation. The specific statistical procedure is only one part of that reasoning.

Misconception

“Once an Analysis Is Planned, I Am Not Allowed to Change It”

Plans can change for defensible reasons. The data may violate an assumption, a planned model may prove inappropriate, or an unforeseen measurement problem may emerge. What matters is whether the change is methodologically justified and transparently distinguished from the original plan. Pre-specification is not a methodological straitjacket.

Misconception

“An Analysis Chosen in Advance Must Be Better Than One Chosen Later”

Timing alone does not make an analytical choice valid. A pre-specified analysis can still be poorly matched to the question or design. Planning ahead reduces certain opportunities for data-driven decision-making and exposes design problems earlier, but the method itself must still be appropriate.

Misconception

“Planning Analysis in Advance Prevents Me from Exploring the Data”

It does not. You can conduct exploratory analyses after completing or alongside the planned analyses. The key is to identify them appropriately. An unexpected pattern can be scientifically valuable without being retrospectively presented as a prediction that existed before the data were examined.

Misconception

“This Only Matters for Statistical Research”

The form of planning differs across methodologies, but researchers generally need some account of how collected material will address the research question. Quantitative, qualitative, and mixed-methods studies may require very different levels and forms of advance specification. The principle is alignment, not methodological uniformity.

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?
08 · Frequently Asked Questions

Questions Researchers Ask About Planning Analysis Before Data Collection

Do I need to know the exact statistical test before collecting data?

Not necessarily in every study. You should know the analytical logic and ensure that the design and measurements can support it. For confirmatory research, greater pre-specification is often appropriate. The exact procedure may sometimes depend on defensible considerations that cannot be completely resolved until later.

What if my planned analysis turns out to be inappropriate?

Use an appropriate alternative rather than knowingly applying a poor method simply because it was planned. Document the change, explain why it was necessary, and distinguish the revised analysis from the original plan. Transparency is more defensible than rigid adherence to an unsuitable method.

Can I run analyses that I did not plan in advance?

Yes. Unplanned exploratory analyses can reveal useful patterns and generate new questions. Report them as exploratory or post hoc when that distinction matters rather than implying that they were specified before the data were examined.

Is an analysis plan the same as preregistration?

No. An analysis plan describes how the data are intended to be analyzed. Preregistration involves creating a time-stamped record of specified aspects of the study before a defined stage, typically before data collection or analysis depending on the research context and registration format. You can plan an analysis without publicly preregistering it.

Does every research question need an analysis?

Each research question should have a defensible way of being answered by the evidence generated in the study, although this does not always correspond to one separate statistical test or technique. The relationship between research questions and planned analyses should be explicit enough that you can see how the study will answer what it asks.

Do qualitative researchers need to decide everything about analysis before interviews or observations begin?

No. Some qualitative methodologies deliberately permit analysis and data collection to interact iteratively. Researchers should plan what is appropriate for their methodological approach without imposing artificial rigidity that conflicts with the logic of the design.

What if I already collected data without planning the analysis?

Do not choose a method solely because it produces a convenient result. Return to the research question, examine the design and variables you actually have, identify which questions the dataset can defensibly address, and seek methodological assistance when necessary. Be transparent about analyses developed after data collection rather than retrospectively portraying them as pre-specified.

09 · The Bottom Line

Plan How the Evidence Will Answer the Question Before You Collect It

The Bottom Line

You should usually plan how you will analyze your data before collecting it because analysis planning is part of designing a study that can actually answer its research question.

You do not need to pretend that every future analytical decision is knowable. Decide the consequential choices that can reasonably be made in advance, anticipate legitimate contingencies, and document later changes honestly. The goal is not rigidity. It is to avoid discovering, after the data have been collected, that the evidence you needed was never collected in the first place.

10 · Sources and Further Reading

Sources and Further Reading

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes