# How to check a simulation study

**Authors:** Ian R White, Tra My Pham, Matteo Quartagno, Tim P Morris

PMC · DOI: 10.1093/ije/dyad134 · International Journal of Epidemiology · 2023-10-13

## TL;DR

This paper provides practical advice for designing and checking simulation studies in epidemiology and biostatistics to avoid errors and improve results.

## Contribution

The paper introduces systematic strategies for checking simulation studies, including using known settings and scatterplots for error detection.

## Key findings

- Including known settings in simulation studies helps verify correctness.
- Scatterplots of standard error estimates against point estimates are effective for identifying issues.
- Failed estimation and outliers can be addressed by adjusting data-generating mechanisms.

## Abstract

Simulation studies are powerful tools in epidemiology and biostatistics, but they can be hard to conduct successfully. Sometimes unexpected results are obtained. We offer advice on how to check a simulation study when this occurs, and how to design and conduct the study to give results that are easier to check. Simulation studies should be designed to include some settings in which answers are already known. They should be coded in stages, with data-generating mechanisms checked before simulated data are analysed. Results should be explored carefully, with scatterplots of standard error estimates against point estimates surprisingly powerful tools. Failed estimation and outlying estimates should be identified and dealt with by changing data-generating mechanisms or coding realistic hybrid analysis procedures. Finally, we give a series of ideas that have been useful to us in the past for checking unexpected results. Following our advice may help to prevent errors and to improve the quality of published simulation studies.

## Full-text entities

- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC10859132/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC10859132/full.md

## References

8 references — full list in the complete paper: https://tomesphere.com/paper/PMC10859132/full.md

---
Source: https://tomesphere.com/paper/PMC10859132