Morris et al 2019 - Motivation and Review of Simulation Practice

Summary

Why Morris, White & Crowther wrote the tutorial, and the evidence behind it. §1 defines a simulation study, separates it from other Monte Carlo uses (MCMC, multiple imputation), and lists five uses. §2 and Appendix A describe a review of 100 randomly sampled simulation studies from Statistics in Medicine Volume 34 (2015). The headline findings are scattered through the paper: 93 of 100 did not mention Monte Carlo SEs, only 4 of 87 that reported justified it, and only 7 presented Monte Carlo SEs at all. This note collects every review number in one place, including Table 4 (performance measures used) and the appendix figures.

Overview

The authors’ diagnosis (§1, p.1) is that some statisticians “lack the necessary understanding to execute a simulation study with confidence, while others are over-confident and so fail to think carefully about design and report results poorly.” Their core reframing: “Simulation studies are empirical experiments and statisticians should therefore use knowledge of experimental design and analysis in running them” (§1, p.1). Everything else in the tutorial — ADEMP planning, Monte Carlo SEs, reporting — follows from treating a simulation as an experiment whose outputs are estimates.

Main Content

Definition and scope (§1, pp.1-2)

Simulation study (§1, p.1)

“Simulation studies are computer experiments that involve creating data by pseudo-random sampling from known probability distributions.”

The key strength (Abstract, p.1): some “truth” — usually a parameter of interest — “is known from the process of generating the data,” which lets us study properties such as bias.

Simulation vs analytic results (p.2). Simulation gives empirical results for specific scenarios, as opposed to analytic (algebraic) results that may cover many scenarios. Analytic results may be impossible or hard to get, and “may apply only when data arise from a specific model.” The quotable line: “Simulation studies come into their own when methods make wrong assumptions or data are messy because they can assess the resilience of methods in such situations” (p.2).

What is not a simulation study (p.2). “Monte Carlo simulation” covers any technique using pseudo-random sampling — e.g. what is needed to implement multiple imputation (Missing Data Models) or MCMC (Effective Sample Size and Monte Carlo Standard Error). These are out of scope “unless the properties of some such method are being evaluated by a simulation study.”

Five uses of simulation studies in medical statistics (§1, p.2)

  1. Check algebra (and code) — reassurance that no large error has been made when a new method was derived mathematically.
  2. Check large-sample approximations in finite samples (e.g. the sampling distribution of an estimator).
  3. Absolute evaluation of a new or existing method — often checking it works in the scenarios it was designed for.
  4. Comparative evaluation of two or more methods.
  5. Sample size / power calculation when designing a study under assumptions — cited example: Feiveson (2002) [1], “Power by simulation”, Stata Journal (cf. Power Analysis and Sample Size).

The tutorial focuses on evaluation (uses 3-4). Such studies are “typically motivated by frequentist theory and used to evaluate the frequentist properties of methods, even if the methods are Bayesian” (p.2). The citations for evaluating frequentist properties of Bayesian methods are Rubin (1984) [2], on “Bayesianly justifiable and relevant frequency calculations”, and Grieve (2016) [3], on being a “well-calibrated” Bayesian in clinical drug development.

A long-standing complaint (p.2). Poor practice has been “lamented previously” by Hoaglin & Andrews (1975), Hauck & Anderson (1984), Ripley (1987), Burton et al. (2006) and Koehler, Brown & Haneuse (2009). The sharpest point: few reports acknowledge that Monte Carlo procedures give different results with different random numbers, “yet failing to report measures of uncertainty would be unacceptable in medical research” (p.2).

Background literature the tutorial builds on (§1, p.2)

The paper says there exist “some wonderful books on simulation methods in general” and “several excellent articles encouraging rigour in specific aspects of simulation studies”, “but, until now, no unified practical guidance on simulation studies” (p.2). Full bibliographic details are in Morris et al 2019 - Full Reference List and Further Reading.

Role in §1RefWorkWhat it covers
General book[6]Ripley (1987), Stochastic Simulation, WileyGenerating random variates; also cited in §3.2 for simulating specific distributions
General book[9]Morgan (1995), Elements of Simulation, Chapman & Hall/CRCSame role as Ripley in §3.2
General book[10]Chang (2011), Monte Carlo Simulation for the Pharmaceutical Industry, CRCConcepts, algorithms and case studies
Rigour article[1]Feiveson (2002), “Power by simulation”, Stata Journal 2(2):107-124Simulation for power/sample size
Rigour article (also lament)[4]Hoaglin & Andrews (1975), Am Stat 29(3):122-126Reporting of computation-based results
Rigour article (also lament)[5]Hauck & Anderson (1984), Am Stat 38(3):214-216Survey of how simulation studies are reported
Rigour article (also lament)[8]Koehler, Brown & Haneuse (2009), Am Stat 63:155-162Assessing Monte Carlo error
Rigour article[11]Díaz-Emparanza (2002), “Is a small Monte Carlo analysis a good analysis?”, Statistical Papers 43(4):567-577Choosing the number of repetitions
Rigour article[12]White (2010), “simsum: Analyses of simulation studies including Monte Carlo error”, Stata Journal 10(3):369-385Software for performance measures and MCSEs (used for Table 8)
Rigour article[13]Smith & Marshall (2011), “Importance of protocols for simulation studies in clinical drug development”, SMMR 20(6):613-622Protocols (cf. Morris et al 2019 - Protocols, Code Release, Consortia and Limits)
Rigour article[14]Crowther & Lambert (2013), “Simulating biologically plausible complex survival data”, Stat Med 32(23):4118-4134Data generation for survival outcomes
Rigour article[15]Holford, Hale, Ko et al. (1999), Simulation in drug development: good practicesGood-practice guidance
Rigour article[16]O’Kelly, Anisimov, Campbell & Hamilton (2017), “Proposed best practice for projects that involve modelling and simulation”, Pharmaceutical Statistics 16(2):107-113Best practice for modelling-and-simulation projects

The lament list (Hoaglin & Andrews; Hauck & Anderson; Ripley; Burton et al. 2006 [7], Stat Med 25(24):4279-4292; Koehler et al.) overlaps with both groups. Burton et al. 2006 is the closest predecessor: a design guide for simulation studies in medical statistics.

What the tutorial provides (p.2; Abstract). (i) the ADEMP structured approach for planning and reporting; (ii) coherent terminology; (iii) coding guidance; (iv) critical discussion of performance measures and their estimation; (v) guidance on tabular and graphical presentation; (vi) new graphics (zip plot, lollipop plot); plus the review. The paper’s own roadmap: §2 review, §3 ADEMP, §4 coding, §5 analysis and Monte Carlo SE, §6 reporting, §7 worked example, §8 conclusions with §8.1 future directions. Examples come from the authors’ fields: survival data, missing data, meta-analysis and randomised trial design.

Table 1 — the master checklist (p.3)

Table 1: Key steps and decisions in planning, coding, analysis and reporting (p.3)

StageStep / decisionSection
PLANNING3
AimsIdentify specific aims of the simulation study.3.1
Data-generating mechanismsDecide (in relation to aims) between resampling and simulation from a parametric model.3.2
For parametric simulation, decide how simple or complex the model should be and whether it should be based on real data.3.2
Determine what factors to vary and the levels of factors.3.2
Decide whether factors are varied fully factorially, partly factorially or one-at-a-time.3.2
Estimand / targetDefine estimands and/or other targets.3.3
MethodsIdentify methods and check they are appropriate for the estimand/target; for comparisons, review the literature to include relevant methods.3.4
Performance measuresList all performance measures, justifying relevance to estimands/targets.3.5, 5.2
For less-used measures, give explicit formulae to avoid ambiguity.5.2
Choose achieving acceptable Monte Carlo SE for key measures.5.2, 5.3
CODING AND EXECUTIONSeparate scripts that analyse simulated datasets from scripts that analyse estimates datasets.4
Start small and build up code, with plenty of checks.4
Set the random number seed once per simulation (see note).4
Store the random number states at the start of each repetition.4
If running chunks in parallel, use separate streams of random numbers.4
ANALYSISExploratory analysis of results, particularly graphical.5
Compute estimates of performance and Monte Carlo SEs.5.2
REPORTINGDescribe the study using ADEMP with sufficient rationale for choices.6
Structure tables/graphs to place competing methods side-by-side.6
Include Monte Carlo SE as an estimate of simulation uncertainty.5.2
Publish code, including user-written routines.8

Note: Table 1’s text reads “Set the random number seed once per simulation repetition”, but §4.1 (p.10) says to set the seed “at the beginning, once and only once” and to store states per repetition. The §4.1 reading is the operative advice; see Morris et al 2019 - Coding Simulations with Seeds, RNG States and Streams.

The review of Statistics in Medicine Volume 34 (§2, pp.3-4; Appendix A)

Review design (§2, p.4)

  • Population. Research articles in Vol. 34 (2015), excluding tutorials, commentaries, book reviews, corrections, letters and responses: 264 research articles, of which 199 (75%) included at least one simulation study.
  • Sample size choice. Most questions were binary; to estimate proportions with maximum SE 0.05 (at , ), they randomly selected 100 articles with a simulation study — the paper applies its own logic to its review.
  • Reviewers. TPM 35, IRW 34, MJC 31; articles swapped if a reviewer was a (co-)author. TPM double-reviewed five of each other reviewer’s articles to check agreement.
  • Data. Raw data released as a Stata file in the supplementary materials.

Reviewer agreement (Appendix A, Fig. A1, p.30). Agreement measured on 14 key variables: type of DGM; DGM parameters given; total number of DGMs; number of factors varied; variation of factors; ; justification of ; number of methods; target; number of estimands; Monte Carlo errors presented; results in figure; results in table; results in text. Overall TPM agreed with the others on 132/140 answers (94%); IRW-TPM 65/70 (93%); MJC-TPM 67/70 (96%). Per-variable counts (read from Fig. A1, p.30; scale 0-5 agreements; 70 answers over 14 variables implies 5 double-coded articles per pair):

VariableIRW-TPM (W)MJC-TPM (C)
Type of data-generating mechanism55
Parameters of DGMs given55
Number of DGMs in total35
Number of factors varied45
Variation of factors45
Number of repetitions 55
Justification of 55
Number of methods55
Target of simulation study55
Number of estimands55
Monte Carlo errors presented55
Results given in figure45
Results given in table55
Results given in text52
Total65/7067/70

The column totals match the paper’s 65/70 and 67/70, which supports the reading. The lowest single agreement is MJC-TPM on “results given in text” (2/5). For IRW-TPM it is “number of DGMs in total” (3/5).

All review findings, collected

TopicFindingLocation
DGM type97 parametric models, 3 resampling§3.2 p.6
Basis of parameter values (of 97)27 based on data, 1 partly on data, 69 on no data§3.2 p.6
Parameters reported91/97 (94%) gave the parameters used§3.2 p.6
Most careful exampleDesign factors drawn from empirical data on 14,886 meta-analyses from 1,991 Cochrane Reviews (Kuss 2015)§3.2 p.6
Number of DGMs1 to (~41 billion); most used under 20§3.2 p.6; App. A p.30
Design of factor variationFully factorial most frequent; some partly factorial; none used interaction-only, predict-and-check or fractional factorial approaches§3.2 p.6
Primary target64 estimand, 21 null hypothesis, 8 selected model, 3 predictive performance, 4 other§3.3 p.7
Estimand stated51 of 64 estimand-targeting studies stated the estimand§3.3 p.7
Methods compared1 to 33 methods§3.4 p.8
Misleading names8 articles had unclear performance measures; e.g. “mean error” used for a formula that is mean absolute error§3.5 p.8
Secondary targets9 studies primarily targeting a null hypothesis secondarily targeted an estimand and could have assessed bias; 1 did§3.5 p.8
Software62 mentioned software; 7 used more than one package§4.3 p.13
Monte Carlo SE93 did not mention Monte Carlo SEs§5.2 p.14
Monte Carlo SE presentation7 presented MCSEs: 3 in text, 2 in a table, 1 in a graph, 1 in a float caption§6.2 p.19
reported4 did not report ; common values 500 and 1,000§5.3 p.17
justified4 of 87 reporting gave any justification§5.3 p.17
Estimating Of 74 studies with some : 9 estimated it, 57 used a known , 8 unclear§5.4 p.18

The four justifications (§5.3, p.17) were: “To evaluate the asymptotic biases”; “errors can be reduced by the large number of simulation replicates”; a computing-time justification to which a reviewer added that 10,000 meta-analyses guarantee an SE below 0.5 for an estimated percentage (Kuss); and, “most positively”, Marozzi’s explicit derivation of Monte Carlo SE.

Table 4: Performance measures evaluated in the Vol. 34 review — frequency (%) (p.9)

Performance measureOverallEstimand (=64)Null hypothesis (=21)Selected model (=8)Predictive performance (=3)Other (=4)
Convergence12/85 (14%)10/61 (16%)1/15 (7%)1/6 (17%)0/20/1
Bias63/80 (79%)59/64 (92%)1/9 (11%)0/22/31/2
Empirical SE31/78 (40%)31/62 (50%)0/90/20/30/2
Mean squared error26/78 (33%)22/62 (35%)2/9 (22%)0/21/31/2
Model SE22/77 (29%)21/62 (34%)1/9 (11%)0/20/30/1
Type I error31/95 (33%)8/62 (13%)18/21 (86%)4/60/31/3
Power28/95 (29%)8/63 (13%)14/20 (17%)*4/60/32/3
Coverage42/79 (53%)39/63 (62%)1/9 (11%)0/21/31/2
Conf. int. length11/80 (14%)9/63 (14%)0/100/21/31/2

Denominators change because not every measure applies to every study. *Transcribed as printed; 14/20 is 70%, so “17%” appears to be a typo in the source.

Software (Table A1, p.31). Counts exceed 100 because some articles named several packages, and “mention” was judged leniently: none mentioned 38; R 41; SAS 17; Stata 4; WinBUGS 3; C, JAGS, MATLAB, SaTScan, StatXact 1 each.

DGM summaries (Fig. A2, p.32; counts read off the dot plots, so approximate).

  • (a) Total DGMs: most studies used under 20; the most common totals were 3 (~12 studies), 4 (~10) and 12 (~8). The tail includes 9,090, 9,600 and .
  • (b) Factors varied: 0 (~5), 1 (~13), 2 (~29), 3 (~22), 4 (~15), 5-6 (~5 each), and a few with 7, 8, 9, 14 and one outlier at 324.
  • (c) How factors varied: factorial (~57) ≫ N/A (~19) > partly factorial (~12) > one-at-a-time (~8) > other (~4).
  • (d) per DGM: most common in descending order 1,000 (~41), 500 (~14), 10,000 (~10); others from 1 to 1,000,000; ~4 not stated.

Estimands and methods (Fig. A3, p.33; approximate). (a) A single estimand was most common (~31 studies), then 2-3 (~10-11 each), with a tail up to 32. (b) Four methods was the most common number (~23), then 3 (~17), 2 (~16), 1 (~13), up to 33. The authors’ reading (App. A, p.30): few methods “suggests that simulation studies provide a proof-of-concept, or that the methods are designed for new problems for which there are few alternatives available.”

Examples

Applying the review's own lens to a modelling team

A quick audit of a team’s own method-validation work can reuse the review’s 14 variables as a scorecard: Was the DGM described with parameters? How many factors, and varied how? What , and was it justified? Were Monte Carlo SEs reported? In marketing analytics, a typical we simulated it and the model recovered the effects claim (e.g. one simulated weekly dataset of 104 rows, one seed, no MCSE) would fail most items. See Morris et al 2019 - Applying ADEMP to Marketing-Model Validation.

Connections

See Also