Morris et al 2019 - Estimates Data Checks, n_sim Choice and Analysis Remarks

Summary

The analysis side of Morris, White & Crowther (2019, §5 minus the performance-measure table). §5.1: the first performance measure is the number of missing estimates (non-convergence), which are unlikely to be missing completely at random; then plot the estimates before summarising (five plot types, including the zip plot). §5.3: choose by inverting the Monte Carlo SE formula — Eq. 1 , giving 1,900 repetitions for 95% coverage known to ±0.5 pp and 10,000 in the worst case; for bias, (1,600 in the worked example). §5.4: truth replaces a control arm; benchmarks are nominal coverage and the Cramér-Rao bound; unknown can be estimated from one huge simulated dataset on a separate RNG stream; and many DGMs call for a meta-model of performance with common seeds across DGMs.

Overview

§5 opens: “We advocate two preliminaries: checking for missing estimates and plots of the estimates data” (p.13). Only then are performance measures computed (Morris et al 2019 - Performance Measures and Monte Carlo Standard Errors). Sample size for the simulation itself, , is the step the review found almost nobody justified: 4 of 87 (Morris et al 2019 - Motivation and Review of Simulation Practice).

Main Content

§5.1 Checking the estimates data (pp.13-14)

Missing estimates as the first performance measure (§5.1, p.13)

“The number of missing values, e.g. of and (for example due to non-convergence), is the first performance measure to assess.”

  • Explore repetitions that failed (re-run from the stored RNG state) and make code more robust.
  • Missingness creates a missing-data problem for every other measure. “It seems implausible that values would be missing completely at random”; failures depend on characteristics of the simulated dataset.
  • Evaluating an analyst’s procedure (switch model on non-convergence) reduces missingness but “changes the nature of the method being evaluated” (pure vs procedural method).
  • With several methods, if one always returns , another’s missingness may relate to the first’s values.
  • With a non-trivial proportion missing, further analysis “should be tentative, particularly when comparing methods with different numbers of missing.” Non-trivial = “any proportion that could meaningfully alter estimated performance. If we are interested in detecting tiny biases, even 1% may be non-trivial.”

Unbiased but never close to the truth (§5.1, p.13; Kahan 2013)

A two-stage procedure for factorial trials was unbiased both conditionally and unconditionally, yet the histogram of was bimodal, with modes equally spaced either side of and almost no near . This “would have been missed had the analysis proceeded straight to the estimation of performance.”

Exploratory plots for estimand-targeting studies (§5.1, p.13)

For each DGM, estimand and method:

  1. Univariate plot of and — inspect the distribution, look for outliers.
  2. Bivariate plot of vs — find bivariate outliers.
  3. Method-vs-method scatter of (and possibly ) — look for correlation and systematic differences; with more than two methods, every pair or each vs a comparator.
  4. Limits-of-agreement (difference vs mean) for (and possibly SE) against a reference method.
  5. Zip plot: confidence intervals fractionally ranked by , — for understanding coverage.

All five are demonstrated in §7 (Figures 3-5): Morris et al 2019 - Worked Example Exponential vs Weibull vs Cox; the zip plot is defined in the reporting note.

§5.3 Sample size for simulation studies (pp.17-18)

“In choosing , the central issue is Monte Carlo error: key performance measures need to be estimated to an acceptable degree of precision” (p.17). Common choices are 500 and 1,000 (also reported by Burton et al. 2006).

How the reviewed studies justified (p.17). Four reviewed studies did not report ; of the 87 that did (the paper does not reconcile 4 + 87 with its sample of 100), only four gave any justification: “To evaluate the asymptotic biases” [52]; “errors can be reduced by the large number of simulation replicates” [53]; computing time, plus a reviewer’s point that with 10,000 meta-analyses the SE of an estimated percentage is guaranteed to be below 0.5 [26]; and, “most positively”, Marozzi’s explicit derivation of the Monte Carlo SE [54]. “Clearly this is a sub-optimal state of affairs.”

Better models of justification (p.17). The paper points to three worked justifications: the worked illustrative example in §7 (the bias-based calculation, see Morris et al 2019 - Worked Example Exponential vs Weibull vs Cox); Keogh & Morris (2018) [55], multiple imputation in Cox regression with time-varying covariate effects; and Morris, Fisher, Kenward & Carpenter (2017) [56], two-stage vs one-stage meta-analysis of Gaussian individual patient data.

One repetition can be enough (p.17): when demonstrating large-sample bias — in White (1997) the single “was many model standard errors from its true value.”

Eq. (1): for a target Monte Carlo SE of coverage (§5.3, p.18)

Plug the expected coverage into the coverage MCSE and rearrange:

“with a similar expression if is to be determined based on power.”

  • Expected coverage 95%, required MCSE 0.5%: repetitions.
  • Worst case is coverage 50% (a binary summary has maximal variance at ): keeps the MCSE below 0.5%.

for a target Monte Carlo SE of bias (§7.1, p.21)

Use a conservative from a small pilot run. Worked example: ; required MCSE(Bias) ; so . Then check the implied MCSE for other measures: at 95% coverage pp, and 1.25 pp at the worst case of 50% coverage. The plan is revised “if, for example, .”

Choosing (synthesis of §5.3 and §7.1)

  1. Name the key performance measure (from the Aims).
  2. Choose the required MCSE — the smallest difference in that measure that would matter, divided by ~2.
  3. Get a conservative guess for the variance term: from a pilot (for bias), or the expected/worst-case proportion (coverage, power, type I error).
  4. Solve .
  5. Compute the resulting MCSE for every other reported measure; accept or enlarge.
  6. After running, recompute MCSEs from the actual results; continue from the stored final RNG state if precision is insufficient.

Increasing is cheap (p.18). “A convenient feature of simulation studies is that the Monte Carlo SE can be assessed and increased much more cheaply than with other empirical studies. The cost is computational time.” To continue rather than restart, record the end state of the RNG (use it as the seed for further repetitions) or use a different stream (Morris et al 2019 - Coding Simulations with Seeds, RNG States and Streams).

§5.4 Remarks on analysis (pp.18-19)

Comparators and benchmarks instead of controls (§5.4, p.18)

In biomedical experiments, effects are estimated as contrasts against a control. Simulation studies have a known truth, so “the contrast vs. a control is not often of interest” (hence the term comparator). Bias for method A is computed against , not as a difference from a control method’s . Benchmarks exist for other measures too:

  • Coverage: the nominal %.
  • Precision: the Cramér-Rao lower bound.

Estimating an unknown true by simulation (§5.4, p.18)

When does not appear in the DGM — e.g. data generated from a conditional logistic model but the estimands are the marginal odds ratio, risk ratio and risk difference (Williamson, Forbes & White 2014):

  1. Simulate one very large dataset from the DGM, so large “that it is fair to assume that the variance of '' is negligible, particularly compared to that of .”
  2. Compute from it.
  3. Ensure its RNG states do not overlap with the main study’s: use a separate stream, or run the -estimation immediately before the main run.

Review: of 74 studies with some , 9 estimated it, 57 used a known , 8 were unclear. “Estimating is in our view a sensible and pragmatic approach.”

This is how a marketing simulator obtains “true” ROAS or incremental contribution when the DGM is specified in terms of latent response curves rather than the reported estimand (Zhang Vaver 2017 - Aggregate Marketing System Simulator - Overview).

Meta-models of performance and matched repetitions (§5.4, p.18)

§5.2 estimates performance once per DGM, which suits few DGMs. For complex studies, “it is natural to fit a model (termed ‘meta-model’ by Skrondal) for performance in terms of the data-generating mechanisms.” An advantage: repetitions can be matched across DGMs, reducing the MCSE of comparisons. E.g. two DGMs with and can use the same starting seed so results are correlated within . (This is why §4.1.1 says reusing seeds across DGMs “may in fact be advantageous.“)

Examples

for a power-style question in marketing-model validation

A team wants the rate at which a driver-ranking pipeline puts a zero-effect channel in its top 3 (a false-discovery rate), expected near 10%, known to ±1 pp. Eq. (1) in power form: per DGM; worst case 2,500. If each repetition refits a model on 104 weekly rows in a few seconds, 900 × 18 DGMs is an overnight run — no excuse for . Illustrative, not from the paper.

Checking an estimates dataset before summarising

If a Bayesian MMM fails to converge (divergences, ) in 6% of repetitions, and failures concentrate in DGMs with highly correlated spend, then the bias on the remaining 94% describes the method only when it happens to work — the “pure” evaluation of §3.4. Report the failure rate by DGM as the first performance measure, and decide in the protocol whether the method includes a fallback (stronger priors, reparameterisation). Illustrative.

From "one fake dataset" to a planned

The Bayesian-workflow advice in Designing Simulated-Data Experiments starts with one simulated dataset (“a few simple checks are just about always worthwhile”) and escalates to SBC when subtle problems are suspected. Eq. (1) tells you how far a single run is from a measurement. With one repetition there is no usable coverage estimate (it is 0% or 100%), and a single hit or miss of a 95% interval cannot distinguish 95% from 80% coverage. To tell 95% from 90% at roughly 2 MCSE you need MCSE ≈ 2.5 pp, so . For bias, the bias-based form means a single run detects a bias only if it is several empirical SEs large (“catastrophic failure of parameter recovery”). Smaller biases need the planned . The same arithmetic sizes an SBC run: its rank histogram is a set of coverage checks, each with binomial Monte Carlo error (The SBC Algorithm). Worked arithmetic by the note author; the 76 figure is not in the paper.

Connections

See Also