Bayesian Microsimulation — Probabilistic individual-level simulation with Bayesian parameter estimation

Simulation
Introduced by
Williamson, P.; Birkin, M.; Rees, P. H. and related health-economics researchers
Year
1990s–2000s
Type
Individual-level probabilistic simulation with Bayesian updating
Family
Simulation / optimization

What does it do?

Bayesian Microsimulation combines individual-level simulation of heterogeneous populations with Bayesian inference.

Each synthetic individual follows a probabilistic life path, while the model parameters are treated as uncertain quantities with prior distributions that are updated using observed data. The approach is used in health technology assessment, public policy costing and demographic projection, where uncertainty in model inputs must be quantified and carried through to the outputs.

The intuition behind the method

Standard microsimulation usually assigns fixed parameter values to the individuals of a synthetic population. Bayesian Microsimulation instead treats the parameters as random variables with probability distributions. Prior knowledge, such as published estimates or expert opinion, is encoded as prior distributions, and Bayes' theorem updates them into posterior distributions once observed data are included. The simulation is then run for parameter sets drawn from the posterior, and the resulting outcomes are collected into a distribution. The output is therefore a distribution over aggregate quantities rather than a single estimate, which makes the uncertainty explicit.

History

Microsimulation is commonly traced to Guy Orcutt's work in the late 1950s on economic policy analysis. Bayesian extensions emerged in the 1990s and 2000s as Markov chain Monte Carlo methods became computationally feasible, and health economists, demographers and policy analysts later combined them with individual-level simulation. No single originator of the combined approach is established by the sources available.

When to use it

Choose Bayesian Microsimulation when the question requires both individual-level heterogeneity and a full account of parameter uncertainty, for example a distributional analysis of a tax-benefit reform, or a cost-effectiveness analysis in which subgroups or joint event histories matter. It suits settings where prior evidence from existing studies should be formally combined with new data, and where probabilistic results are needed for a decision submission. Do not use it when a homogeneous cohort or aggregate model answers the question, when computing resources are too limited for repeated posterior sampling combined with large simulations, when neither aggregate statistics nor microdata are available to build a synthetic population, or when the parameters are known with little uncertainty.

Limitations and considerations

  • Computationally demanding: each posterior draw requires a full individual-level simulation, and MCMC adds further runs, so total run time can be long.
  • Results depend on the prior distributions, particularly when the observed data are sparse.
  • The quality of the synthetic population depends on how compatible the aggregate statistics and microdata are; a misspecified population biases every downstream estimate.
  • Structural assumptions about individual behaviour and independence between transitions are difficult to test against data.
  • Credible intervals and probabilistic outputs are hard to communicate to non-specialist audiences.

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

Strengths

  • Propagates parameter uncertainty through the individual-level dynamics to the aggregate outputs, so the reported intervals reflect the specified priors, likelihood and model structure rather than ad hoc ranges.
  • Combines heterogeneous prior evidence, such as trial results, observational studies and expert opinion, through Bayesian updating rather than fixed point estimates.
  • Retains individual-level heterogeneity that cohort or aggregate models average away, allowing outcomes to be reported for subgroups.
  • Posterior output can be used directly in value-of-information analysis, which indicates where additional data would most reduce decision uncertainty.
  • Non-standard likelihoods and complex event histories can be handled by sampling where closed-form posteriors are unavailable.

Applications

  • Cost-effectiveness and cost-utility analysis of pharmaceutical interventions in health technology assessment bodies such as NICE.
  • Distributional analysis of tax-benefit reforms — estimating how income redistribution affects poverty rates across household subgroups.
  • Long-run demographic projection incorporating uncertainty in fertility, mortality, and migration rates.
  • Epidemic modelling: simulating individual infection pathways while propagating uncertainty in transmission parameters estimated from surveillance data.
  • Pension and social insurance policy evaluation, projecting individual retirement trajectories under alternative reform scenarios.
  • Environmental and climate policy costing, modelling heterogeneous household responses to carbon pricing under uncertain behavioural parameters.

How it works

How it works

1

Prior distributions are specified for every uncertain parameter, for example transition probabilities, hazard rates, cost coefficients and utility weights. Priors may be informative, based on published evidence or expert elicitation, or weakly informative. Structural assumptions, such as heterogeneity between individuals and independence of their event histories, must be stated explicitly because the data used in the update do not establish them. In particular, the likelihood is usually taken to factorise across individuals conditional on the parameters, so that the individual contributions can be multiplied. Each such assumption should be justified and reported, since it determines whether the posterior is a valid summary of the data.

2

A synthetic population is constructed or sampled so that the joint distribution of attributes such as age, sex, income and health status matches the available aggregate statistics or microdata. Common approaches include iterative proportional fitting, combinatorial optimisation, and direct resampling from anonymised records. Williamson and colleagues treat the reconstruction of population microdata from small-area tabulations and anonymised records as a combinatorial optimisation problem.

3

The likelihood of the observed data under the model is computed. Bayes' theorem then updates the priors into posterior distributions, so that the posterior is proportional to the likelihood multiplied by the prior. When the likelihood cannot be evaluated analytically, the posterior is usually approximated with Markov chain Monte Carlo (MCMC) or, alternatively, approximate Bayesian computation (ABC). Convergence of the sampler must be checked before the posterior draws are used. Standard checks include trace plots for each chain, the potential scale reduction factor (R-hat), which should be close to 1 across independent chains, and the effective sample size of each parameter, which should be large enough for stable posterior summaries. Divergences or poor mixing should be resolved rather than ignored, and the diagnostics should be reported alongside the results.

4

For each posterior draw, every individual in the synthetic population is simulated over the study horizon, with discrete events or continuous-time transitions such as disease onset, treatment, death or job loss. Each event probability depends on the individual's characteristics and the sampled parameter values.

5

Individual outcomes are summed or averaged across the population for each draw, giving a sample from the posterior predictive distribution of the target quantity, such as total cost, life-years gained or poverty headcount. This sample is summarised with posterior means, credible intervals, and the probability that the outcome exceeds a policy-relevant threshold. Because each draw is itself a stochastic simulation, the Monte Carlo error of these summaries must also be checked. Re-running the analysis with a different random seed, or with more posterior draws or simulated replications per draw, should leave the posterior means and interval limits essentially unchanged. Simulation noise should be small relative to the posterior width being reported.

Common pitfalls

  • Using vague priors without checking whether the posterior is still dominated by the prior. When data are sparse, the posterior can remain prior-driven, and conclusions drawn from it can be misleading.
  • Confusing parameter uncertainty, captured by the posterior, with between-individual variability, captured by the microsimulation draws. The two sources must be tracked separately to avoid double-counting or understating uncertainty.
  • Treating the synthetic population as a faithful copy of the real one. Errors introduced by the synthesis step carry through to all later results.
  • Skipping MCMC convergence diagnostics. Poorly mixed chains give posterior draws that misrepresent the posterior, which invalidates the uncertainty estimates built on them.
  • Using too few simulation replications per posterior draw, so that simulation noise is comparable to the posterior uncertainty being reported.

Frequently asked questions

How is Bayesian Microsimulation different from standard probabilistic sensitivity analysis in decision modelling?

Standard PSA samples parameters independently from pre-specified distributions and runs a cohort or Markov model — it does not track individuals. Bayesian Microsimulation uses posterior distributions derived from real data via Bayes' theorem and simulates individual life paths, capturing both parameter uncertainty and individual-level heterogeneity simultaneously.

Do I need individual-level (microdata) observations to use this method?

Not necessarily. Population synthesis techniques can reconstruct a synthetic individual-level population from aggregate tabulations (e.g., census cross-tabulations) combined with a small sample of anonymised records. However, the quality of downstream inferences depends heavily on how well the synthetic population matches the true distribution.

What software is commonly used for Bayesian Microsimulation?

MCMC-based posterior sampling is commonly implemented in Stan, JAGS, or PyMC. The microsimulation engine is often custom code written in R, Python, or C++, and the choice of tools should be checked against the requirements of the model.

How many individuals and how many posterior draws are needed for stable results?

There is no fixed rule. The number of posterior draws and the size of the synthetic population should be chosen so that simulation noise is small relative to posterior uncertainty. This can be checked by repeating the analysis with a different random seed or a larger sample and seeing whether the summaries change materially.

When should I prefer a Bayesian cohort model over Bayesian Microsimulation?

Prefer a cohort model when the population is sufficiently homogeneous that individual-level heterogeneity does not materially affect the target quantity, when computational resources are limited, or when the primary goal is a mean outcome estimate rather than a distributional analysis. Microsimulation adds value mainly when subgroup effects, joint event histories, or individual-level interactions are important.

Related methods

Sources

  1. Williamson, P., Birkin, M., & Rees, P. H. (2000). The estimation of population microdata by using data from small area statistics and samples of anonymised records. Environment and Planning A, 30(5), 785-816.

    Open DOI reference
  2. Spiegelhalter, D. J., Abrams, K. R., & Myles, J. P. (2004). Bayesian Approaches to Clinical Trials and Health-Care Evaluation. John Wiley & Sons.

    ISBN: 9780471499756