Tutorials › Bayesian Clinical Trials › Missing Outcomes In Operating-Characteristic Simulations

Calibrating Operating Characteristics · Tutorial 211 of 696

Missing Outcomes In Operating-Characteristic Simulations

Specify and simulate missing outcomes without changing the trial’s analysis rule, then assess how the missingness assumptions affect operating characteristics.

Advanced 12 min read

What You'll Learn

  • Distinguish MCAR, MAR, and MNAR outcome-generation mechanisms.
  • Generate full trial outcomes first, then apply a prespecified missingness process.
  • Evaluate a fixed analysis and decision rule across simulated trials.
  • Calculate operating characteristics and their Monte Carlo standard errors.
  • Diagnose when complete-case results may be distorted by missingness.
  • Compare complete-case analyses with model-based and sensitivity approaches.

Why Missing Outcomes Belong in Calibration

A trial’s decision rule is applied to the data that will actually be available, not to an idealized data set in which every participant has an observed outcome. If a fixed Bayesian analysis uses only observed outcomes, missingness can reduce precision and, depending on its mechanism, can also change the apparent treatment effect. Calibration simulations should therefore represent missingness explicitly: generate each participant’s outcome under the trial scenario, generate whether that outcome is observed, and then apply the prespecified analysis to the observed data.

The key is to keep the analysis fixed while varying the data-generation conditions of interest. For each simulated trial, record whether the analysis produces the target decision, as well as quantities such as bias, interval coverage, or interval width when those are part of the calibration objective. A simulation that removes observations but does not specify how they became missing may not represent the intended trial.

Definition: Let \(Y_i\) denote participant \(i\)'s outcome, and let \(R_i=1\) if that outcome is observed and \(R_i=0\) if it is missing. A missingness mechanism specifies how \(R_i\) is generated, possibly conditional on treatment assignment, measured covariates, and the outcome. The missingness rate is the probability, or simulated proportion, for which \(R_i=0\), stated for the population or subgroup to which it applies.

Specify the Mechanism Before Simulating

Three standard categories describe how missingness relates to data. Missing completely at random (MCAR) means that observation status is independent of the outcome and the other trial variables. Missing at random (MAR) means that, conditional on observed variables included in the mechanism, observation status does not additionally depend on the unobserved outcome. Missing not at random (MNAR) means that observation status still depends on the outcome after conditioning on the observed variables. These are assumptions about the process that generated missingness, not labels that can generally be confirmed from the observed data alone.

A useful simulation represents the process in two stages. First generate the complete outcomes from the scenario’s outcome model. Then generate \(R_i\) using the chosen mechanism. For example, if \(X_i\) is a recorded baseline covariate, a MAR mechanism might use \(P(R_i=0\mid A_i,X_i,Y_i)=P(R_i=0\mid A_i,X_i)\). An MNAR mechanism could allow this probability to vary with \(Y_i\) even after conditioning on \(A_i\) and \(X_i\). Here \(A_i\) denotes assigned treatment.

Specify whether the target missingness rate is overall, within treatment arm, or conditional on a covariate or outcome. An overall rate alone does not determine the mechanism: identical overall rates can correspond to MCAR, MAR, or MNAR processes and can yield different observed data. The data-generation mechanism is known in a simulation, which makes it possible to compare the analysis with the scenario that generated the trial.

1
Set the trial scenario.
Specify allocation, outcome model and parameters, covariates if needed, the estimand, and the fixed analysis and decision rule.
2
Generate complete outcomes.
Draw each \(Y_i\) under the scenario before applying missingness. This ensures that an MNAR rule can depend on the outcome even when it will not be observed.
3
Generate observation indicators.
Draw each \(R_i\) from the prespecified mechanism, using only the variables that mechanism allows. Check that the resulting rates are as intended over many simulated trials.
4
Apply the fixed analysis.
Supply the analysis with the observed outcomes and the information it is prespecified to use. Do not silently change the model or decision threshold because a particular replicate has many missing outcomes.
5
Summarize operating characteristics.
Across replicates, estimate the target rates or performance measures and report their Monte Carlo uncertainty alongside them.

What Missingness Does to an Observed Outcome Rate

Under MCAR, the observed participants are, in expectation, representative with respect to the outcome. Missingness nevertheless reduces the number of observed outcomes and typically lowers precision. Under MAR, an observed-only analysis can also be distorted if the variables associated with missingness and outcome are not appropriately handled. Under MNAR, even conditioning on measured covariates may not remove the selection induced by the missingness process.

For a binary outcome, suppose the true event probability is \(p=P(Y=1)\), and the observation probabilities for participants with and without an event are \(r_1=P(R=1\mid Y=1)\) and \(r_0=P(R=1\mid Y=0)\). The observed event rate is obtained by conditioning on being observed:

$$ P(Y=1\mid R=1) = \frac{P(R=1\mid Y=1)P(Y=1)} {P(R=1\mid Y=1)P(Y=1)+P(R=1\mid Y=0)P(Y=0)} = \frac{p r_1}{p r_1+(1-p)r_0}. $$

When \(r_1=r_0\), this equals \(p\); when they differ, it generally does not. This derivation explains why a stated overall missingness percentage is insufficient to assess bias. The relationship between missingness and outcomes matters, as does whether the fixed analysis can use variables that explain the missingness.

Worked Example: Expected Information Under MCAR

Suppose a hypothetical trial plans to randomize 60 participants to each arm. The binary event risk is 0.30 in each arm, and each outcome is independently missing with probability 0.20, regardless of treatment assignment or outcome. Find the expected number of observed outcomes per arm and the expected number of observed events per arm.

Because observation is independent of outcome, the observation probability in each arm is \(1-0.20=0.80\). Thus the expected observed sample size is \(60(0.80)=48\) participants per arm.

The probability that a participant has an observed event is \(P(Y=1,R=1)=0.30(0.80)=0.24\). Therefore the expected number of observed events per arm is \(60(0.24)=14.4\). An expected count need not be an integer; individual simulated trials will have integer counts.

The expected observed event rate remains 0.30 under this MCAR mechanism, but each analysis has fewer observations than a complete-outcome analysis. A simulation should therefore evaluate not only average bias but also decision frequency and precision under the reduced information.

Estimate the Operating Characteristic, Not a Single Trial’s Result

For a binary decision, let \(D_b=1\) if the fixed rule declares success in simulated replicate \(b\), and \(D_b=0\) otherwise. With \(B\) independent replicates, the estimated probability of success under the specified scenario is \(\hat{\theta}=B^{-1}\sum_{b=1}^{B}D_b\). Its estimated Monte Carlo standard error is \(\sqrt{\hat{\theta}(1-\hat{\theta})/B}\). This standard error quantifies simulation error in estimating the operating characteristic; it is not the trial-level standard error of a treatment-effect estimate.

A Bayesian decision rule might declare success when a posterior probability exceeds a prespecified cutoff. For example, the analysis may use independent \(\operatorname{Beta}(1,1)\) priors for the two event risks and declare treatment beneficial when \(P(p_T<p_C\mid\text{observed data})>0.975\). In every simulated replicate, use the same prior, likelihood, handling of missing outcomes, and cutoff. The resulting success proportion estimates the rule’s operating characteristic under the chosen outcome and missingness scenario.

Worked Example: A Complete-Case Difference in One Simulated Trial

Consider one hypothetical replicate of a trial with 100 participants per arm. The true event risk is 0.40 in both arms, so the true risk difference is zero. After outcomes are generated and MCAR missingness is applied, 36 of 78 observed treatment-arm participants and 28 of 82 observed control-arm participants have events. Calculate the observed complete-case risk difference, defined as treatment risk minus control risk.

The observed risks, using the unrounded fractions, are \(36/78=0.461538\ldots\) and \(28/82=0.341463\ldots\). Therefore,

$$ \widehat{RD}_{\mathrm{obs}} = \frac{36}{78}-\frac{28}{82} = 0.120075\ldots \approx 0.1201. $$

The observed difference is about 12.01 percentage points, even though the scenario’s true risk difference is zero. This is a possible finite-sample fluctuation, not evidence that MCAR systematically shifts the expected observed risks. It is also not, by itself, the Bayesian decision: the fixed analysis must use the observed data to calculate its posterior and apply its prespecified rule.

Worked Example: Estimating False Success Under Outcome-Dependent Missingness

Suppose a hypothetical null scenario has event risk 0.30 in both arms. In the treatment arm, an event outcome is observed with probability 0.50, while a non-event outcome is observed with probability 0.90. In the control arm, outcomes are MCAR with observation probability 0.78. For the treatment arm, calculate the observed event rate and overall missingness probability. Then interpret a hypothetical simulation summary in which the fixed Bayesian rule declares treatment beneficial in 136 of 2,000 replicates.

In the treatment arm, the probability of an observed event is \(0.30(0.50)=0.15\), and the probability of an observed non-event is \(0.70(0.90)=0.63\). Thus the total observation probability is \(0.15+0.63=0.78\), and the missingness probability is \(1-0.78=0.22\). Among observed treatment outcomes, the event rate is

$$ P(Y=1\mid R=1,A=T) = \frac{0.15}{0.15+0.63} = \frac{0.15}{0.78} \approx 0.1923. $$

The control-arm observed event rate remains 0.30 under its MCAR mechanism. Thus, despite equal true risks and equal overall missingness probabilities, the observed treatment event rate is lower in this scenario because treatment-arm events are less likely to be observed. Across 2,000 simulated trials, the estimated false-success rate is \(136/2000=0.0680\), or 6.80%. Its Monte Carlo standard error is \(\sqrt{0.0680(1-0.0680)/2000}\approx0.00563\), about 0.563 percentage points. This is a hypothetical simulation output, not a result implied by the one-participant probabilities alone; its value depends on the sample size and the complete fixed analysis rule.

Diagnostics, Alternatives, and Limitations

Check the simulated missingness rates by treatment arm and by any variables that define the mechanism. Under outcome-dependent mechanisms, also inspect rates by the fully generated outcome; this diagnostic is available to the simulator even though the outcome would be hidden when missing in an actual trial. Over many replicates, compare simulated rates with their prespecified targets. A mismatch can reveal a coding error, an incorrectly parameterized mechanism, or confusion between a conditional and marginal rate.

For observed trial data, differences in missingness across arms or covariate groups can be detected, but such checks do not establish MCAR or rule out MNAR: the outcomes that are missing cannot be directly compared with their unobserved values. In simulations, the mechanism is known, so the main diagnostic question is whether the code implements that mechanism and whether the fixed analysis receives only the information it is intended to use.

Complete-case analysis is a simple fixed alternative that uses only observed outcomes. It can be reasonable under suitable assumptions, including MCAR for many standard estimands, but it loses information and can be biased when selection changes the observed outcome distribution. Likelihood-based analyses and multiple-imputation approaches can use measured covariates under appropriate MAR assumptions and correctly specified models. Weighting approaches can also address selection under their own assumptions. For MNAR scenarios, results generally require explicit sensitivity assumptions; no observed-data procedure can learn the distribution of missing outcomes from the observed outcomes alone without assumptions.

In calibration, the purpose is not to select whichever analysis looks best after seeing a scenario. It is to measure the performance of the prespecified analysis over plausible missingness conditions. If the trial’s actual analysis includes covariates, imputation, or other handling of missing outcomes, the simulation should implement that same procedure. A complete-case analysis should not be substituted merely because it is easier to simulate.

  • Common mistake: treating a missingness rate as a complete mechanism. A 20% missing rate could be MCAR, MAR, or MNAR. Specify what missingness depends on as well as how often it occurs.
  • Common mistake: generating only observed outcomes. This makes an outcome-dependent missingness rule impossible to implement correctly. Generate the complete outcomes first, then generate observation indicators.
  • Common mistake: interpreting one replicate as an operating characteristic. A single trial’s decision is one binary realization. Estimate the operating characteristic from repeated independent replicates and report Monte Carlo uncertainty.
  • Common mistake: assuming equal missingness rates imply equal bias. The worked example shows that equal overall rates can conceal different outcome-dependent selection.
Key takeaway: A missing-outcome simulation requires a stated mechanism, not just a percentage missing. Generate outcomes and observation indicators in the correct order, preserve the fixed analysis, and evaluate its operating characteristics across replicates under each prespecified scenario.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. A trial has 80 participants in an arm, and each outcome is MCAR with probability 0.10 of being missing. What is the expected observed sample size?
  2. For a binary outcome with true risk \(p=0.25\), suppose \(r_1=0.60\) and \(r_0=0.90\). What event rate is expected among observed participants?
  3. In 1,000 simulated trials, a fixed decision rule declares success 52 times. Estimate the success rate and its Monte Carlo standard error.
  4. Why can equal overall missingness rates in two arms still produce different observed event rates?

Solutions. (1) The observation probability is \(1-0.10=0.90\), so the expected observed sample size is \(80(0.90)=72\). (2) Apply the conditional-rate formula: \(0.25(0.60)/[0.25(0.60)+0.75(0.90)]=0.15/0.825\approx0.1818\), or 18.18%. (3) The estimated success rate is \(52/1000=0.0520\). Its Monte Carlo standard error is \(\sqrt{0.0520(0.9480)/1000}\approx0.00702\), or 0.702 percentage points. (4) The overall rate does not describe which outcomes are more likely to be missing. If event and non-event outcomes have different observation probabilities, conditioning on observation changes the observed event rate, even when the marginal missingness percentages match.

Clinical Biostats