Tutorials › Group Sequential Methods and Sample Size Re-Estimation › Estimating Power Across Effect Scenarios

Software, Planning and Reporting · Tutorial 685 of 699

Estimating Power Across Effect Scenarios

Estimate rejection probability across effect scenarios, quantify simulation uncertainty, and compare analysis timings without confusing Monte Carlo variation with real design differences.

Intermediate 12 min read

What You'll Learn

  • Define simulated power as the rejection probability under a specified treatment effect and design.
  • Estimate power from simulated trial paths and calculate its Monte Carlo standard error.
  • Translate a treatment effect into the mean standardized statistic using inverse-variance information.
  • Compare analysis schedules using matched simulated paths and paired uncertainty calculations.
  • Select replication counts to achieve a desired Monte Carlo precision.
  • Diagnose unstable power curves, implementation errors, and overinterpretation of simulated differences.

Power Is a Design-Specific Rejection Probability

A group sequential design can reject the null hypothesis at one of several planned analyses, subject to its stopping rules and decision boundaries. Its power therefore depends not only on the treatment effect, but also on the full design: the analysis schedule, maximum information, boundary rules, and analysis procedure. In planning, a single power value may hide important differences between effects that are clinically plausible. Estimating power across a range of such effects shows how the design’s performance changes as the true effect changes.

A simulation estimates this operating characteristic by generating complete trial paths under a specified treatment effect and applying the planned analysis and stopping rules to each path. The simulated result for a path is whether the design rejects \(H_0\), not whether a particular interim statistic crosses a boundary considered in isolation.

Definition: For a specified design and true treatment effect \(\delta\), the power is \(\beta(\delta)=P_{\delta}(\text{the planned procedure rejects }H_0)\). In \(R\) independent simulated trial paths generated under that effect, let \(Y_r=1\) if path \(r\) rejects \(H_0\), and \(Y_r=0\) otherwise. The Monte Carlo estimate of power is \(\hat{\beta}(\delta)=\sum_{r=1}^{R}Y_r/R\).

The design and data-generating assumptions must be specified before interpreting this estimate. For example, state the effect scale and units, the allocation ratio, the outcome model and nuisance parameters, the planned information at each analysis, the decision boundaries, and the rule for handling events such as nonconvergence or missing data. A simulated estimate answers a conditional question: what rejection probability results under these particular assumptions and this particular design?

For a common normal model, consider a balanced two-arm trial with total sample size \(n\), common known standard deviation \(\sigma\), and treatment-control mean difference \(\delta\). The estimated difference has variance \(4\sigma^2/n\), so its standard error is \(2\sigma/\sqrt{n}\). If \(Z\) is the standardized difference, then under the assumed true effect its mean is \(\delta\sqrt{n}/(2\sigma)\). Equivalently, if information is defined as the inverse variance of the estimated difference, \(I=n/(4\sigma^2)\), then \(E_{\delta}(Z)=\delta\sqrt{I}\). These expressions use inverse-variance information; information should not be substituted into a formula intended for sample size.

Estimating Power and Its Monte Carlo Uncertainty

Under independent simulation replicates generated from the same design and effect scenario, each \(Y_r\) is a Bernoulli random variable with success probability \(\beta(\delta)\). Thus \(\sum_rY_r\) has a binomial distribution with parameters \(R\) and \(\beta(\delta)\). The sample proportion is unbiased for power, and its variance follows directly from the variance of a Bernoulli variable:

$$ E_{\delta}\{\hat{\beta}(\delta)\}=\beta(\delta),\qquad \operatorname{Var}_{\delta}\{\hat{\beta}(\delta)\} =\frac{\beta(\delta)\{1-\beta(\delta)\}}{R}. $$

Replacing the unknown power in the variance formula by its estimate gives the usual estimated Monte Carlo standard error:

$$ \widehat{SE}_{MC} =\sqrt{\frac{\hat{\beta}(\delta)\{1-\hat{\beta}(\delta)\}}{R}}. $$

This standard error measures simulation noise, not uncertainty about the treatment effect, uncertainty in the assumed nuisance parameters, or uncertainty about whether the model represents a future trial. A normal-approximation interval is \(\hat{\beta}\pm1.96\widehat{SE}_{MC}\), but it can be unsuitable when the estimate is near 0 or 1 or when \(R\) is small. In those settings, a binomial interval such as a Wilson interval is preferable. Report the replication count alongside the estimate and interval.

Worked Example: Estimating Power Across Treatment Effects

Consider a hypothetical balanced two-arm trial with a continuous outcome measured in millimetres of mercury (mmHg), a common standard deviation of 10 mmHg, and maximum total sample size 400. The design has two efficacy analyses and rejects \(H_0\) if the prespecified one-sided group sequential rule is crossed at either analysis. Simulations generate complete paths under each specified treatment effect and apply that rule. Suppose 10,000 independent paths are simulated for each effect, producing 581, 6,540, and 8,990 rejections for effects of 0, 2, and 3 mmHg, respectively.

The estimates are the rejection counts divided by the number of paths:

$$ \hat{\beta}(0)=\frac{581}{10000}=0.0581,\qquad \hat{\beta}(2)=\frac{6540}{10000}=0.654,\qquad \hat{\beta}(3)=\frac{8990}{10000}=0.899. $$

For the 2 mmHg scenario, the inverse-variance information at maximum sample size is \(I=400/(4\times10^2)=1\) per \(\text{mmHg}^2\). The mean standardized statistic at the final analysis under this normal model is therefore \(\delta\sqrt{I}=2\). This is a check on the effect-to-information scaling, not a replacement for simulating the group sequential rule: the probability of crossing any boundary depends on the joint path across analyses.

The Monte Carlo standard errors are approximately \(\sqrt{0.0581(0.9419)/10000}=0.00234\), \(\sqrt{0.654(0.346)/10000}=0.00476\), and \(\sqrt{0.899(0.101)/10000}=0.00301\). Corresponding approximate 95% Monte Carlo intervals are 0.0535 to 0.0627, 0.645 to 0.663, and 0.893 to 0.905. For example, under the stated assumptions, the estimated probability of rejection with a true 2 mmHg treatment effect is 65.4%; the interval describes simulation precision for that probability, not a probability that the true power lies in the interval.

The zero-effect scenario estimates the rejection probability under the null for this simulation setup. It is not itself a power scenario, and its estimate does not establish that the design’s null rejection probability is correct: Monte Carlo variability and the validity of the implementation still matter.

Effect Scenarios and Analysis Timing

Choose effects that answer a planning question. A useful set might include no effect as a reference, a minimally important effect, and larger plausible effects. Keep units explicit, and distinguish a raw treatment difference from a standardized effect. For a continuous outcome, for instance, an effect of 2 mmHg is not interchangeable with a standardized difference of 0.2 unless the standard deviation used to standardize it is stated.

A power curve plots estimated rejection probability against the true effect, with Monte Carlo uncertainty shown or otherwise reported. Under a conventional one-sided efficacy design, power will often increase as a beneficial effect increases. A visibly irregular curve can result from simulation noise, too few replicates, an error in the scenario inputs, or an implementation problem. Do not silently smooth away irregularities: first determine whether they are larger than expected from Monte Carlo error and check the simulation setup.

Analysis timing can also change power. Compare schedules in information units, not just calendar time, because calendar timing depends on accrual and event rates. If two designs have the same maximum information but different interim information fractions, their rejection probabilities can differ: an earlier analysis offers a chance to stop earlier but has less information at that look. Boundaries may also differ because each design must use its own prespecified rule. There is no general guarantee that moving an interim analysis earlier or later increases power.

For a fair simulation comparison, specify what is held fixed, such as maximum information, the target error rate, and the true effect. Generate paths consistently under both schedules. When possible, apply both schedules to the same underlying simulated trial paths. This common-random-number approach makes the comparison more precise because variation shared by the two results can cancel in their difference. It does not make the two designs identical; it makes the simulation comparison paired.

Worked Example: Comparing Two Interim Analysis Times

Suppose two hypothetical designs have the same maximum information and use two efficacy analyses, one interim and one final. Schedule A places the interim analysis at 50% of maximum information; Schedule B places it at 75%. Each design uses its own prespecified boundaries, calibrated for the same nominal one-sided error rate. At a true beneficial treatment effect of 2 mmHg, 5,000 common simulated trial paths yield 3,610 rejections under A and 3,480 under B.

The estimated powers are \(3610/5000=0.722\) and \(3480/5000=0.696\), a paired estimated difference of \(0.722-0.696=0.026\), or 2.6 percentage points. Suppose 270 paths reject under A but not B, while 140 reject under B but not A. The net difference in rejection counts is \(270-140=130\), consistent with \(130/5000=0.026\).

For each path define \(D_r=Y_{r,A}-Y_{r,B}\), which takes values \(-1,0,1\). Here the fraction of discordant paths is \((270+140)/5000=0.082\), and the mean of \(D_r\) is 0.026. Since \(D_r^2=1\) for discordant paths and 0 otherwise, its sample variance is approximately \(0.082-(0.026)^2=0.0813\). The estimated standard error of the paired difference is \(\sqrt{0.0813/5000}=0.00403\). An approximate 95% interval for the difference is \(0.026\pm1.96(0.00403)\), or 0.0181 to 0.0339.

In this hypothetical simulation, Schedule A has higher estimated power for this effect, with a paired difference interval above zero. The result is specific to the stated effect, design assumptions, and boundaries; it does not imply that a 50% interim analysis is generally superior to a 75% analysis.

Choosing Replications and Reading Power Curves

Replication counts should be chosen to make Monte Carlo error small enough for the planning decision. If power is expected to be near \(p\), the approximate standard error is \(\sqrt{p(1-p)/R}\). For a target 95% half-width \(h\), a useful planning calculation is:

$$ R\ \approx\ \frac{1.96^2p(1-p)}{h^2}. $$

Because \(p\) is not known in advance, use a pilot estimate or use \(p=0.5\) for a conservative calculation when no reliable estimate is available; the Bernoulli variance is largest at 0.5. A target precision should reflect the question. Distinguishing power of 0.79 from 0.80 requires more simulation than deciding whether power is roughly 0.6 or roughly 0.9.

Worked Example: Selecting a Replication Count

A planning team wants an approximate 95% Monte Carlo half-width of 0.01 around power expected to be 0.80 for a clinically relevant effect. Substituting \(p=0.80\) and \(h=0.01\) gives:

$$ R\approx\frac{1.96^2(0.80)(0.20)}{0.01^2} =\frac{3.8416(0.16)}{0.0001} =6146.56. $$

Rounding up, use at least 6,147 independent paths for this approximate target. If 6,200 paths produce 4,960 rejections, then \(\hat{\beta}=4960/6200=0.800\), and \(\widehat{SE}_{MC}=\sqrt{0.80(0.20)/6200}=0.00508\). The approximate 95% interval is \(0.800\pm1.96(0.00508)\), or 0.790 to 0.810. This calculation addresses simulation precision at this scenario; it does not guarantee that the assumed effect or model is appropriate.

Simulation is particularly useful when operating characteristics are awkward to calculate analytically under the planned data model, stopping rules, or implementation details. An analytical calculation, when available under matching assumptions, can be faster and can serve as a benchmark. Simulation has the advantage of accommodating a richer trial-path model, but it is only as trustworthy as its inputs and code. A grid of effect scenarios is also more informative than a single power value, but it does not justify precise claims at effect values that were never simulated. If interpolation is used, report it as an approximation and inspect whether the simulated curve supports it.

Diagnostics, Failure Modes, and Limits

Check that every simulated path uses the intended effect scenario, information schedule, boundaries, and stopping rule. Confirm that rejection is counted once per trial if any planned analysis triggers it, and that paths that do not reject by the end are coded as nonrejections rather than omitted. Verify the direction of the effect and the alternative hypothesis. In a balanced two-arm normal model, check the standardized mean against \(\delta\sqrt{n}/(2\sigma)\); confusing total sample size with inverse-variance information can create a substantial power error.

  • Overreading small differences. A few percentage points may be within Monte Carlo error. Compare the difference with its uncertainty, preferably using a paired calculation when paths are matched.
  • Changing multiple design features at once. If effect scenarios or analysis timing are compared while maximum information, boundaries, or nuisance assumptions also change, the result cannot be attributed to timing alone.
  • Assuming a smooth curve is automatically correct. Power often changes smoothly with effect under regular models, but a smooth plot can still conceal an incorrect simulation. Inspect raw estimates and Monte Carlo uncertainty.
  • Treating simulation precision as model certainty. A narrow Monte Carlo interval only indicates that repeated simulation under the specified assumptions would give a similar estimate. It does not cover misspecified outcome distributions, incorrect nuisance values, or operational departures.

Compared with a single-effect calculation, a scenario curve reveals how robust the design’s power is to uncertainty about the true effect. Compared with a purely analytical power calculation, simulation can represent complex trial paths but requires more computational work and explicit diagnostics. Neither approach removes the need to justify the assumed model. The simulated power curve is an operating-characteristic summary under stated conditions, not a forecast guaranteed to hold in an actual trial.

Key takeaway: For every effect and timing scenario, estimate the probability that the complete planned design rejects \(H_0\), report Monte Carlo uncertainty, and state which design assumptions were held fixed. Interpret differences only at the scale of their simulation precision and in the context of the specified model.

Check Your Understanding

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

  1. In 2,000 simulated paths under a 1.5 mmHg treatment effect, 1,460 reject \(H_0\). What is the estimated power?
  2. For the estimate in question 1, calculate the approximate Monte Carlo standard error.
  3. In a balanced trial with total sample size 256 and common standard deviation 8 mmHg, what is the inverse-variance information and the mean standardized statistic under a true treatment difference of 2 mmHg?
  4. Why can applying two analysis schedules to the same simulated paths make a power difference more precise than simulating each schedule independently?
  5. A simulated power curve decreases slightly between two adjacent beneficial effects, and the estimates differ by less than their Monte Carlo standard errors. What is a suitable interpretation?

Solutions. 1. The estimate is \(1460/2000=0.730\), or 73.0%. 2. The standard error is \(\sqrt{0.730(0.270)/2000}=0.00993\). 3. The information is \(I=256/(4\times8^2)=1\) per \(\text{mmHg}^2\). The mean standardized statistic is \(\delta\sqrt{I}=2\). 4. Matched paths share random variation across schedules; calculating the difference within each path can remove some of that shared variation and reduce the Monte Carlo standard error. 5. The small decrease is consistent with Monte Carlo noise at the reported precision; inspect the estimates and consider more replications before claiming a real decrease or changing the design interpretation.

Clinical Biostats