Simulation-Assisted Confirmatory Research

Simulation
Introduced by
No single originator; tradition formalized through Monte Carlo methods (Metropolis & Ulam, 1949) applied to confirmatory designs
Year
1980s–2000s (widespread integration in behavioral and social sciences)
Type
Quantitative hybrid design
Family
Survey / observational design

What does it do?

Simulation-assisted confirmatory research uses computer simulation, most often Monte Carlo methods, to plan and benchmark a hypothesis-driven study before its empirical data are analyzed.

The researcher generates synthetic datasets under assumed model parameters to estimate power, error rates, and the behavior of the planned analysis, and then evaluates the empirical results against those simulation-derived reference distributions.

The intuition behind the method

Think of it as a dress rehearsal before a confirmatory study, in which a specific hypothesis will be accepted or rejected. Before collecting data, the researcher builds a virtual version of the experiment and generates many synthetic datasets under the hypothesized conditions. This shows how sensitive the planned analysis is, what sample size is needed to detect the hypothesized effect, and what results to expect if the hypothesis is correct. When the real data arrive, these simulated expectations give a reference frame against which the observed results can be judged.

History

Monte Carlo methods, which estimate quantities by repeated random sampling when analytic solutions are unavailable, were developed in the 1940s and later spread from the physical sciences into other fields. Their integration into behavioral and social science became widespread from the 1980s to the 2000s. Morris, White, and Crowther (2019) provided a structured approach (ADEMP: aims, data-generating mechanisms, estimands, methods, performance measures) for planning and reporting simulation studies.

When to use it

Choose this approach when a study tests a pre-specified hypothesis with explicit control of Type I and Type II error rates, and the design is too complex for textbook power formulas, such as multilevel models, latent variable structures, or non-normal outcomes. It suits studies in which a registered protocol or stakeholders require transparent evidence for sample size and analysis choices before data collection. Do not use it for exploratory work in which hypotheses are still forming, because the confirmatory logic depends on fixing the plan in advance. It is unnecessary when an analytic power formula matches the design closely. It also requires programming skill and time to write and check the simulation code; without these, the planning benefit is unlikely to be realized credibly. Simulated power should be reported across a plausible range of effect sizes rather than a single optimistic value, and the sample size should be set so that the target power is met at the smallest effect size of interest.

Limitations and considerations

  • Simulation results are only as valid as the assumed data-generating model; if the real population differs substantially from the simulated one, power and error-rate estimates may be misleading.
  • Requires programming competence (R, Python, or specialist software) and considerable time investment before any empirical data are collected.
  • The combinatorial space of simulation parameters can be large, and researchers may inadvertently simulate a favorable scenario rather than the realistic one.
  • Does not substitute for substantive theoretical justification of the hypothesized effect size; a simulation run on an implausibly large assumed effect produces optimistic but misleading power estimates.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Gives power and error-rate estimates for the specific design, including complex models for which textbook formulas do not apply, under the stated assumptions.
  • Exposes potential estimation problems (non-convergence, boundary solutions, inflated Type I error) before expensive data collection begins.
  • Strengthens the credibility of confirmatory conclusions by grounding them in a pre-specified, simulation-checked analysis plan.
  • Facilitates transparent pre-registration by providing concrete, quantitative justification for sample size and analytic choices.
  • Can accommodate realistic violations of assumptions (non-normality, missing data, measurement error) that textbook formulas ignore.

Applications

  • Determining the required sample size for multilevel or mixed-effects confirmatory trials where closed-form power formulas are unavailable.
  • Validating the performance of confirmatory factor analysis or structural equation models under realistic conditions of non-normality and missing data.
  • Pre-registering randomized controlled trials in psychology or education by demonstrating adequate power across a plausible range of effect sizes.
  • Assessing the sensitivity of a confirmatory mediation or moderation analysis to violations of distributional assumptions before data are collected.
  • Benchmarking newly proposed statistical estimators against established methods in a controlled simulation environment before applying them in a confirmatory study.

How it works

How it works

1

The study begins with pre-specified hypotheses that state the expected direction and approximate magnitude of effects. Effect size estimates from prior literature, meta-analyses, or theory are documented before data collection begins. This step separates confirmatory from exploratory work and is the prerequisite for a meaningful simulation.

2

The researcher translates the hypotheses into a formal data-generating model that specifies the population effect size, variance structure, sample size, measurement model, and any assumed distributional properties. Together these parameters define the simulated population from which the synthetic datasets are drawn. Morris, White, and Crowther (2019) treat the data-generating mechanism as a core element of planning a simulation study.

3

A large number of synthetic datasets are generated under the specified parameters using Monte Carlo sampling. The number of iterations R is set by the Monte Carlo precision required rather than by a fixed count (commonly 1,000–10,000 iterations are used; see the FAQ). Because the true parameter values are known in the simulation, the bias and other properties of each estimate can be compared with the truth. Each dataset is analyzed with the planned statistical test, which yields an empirical distribution of test statistics, p-values, confidence intervals, and effect size estimates. This distribution shows the power, Type I error rate, and expected precision under the assumed model.

4

Empirical data are collected according to the pre-registered protocol. The sampling plan, measurement instruments, and analysis pipeline are fixed in advance and are not modified in response to incoming data. The confirmatory character of the study depends on strict adherence to this pre-specified plan.

5

The pre-registered analysis is applied to the empirical dataset. The test statistic, effect size, and confidence interval are recorded as planned. Post-hoc model modifications and selective reporting are not permitted at this stage.

6

Empirical results are interpreted against the simulation-derived reference distribution. The researcher assesses whether the observed effect is consistent with the hypothesized model, whether the study reached its targeted power, and whether any anomalies, such as unexpectedly wide confidence intervals or boundary estimates, can be traced to sensitivities identified in the simulation. This comparison links the simulation planning to the empirical confirmation.

Common pitfalls

  • Assuming an effect size larger than theory or prior evidence supports, often taken from small studies with noisy estimates. Power computed under that inflated value can look adequate while the real study is underpowered.
  • Running the simulation after seeing preliminary data ("post-hoc power by simulation") and presenting it as prospective. This mixes exploratory and confirmatory logic and overstates confidence in the design.
  • Failing to pre-register both the simulation parameters and the empirical analysis plan before data collection, which allows post-hoc adjustment of either the simulation benchmarks or the statistical model.
  • Treating a high convergence rate across simulated datasets as a guarantee of estimation quality in any single empirical run. Individual datasets can still yield boundary or degenerate estimates even when the average simulation behavior is acceptable.
  • Omitting the simulation code, random seed, and chosen performance measures from the report. Morris, White, and Crowther (2019) found that simulation studies are often poorly reported, and without these details the simulation cannot be checked or reproduced.

Frequently asked questions

How is this different from a simulation study on its own?

A standalone simulation study uses synthetic data to evaluate the behavior of a statistical method under controlled conditions and is itself the research product. Simulation-assisted confirmatory research uses simulation as a planning and benchmarking tool in service of a hypothesis test conducted on real empirical data. The simulation informs the design and provides a reference frame, but the confirmatory conclusion rests on actual data.

What software is typically used for the simulation component?

R is the most widely used environment, with packages such as simstudy, simr (for mixed models), lavaan and simsem (for SEM), and the general-purpose furrr or future for parallelization. Python with NumPy and SciPy is also common. Specialist tools such as G*Power handle some scenarios analytically, but for complex designs custom Monte Carlo scripts are generally required.

How many simulation iterations are enough?

The number of iterations should follow from the precision needed. A simulated power (or Type I error) estimate is a proportion, p̂ = (number of significant results)/R, whose Monte Carlo standard error is SE = sqrt(p̂(1 − p̂)/R). Choose R so that this SE falls below a tolerance you state in advance, and report both the tolerance and the resulting SE. Because the SE shrinks with the square root of R, halving it requires about four times as many iterations. In practice 1,000 iterations is a common starting point, not a sufficient rule on its own, while 5,000–10,000 are preferred when Type I error rates or model convergence rates must be characterized precisely.

Does running a simulation before the study count as pre-registration?

Running a simulation is not itself pre-registration, but it produces the quantitative evidence that makes a pre-registration meaningful. The pre-registration document should include the simulation code, the assumed parameter values and their justification, the resulting power estimate, and the exact analysis pipeline to be applied to the empirical data. Uploading all of these to a registry (OSF, AsPredicted) before data collection is what constitutes pre-registration.

What if my empirical results deviate substantially from simulation expectations?

Deviation is informative, not a failure. It should prompt investigation of whether the real population differed from the assumed model (e.g., lower true effect size, greater variance), whether there were data-collection issues, or whether the analysis encountered numerical problems that the simulation flagged as possible. Such deviations should be reported transparently — they add scientific value by revealing the limits of the assumed model.

Related methods

Sources

  1. Morey, R. D., Chambers, C. D., Aitken, M. R. F., Harris, C. R., Hoekstra, R., Lakens, D., Lewandowsky, S., Morey, C. C., Newman, D. P., Schonbrodt, F. D., Vanpaemel, W., Wagenmakers, E. J., & Zwaan, R. A. (2022). The Peer Reviewers' Openness Initiative: Incentivising open research practices through peer review. Royal Society Open Science, 3(1), 150547.

    Open publication reference
  2. Morris, T. P., White, I. R., & Crowther, M. J. (2019). Using simulation studies to evaluate statistical methods. Statistics in Medicine, 38(11), 2074–2102.

    Open DOI reference