Tutorials › Multi-Arm Multi-Stage (MAMS) Designs › Simulation With Unequal Allocation Ratios

Simulation and Software · Tutorial 455 of 499

Simulation With Unequal Allocation Ratios

You will learn to compare unequal allocation schemes using contrast variances and simulation results, while distinguishing genuine design effects from Monte Carlo noise.

Intermediate 12 min read

What You'll Learn

  • Calculate treatment-control contrast variance under an unequal allocation ratio.
  • Assess how control-heavy allocation changes precision and dependence among treatment comparisons.
  • Compare simulated error rates while accounting for Monte Carlo uncertainty.
  • Interpret power and expected sample size under alternative allocation schemes.
  • Identify allocation assumptions and diagnostics needed for a valid MAMS simulation.

Why Allocation Ratios Matter in MAMS Simulation

A multi-arm multi-stage (MAMS) design can allocate participants equally across arms, or assign different numbers to control and experimental arms. More participants on control may improve the precision of several treatment-control comparisons at once, but it leaves fewer participants in each experimental arm when the total sample size is fixed. Unequal treatment-arm sizes can also alter comparisons between experimental treatments. These choices affect the information available at each interim analysis and, consequently, simulated power, error rates, and the number of participants expected to enter the trial.

Simulation is useful because these operating characteristics depend on the whole design: allocation by stage, shared-control comparisons, interim decisions, and the stopping rules. A key principle is that changing allocation does not automatically invalidate a correctly calibrated test. It does change the sampling variances and dependence structure, so the simulation must represent the allocation actually intended and use decision rules appropriate to it.

Define the Allocation Before Simulating

Definition: At a given analysis, let \(n_0\) be the number of participants with outcomes in the control arm and \(n_i\) the number in experimental arm \(i\). The treatment-control allocation ratio for arm \(i\) is \(r_i=n_i/n_0\). A ratio of \(2:1\) means twice as many participants are assigned to that experimental arm as to control. For a MAMS trial, specify the allocation at every stage and the resulting cumulative arm sizes at each planned analysis.

A ratio alone is not a complete design description. For example, “2:1” does not say whether every treatment arm has twice as many participants as control, whether the ratio changes across stages, or whether total enrollment is fixed. A simulation specification should state the planned arm counts, how randomization achieves them, and whether totals refer to participants enrolled or participants with observed outcomes. In the examples below, outcomes are complete and the stated sample sizes are the numbers analyzed.

To isolate allocation effects, suppose first that outcomes are independent between participants, have a common variance \(\sigma^2\), and are normally distributed within each arm. For a treatment-control mean difference, \(\bar{x}_i-\bar{x}_0\), the variance is

$$ \operatorname{Var}(\bar{x}_i-\bar{x}_0) =\sigma^2\left(\frac{1}{n_i}+\frac{1}{n_0}\right). $$

This formula assumes independent participants and equal outcome variance in the two arms. With a suitable large-sample approximation, it also describes the variance of many estimated treatment effects beyond normally distributed outcomes. If variances differ, the corresponding arm-specific variances must be used rather than assuming a common \(\sigma^2\). In a MAMS simulation, each look uses the sample sizes accrued by that look; using final sample sizes to represent an earlier interim analysis gives the wrong information.

What a Fixed Total Does to Precision

For one comparison with fixed total \(N=n_0+n_i\) and ratio \(r=n_i/n_0\), the arm sizes are \(n_0=N/(1+r)\) and \(n_i=rN/(1+r)\). Substitution into the variance formula gives

$$ \operatorname{Var}(\bar{x}_i-\bar{x}_0) =\sigma^2\frac{(1+r)^2}{rN}. $$

With equal allocation, \(r=1\), this variance is \(4\sigma^2/N\). At the same total \(N\), the variance relative to equal allocation is \((1+r)^2/(4r)\). This quantity is at least 1, since \((1+r)^2-4r=(r-1)^2\geq 0\). Thus, for a single comparison with equal variances and equal per-participant costs, equal allocation minimizes the variance when total sample size is fixed. That result does not imply equal allocation is always best in a multi-arm trial: a control participant can contribute to several comparisons, and the design may value those comparisons differently.

Worked Example: Precision for a 2:1 Treatment-Control Ratio

Consider a hypothetical stage with 120 participants in total, a 2:1 treatment-to-control ratio, and an outcome standard deviation of 10 points. Assume independent outcomes and the same variance in both arms. Compare the treatment-control standard error with equal allocation.

For the 2:1 allocation, \(n_0=120/3=40\) and \(n_i=80\). Therefore,

$$ SE=10\sqrt{\frac{1}{40}+\frac{1}{80}} =10\sqrt{0.0375} =1.936\text{ points}. $$

With 60 participants per arm, the equal-allocation standard error is

$$ SE=10\sqrt{\frac{1}{60}+\frac{1}{60}} =10\sqrt{0.03333} =1.826\text{ points}. $$

At the same total sample size, the 2:1 allocation has variance \(0.0375/0.03333=1.125\) times the equal-allocation variance, a 12.5% increase. Its standard error is about 6.1% larger. This comparison concerns precision for this one contrast; it does not account for any benefit from using the control group in several treatment comparisons.

Shared Control and Unequal Treatment Arms

When several experimental treatments share a control group, the treatment-control estimates are correlated because they contain the same estimated control mean. Under the independent, equal-variance model, for two experimental arms \(i\) and \(j\),

$$ \operatorname{Cov}(\bar{x}_i-\bar{x}_0,\bar{x}_j-\bar{x}_0) =\frac{\sigma^2}{n_0}. $$

The covariance is positive: a control mean that happens to be high shifts both treatment-control differences downward. Changing the control allocation changes both the variance of each contrast and this covariance. Therefore, a simulation that applies separate one-comparison calculations but ignores the shared-control structure can misrepresent joint outcomes, such as the chance that at least one treatment succeeds or that all specified treatments succeed.

Unequal allocation among experimental arms has its own consequences. A smaller treatment arm generally has a less precise treatment-control contrast and may have lower power, especially if the treatment effect of interest is similar across arms. A treatment-treatment contrast, \(\bar{x}_i-\bar{x}_j\), has variance \(\sigma^2(1/n_i+1/n_j)\); it depends directly on both experimental-arm sizes, not on the control size. Hence, adding participants to control can be a reasonable trade-off for treatment-control comparisons while making treatment-treatment comparisons less precise if it reduces both active-arm sizes.

Worked Example: Three Treatments and a Shared Control

Suppose a hypothetical trial has three experimental arms and one control arm, a total of 240 participants, and outcome standard deviation 1 unit in every arm. Compare equal allocation with a control-heavy allocation of two control participants per participant in each experimental arm. Assume independent outcomes and equal variances.

With equal allocation, each arm has 60 participants. Each treatment-control contrast has variance \(1/60+1/60=0.03333\), so its standard error is \(0.1826\) units. Under the control-heavy allocation, control has 96 participants and each treatment arm has 48. Each treatment-control variance is

$$ \frac{1}{96}+\frac{1}{48}=0.03125, \qquad SE=\sqrt{0.03125}=0.1768\text{ units}. $$

In this particular four-arm design, the treatment-control standard errors are lower under the control-heavy allocation. But a treatment-treatment contrast changes: its variance is \(1/60+1/60=0.03333\) under equal allocation and \(1/48+1/48=0.04167\) under the control-heavy allocation. Its standard error increases from \(0.1826\) to \(0.2041\) units.

The shared-control covariance is \(1/60=0.01667\) under equal allocation and \(1/96=0.01042\) under the control-heavy allocation. Since each treatment-control variance is \(0.03333\) under equal allocation and \(0.03125\) under the control-heavy allocation, their correlation is \(0.01667/0.03333=0.500\) under equal allocation and \(0.01042/0.03125=0.333\) under the control-heavy allocation. Thus, the allocation improves individual treatment-control precision here but changes the dependence between those estimates and reduces precision for treatment-treatment comparisons.

Allocation and Simulated Operating Characteristics

For each proposed allocation, simulate complete trial replicates under the scenarios required by the design question. Under a global null scenario, all treatment effects are null; the proportion of replicates with one or more false treatment declarations estimates the family-wise error rate. Other null configurations can assess error rates when some treatments are effective and others are not. Under alternative scenarios, the proportion of replicates meeting a specified success criterion estimates power. Define the criterion explicitly: a pairwise power, a probability of at least one success, and a probability of success for every target treatment are different quantities.

For a simulated event proportion \(\hat{p}\) from \(R\) independent replicates, the Monte Carlo standard error is \(\sqrt{\hat{p}(1-\hat{p})/R}\). This measures simulation noise, not uncertainty about the clinical effect or the validity of the model. The earlier material on Monte Carlo standard errors and confidence intervals for simulated error rates gives the general interpretation; here the essential comparison is that estimates from different allocations have their own simulation uncertainty.

Worked Example: Comparing Simulated Family-Wise Error Rates

Consider hypothetical simulations of the same three-stage MAMS design under the global null, with the intended family-wise error rate set at 0.025. Each allocation is evaluated in 20,000 independent replicates. Suppose the equal-allocation simulation has 496 replicates with at least one false treatment declaration, while the 2:1 treatment-to-control allocation has 517.

The estimates are \(496/20{,}000=0.02480\) and \(517/20{,}000=0.02585\). Their Monte Carlo standard errors are

$$ SE_{1:1}=\sqrt{\frac{0.02480(1-0.02480)}{20{,}000}} =0.001100, \qquad SE_{2:1}=\sqrt{\frac{0.02585(1-0.02585)}{20{,}000}} =0.001122. $$

If the simulations are independent, the standard error of the estimated difference \(0.02585-0.02480=0.00105\) is approximately

$$ \sqrt{0.001100^2+0.001122^2}=0.001571. $$

The observed difference is smaller than one standard error of that difference. These results do not provide strong evidence that the error rates differ; nor do they establish that either design meets the target exactly. Investigators should inspect simulation uncertainty and verify that each allocation was analyzed with the intended design rules. A fixed decision boundary carried over from another allocation may not preserve the target error rate.

Unequal allocation can also change expected sample size in a multi-stage trial. The maximum planned sample size may be identical across allocation schemes, yet the expected total differs because the probability of stopping early or continuing to later stages can change. Under a particular alternative, lower power at an interim analysis may lead more replicates to continue; under another scenario, changes in the joint evidence across arms can alter early stopping in the opposite direction. The direction is design- and scenario-specific, so it should be estimated rather than assumed.

Worked Example: Power and Expected Sample Size

Suppose two hypothetical allocation schemes are simulated under one prespecified alternative in 20,000 replicates each. The design has the same maximum total sample size of 240 participants. Assume independent simulations for the two schemes. The equal-allocation scheme declares the target treatment successful in 15,800 replicates; the 2:1 scheme does so in 15,360. The respective mean total sample sizes are 164.2 (sample standard deviation 25.5) and 172.6 (sample standard deviation 26.0).

The estimated powers are \(15{,}800/20{,}000=0.7900\) and \(15{,}360/20{,}000=0.7680\). Their Monte Carlo standard errors are

$$ SE_{0.7900}=\sqrt{\frac{0.7900(0.2100)}{20{,}000}} =0.002880, \qquad SE_{0.7680}=\sqrt{\frac{0.7680(0.2320)}{20{,}000}} =0.002985. $$

The estimated power difference is \(0.7900-0.7680=0.0220\), with an approximate standard error of \(\sqrt{0.002880^2+0.002985^2}=0.004148\). In this hypothetical simulation, equal allocation has higher estimated power under the stated alternative.

The Monte Carlo standard error of a simulated mean sample size is the sample standard deviation divided by \(\sqrt{R}\). Thus, these estimates have standard errors \(25.5/\sqrt{20{,}000}=0.1803\) and \(26.0/\sqrt{20{,}000}=0.1838\) participants. The estimated difference in means is \(172.6-164.2=8.4\) participants, with approximate standard error \(\sqrt{0.1803^2+0.1838^2}=0.2575\). Here, the 2:1 scheme has a higher expected total sample size despite the same maximum. These are hypothetical outputs, not universal effects of a 2:1 ratio: different effects, boundaries, and stage allocations can produce different results.

A Useful Allocation Calculation—and Its Limits

A simple calculation can help choose a starting allocation for several equally important treatment-control comparisons. Suppose there are \(k\) experimental arms, each with \(n_t\) participants, \(n_0\) control participants, fixed total \(N=n_0+kn_t\), equal variances, equal per-participant costs, and the objective is to minimize the sum of the \(k\) treatment-control variances. Ignoring the common factor \(\sigma^2\), that sum is \(k(1/n_t+1/n_0)\). Substituting \(n_t=(N-n_0)/k\), the quantity to minimize is

$$ k\left(\frac{k}{N-n_0}+\frac{1}{n_0}\right). $$

Differentiating with respect to \(n_0\) and setting the derivative to zero gives \(k/(N-n_0)^2=1/n_0^2\). The positive solution is \(N-n_0=\sqrt{k}\,n_0\), so \(n_0=N/(1+\sqrt{k})\) and \(n_0/n_t=\sqrt{k}\). This is a result for that specific objective and set of assumptions, not a universal MAMS allocation rule. It does not directly optimize treatment-treatment comparisons, power across unequal effects, error rates, recruitment constraints, or costs that differ by arm.

Simulation Workflow, Diagnostics, and Pitfalls

A defensible allocation comparison keeps the design and simulation aligned. Use the following sequence for each proposed allocation:

1
Specify arm sizes by stage.
Record the allocation ratios and the cumulative sample size in every arm at every analysis. Check that the arm counts add to the planned total at each stage.
2
State the outcome and effect scenarios.
Specify the assumed outcome variances, treatment effects, and null configurations. Use the same scenarios when comparing allocations so that differences are attributable to the designs being compared.
3
Simulate the actual analysis.
Generate outcomes using the stated arm sizes, represent shared-control comparisons, and apply the interim and final rules at their planned looks.
4
Summarize with simulation uncertainty.
Estimate error rates, the defined power measures, and expected sample size. Report Monte Carlo standard errors or intervals so small differences are not mistaken for established design effects.

Diagnostics should include checking that simulated arm counts match the allocation plan, that interim sample sizes are cumulative as intended, and that the variance of simulated treatment-control estimates is consistent with \(\sigma^2(1/n_i+1/n_0)\) under the simple model. Inspect error rates under the relevant null configurations, not only under a single global null. If simulated error rates depart materially from the target, first check the analysis and boundary calibration for that allocation before attributing the difference to the ratio itself.

A common mistake is to assume that doubling the treatment-to-control ratio must double the information for that treatment. At a fixed total, the ratio changes both arm sizes, and the contrast variance depends on the reciprocal of each size. The correction is to calculate or simulate the contrast precision using the actual \(n_i\) and \(n_0\), then assess all arms and stages together. Another mistake is to compare simulated event proportions without accounting for Monte Carlo variation. A small numerical difference between two estimates may simply reflect finite replicate counts.

The main alternatives are equal allocation, a common control-heavy allocation for all treatments, and unequal ratios tailored to arm-specific priorities. Equal allocation is efficient for a single equal-cost two-arm comparison at fixed total. A larger shared control can be useful when several treatment-control comparisons are central, but it can reduce the precision of treatment-treatment comparisons or of particular treatment arms. No ratio should be chosen on the basis of one operating characteristic alone: consider error control, the required power for each relevant comparison, expected and maximum sample size, and feasibility.

Key takeaway: Unequal allocation changes the information in each contrast and the dependence among contrasts that share control. Simulate the intended stage-specific allocation, analyze every replicate with the corresponding design rules, and compare error rates, power, and expected sample size with their Monte Carlo uncertainty visible.

Check Your Understanding

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

  1. With a fixed total sample size for one treatment-control contrast, why does a 2:1 allocation have greater variance than equal allocation under the equal-variance model?
  2. In a three-treatment trial, what feature makes the treatment-control estimates correlated?
  3. Under a fixed maximum sample size, can two allocation schemes have different expected sample sizes? Explain.
  4. A simulation estimates a family-wise error rate of 0.026 from 20,000 replicates. What is its approximate Monte Carlo standard error?

Solutions. (1) For ratio \(r\), the variance is \(\sigma^2(1+r)^2/(rN)\); relative to equal allocation, the factor is \((1+r)^2/(4r)\). At \(r=2\), this is \(9/8=1.125\), so variance is 12.5% larger. (2) All treatment-control estimates include the same estimated control mean, giving covariance \(\sigma^2/n_0\) under independent, equal-variance outcomes. (3) Yes. Interim stopping and continuation probabilities can change with allocation, so the average number enrolled can change even when the maximum is fixed. (4) The estimate is \(\hat{p}=0.026\), so \(SE=\sqrt{0.026(0.974)/20{,}000}=\sqrt{0.025324/20{,}000}=0.001125\), approximately.

Clinical Biostats