Author-reviewedEvidence: highv1.0.1

Monte Carlo Error

Monte Carlo error is the random numerical difference between a finite-simulation estimate and the target quantity it would approach with sufficiently many valid draws under the specified model.

Last reviewed byDr Darrin Baines

Concept Architecture

Monte Carlo Error: Concept Architecture

Orientation and learning roadmap

This page separates the random variation caused by finite simulation runs from uncertainty about the health-economic model itself. It develops a simple standard-error calculation, uses a probability-of-cost-effectiveness example, and explains how to check precision in probabilistic and patient-level simulations.

Where the error comes from

A Monte Carlo estimate averages or counts outcomes generated from random draws rather than evaluating every possible draw. Repeating the computation with a different random seed can produce a slightly different numerical answer even when the model, parameter distributions, and data are held fixed.

That between-run fluctuation is numerical sampling error, not evidence that a parameter is intrinsically uncertain or that the model's structural assumptions are correct. With independent draws and a finite variance, the Monte Carlo standard error (MCSE) of a sample mean decreases approximately as the inverse square root of the number of runs. More draws improve numerical precision but cannot remove bias from a wrong model, inappropriate parameter distribution, or flawed code.

Estimating precision for a sample mean

Let g1,…,gNg_1,\ldots,g_N be independent outputs of a single simulation experiment and g‾=N−1∑r=1Ngr\overline g=N^{-1}\sum_{r=1}^{N}g_r its average. If sgs_g is the sample standard deviation across those outputs, an estimated Monte Carlo standard error is sg/Ns_g/\sqrt N under independent sampling.

MCSE⁡^(g‾)=sgN.\widehat{\operatorname{MCSE}}(\overline g) =\frac{s_g}{\sqrt N}.

This standard error quantifies the numerical uncertainty in g‾\overline g as an approximation to the expectation under the chosen simulation distribution. It is distinct from the spread sgs_g across possible outcomes, which can remain large as NN grows. Increasing NN fourfold approximately halves MCSE when independent sampling and stable variance conditions apply.

Worked example: probability of cost effectiveness

Suppose a probabilistic sensitivity analysis draws parameters independently 1,000 times and finds positive incremental net monetary benefit in 600 runs at a stated willingness-to-pay threshold. Treat each run's cost-effectiveness indicator as a Bernoulli outcome for this illustrative calculation.

The simulated probability is p^=600/1000=0.60\widehat p=600/1000=0.60, with approximate MCSE

MCSE⁡^(p^)=p^(1−p^)N=0.60(0.40)1000≈0.0155.\widehat{\operatorname{MCSE}}(\widehat p) =\sqrt{\frac{\widehat p(1-\widehat p)}{N}} =\sqrt{\frac{0.60(0.40)}{1000}} \approx0.0155.

An approximate interval expressing only simulation precision is 0.60±1.96(0.0155)0.60\pm1.96(0.0155), or about 0.5700.570 to 0.6300.630. If the same simulation design used 10,000 independent draws and the underlying probability remained near 0.60, its expected MCSE would be about 0.00490.0049; the actual estimate and standard error must be recalculated from those new draws. Neither interval represents the range of clinical effects or the uncertainty caused by uncertain evidence and assumptions.

Checks for economic-model outputs

The required number of draws depends on the output and precision needed for the decision. A cost-effectiveness probability near a decision threshold, an expected value of information result, and an incremental net-benefit mean can have different simulation-error tolerances.

OutputNumerical checkWhy it matters
Mean cost, QALYs, or net benefitReport MCSE in the output's units and check stability across more runs.A small apparent strategy difference should not be dominated by simulation noise.
Probability of cost effectivenessEstimate binomial MCSE when indicators are independently sampled.A reported change of one percentage point can be numerical noise at small NN.
Incremental comparisonGenerate correlated outcomes across strategies using common random numbers where appropriate and calculate MCSE from paired differences.Paired simulation may reduce numerical noise compared with independent strategy runs.

The denominator in an MCSE calculation must be the number of effectively independent draws relevant to the reported statistic, not merely the number of lines of model output. For patient-level simulation nested inside parameter draws, report or assess the inner patient-history noise separately from the outer parameter-sampling error. Re-running with larger samples and inspecting stability is useful, but a predeclared tolerance on the decision-relevant output is clearer than a universal draw count.

Dependence and variance reduction

The formula sg/Ns_g/\sqrt N does not apply unchanged to serially correlated Markov chain Monte Carlo (MCMC) draws. In that setting, autocorrelation lowers effective information, and a suitable spectral, batch-means, or effective-sample-size-based MCSE should be used after checking chain behaviour and the estimator's assumptions.

Common random numbers, antithetic variables, or other variance-reduction methods can change the variance of a comparison without changing the underlying target expectation when applied correctly. Their precision should be measured for the actual paired or transformed statistic, rather than inferred from the variability of individual strategy outputs. A fixed seed improves reproducibility but does not make numerical error zero.

Interpreting a stable result

Results should state the estimand, algorithm, seed policy, number of draws, MCSE or equivalent precision diagnostic, and any dependence among draws. Reporting too many decimal places can suggest evidence precision that the simulation and input data do not support.

In health technology assessment, adequate numerical precision helps distinguish a real change in the model's expected output from variation between simulation runs. Even a negligible MCSE leaves parameter uncertainty, structural uncertainty, sampling error in source studies, and possible bias from implementation choices. Cost-effectiveness decisions should keep these uncertainty sources conceptually separate.

Source basis and further learning

The linked guidance motivates enough simulation runs for stable health-economic conclusions, while the statistical methods paper addresses MCSE when draws are dependent. The formulas above are for clearly specified estimands and sampling designs, so the precision calculation must match the implementation.

Library

Publications

1
  • Journal article

    Parameter Estimation and Uncertainty: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-6 — Briggs, Weinstein, Fenwick, Karnon, Sculpher & Paltiel, Task Force Report 6 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on parameter estimation and the characterisation of uncertainty in decision models, covering probabilistic sensitivity analysis, distributional choices, and correlation between parameters.

Frequently Asked Questions (6)

  • What is Monte Carlo error?

    The statistical imprecision in a simulation estimate from using a finite number of iterations, distinct from the underlying parameter uncertainty being characterised.

    Source: Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation. Oxford University Press; 2006. doi:10.1093/oso/9780198526629.001.0001.

  • Why does Monte Carlo error shrink as more iterations are run?

    Monte Carlo error is the imprecision in a simulation's estimate that comes from using a finite number of random draws rather than infinitely many. Because it is sampling noise, averaging over more iterations steadies the estimate, and the error falls in proportion to the square root of the number of runs, so quadrupling the iterations roughly halves it. Unlike parameter uncertainty, which reflects real gaps in knowledge, Monte Carlo error is an artefact of the computation that enough runs can shrink as small as wanted. It is reducible by effort alone. Briggs and colleagues (2006) describe it.

    Source: Briggs et al. 2006

  • How is Monte Carlo error reduced?

    Monte Carlo error is reduced by running more iterations, since it decreases roughly with the square root of the number of iterations, so quadrupling the iterations roughly halves the error. Variance reduction techniques, such as common random numbers or Latin hypercube sampling, can also reduce it for a given number of runs. The number of iterations is chosen so that the Monte Carlo error is small relative to the quantities of interest, judged by whether the estimates stabilise as iterations increase.

    Source: Briggs, Claxton & Sculpher 2006

  • How does Monte Carlo error differ from parameter uncertainty?

    Monte Carlo error is the imprecision from using a finite number of simulation runs and can be made arbitrarily small by running more, whereas parameter uncertainty is the genuine uncertainty about the true values of the model's inputs, reflecting limited evidence, and does not shrink with more simulation runs. The simulation aims to characterise parameter uncertainty, and Monte Carlo error is the noise added by finite sampling in doing so. The two must be distinguished, since only Monte Carlo error is reduced by increasing iterations.

    Source: Briggs, Claxton & Sculpher 2006

  • Why does Monte Carlo error matter?

    Monte Carlo error matters because if too few iterations are run, the estimates of quantities such as mean costs, mean effects, or the probability of cost-effectiveness carry noticeable random imprecision, which could affect conclusions or make results hard to reproduce. Ensuring Monte Carlo error is small relative to the quantities of interest gives confidence that reported results reflect the model and its parameter uncertainty rather than sampling noise. Checking and controlling Monte Carlo error is therefore part of conducting a reliable probabilistic analysis.

    Source: Briggs, Claxton & Sculpher 2006

  • How is Monte Carlo error assessed?

    Monte Carlo error is assessed by examining whether the estimated quantities stabilise as the number of iterations increases, for instance by tracking running estimates and seeing whether they still move, and by estimating the standard error of key outputs, which reflects the imprecision from finite sampling. Repeating the simulation with different random seeds and comparing results also indicates the error. If the estimates still vary materially, more iterations are run until the Monte Carlo error is small relative to the quantities being reported.

    Source: Briggs, Claxton & Sculpher 2006

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 20 Oct 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-EM-UA-037

Stable URI · Machine-readable · Resolvable · CC BY 4.0