Tutorials › Response-Adaptive Randomization › When Neyman Allocation Reduces to Equal Allocation

Optimal Allocation Targets · Tutorial 108 of 501

When Neyman Allocation Reduces to Equal Allocation

Learn when equal allocation minimizes the variance of a two-arm mean difference, how variance imbalance changes the Neyman target, and what the standard result assumes.

Intermediate 10 min read

What You'll Learn

  • State the assumptions behind the two-arm Neyman allocation target.
  • Derive why equal outcome variances make equal allocation variance-minimizing.
  • Calculate target arm sizes when outcome standard deviations differ.
  • Compare Neyman and equal allocation using the variance of a mean difference.
  • Identify why zero outcome variance is a boundary case, not a standard ratio case.

Why Equal Allocation Can Be Optimal

Equal allocation is often chosen because it is simple and gives the two arms the same number of participants. That simplicity does not make it universally optimal. For a two-arm comparison of means, the variance-minimizing allocation depends on the arms’ outcome standard deviations. When those standard deviations are equal, the Neyman target reduces to equal allocation. When they differ, the target assigns more participants to the arm with greater outcome variability.

This is a statement about a particular objective: minimizing the sampling variance of the difference between two arm means when the total sample size is fixed. It is not a general claim that equal allocation is best for every trial objective, patient-benefit criterion, or allocation constraint.

Definition: Consider two independent arms with sample sizes \(n_1\) and \(n_2\), population outcome variances \(\sigma_1^2\) and \(\sigma_2^2\), and fixed total sample size \(N=n_1+n_2\). For estimating the difference in arm means, the Neyman allocation is the allocation that minimizes \(V=\sigma_1^2/n_1+\sigma_2^2/n_2\), under the stated assumptions. When both variances are strictly positive and allocations are treated as continuous, its target ratio is \(n_1/n_2=\sigma_1/\sigma_2\).

The model assumptions for this result are that the outcome is measured on a common scale in both arms; observations are independent within and across arms; each arm has a finite, well-defined outcome variance; the total sample size is fixed; and participants have equal per-participant costs. The formula for \(V\) is the variance of the difference in sample means under these assumptions. The continuous allocation calculation also assumes \(n_1>0\) and \(n_2>0\). For the standard proportional Neyman result, both \(\sigma_1\) and \(\sigma_2\) must be strictly positive.

The allocation target concerns arm sizes, not a particular randomization procedure. In a response-adaptive design, a target allocation proportion can guide assignment probabilities, but the realized arm counts need not equal that target exactly. The variance calculation here describes the fixed-arm-size allocation objective; it does not by itself establish the operating characteristics of every adaptive estimator or randomization rule.

Deriving the Equal-Variance Case

Suppose the two arms have the same strictly positive outcome variance, so \(\sigma_1^2=\sigma_2^2=\sigma^2\), with \(\sigma^2>0\). Substituting \(n_2=N-n_1\) into the variance objective gives a one-variable expression. Its minimum can be seen directly by writing the product \(n_1(N-n_1)\) as a square-completion identity.

$$ V(n_1)=\frac{\sigma^2}{n_1}+\frac{\sigma^2}{N-n_1} =\frac{\sigma^2 N}{n_1(N-n_1)},\qquad 0<n_1<N $$
$$ n_1(N-n_1)=\frac{N^2}{4}-\left(n_1-\frac{N}{2}\right)^2 \leq \frac{N^2}{4} $$

The numerator \(\sigma^2N\) is fixed and positive. Therefore \(V(n_1)\) is smallest when its positive denominator is largest. The displayed inequality shows that the denominator is largest exactly when \(n_1=N/2\), which also gives \(n_2=N/2\). Substitution yields the minimum variance and its corresponding standard error:

$$ V_{\min}=\frac{4\sigma^2}{N},\qquad SE_{\min}=\sqrt{V_{\min}}=\frac{2\sigma}{\sqrt{N}} $$

This establishes the special case without relying on a comparison of approximate sample-size rules: under the stated model and objective, equal arm sizes attain the minimum. The conclusion depends on equality of the variances, not equality of treatment effects. The treatment-effect magnitude does not appear in this variance objective.

How Unequal Variances Shift the Target

When both arm standard deviations are positive but unequal, the target changes. The allocation ratio follows by differentiating the variance objective with respect to \(n_1\), while keeping \(n_2=N-n_1\). Setting the derivative to zero gives the interior candidate:

$$ \frac{dV}{dn_1} =-\frac{\sigma_1^2}{n_1^2} +\frac{\sigma_2^2}{(N-n_1)^2}=0 \quad\Longrightarrow\quad \frac{\sigma_1}{n_1}=\frac{\sigma_2}{n_2} \quad\Longrightarrow\quad \frac{n_1}{n_2}=\frac{\sigma_1}{\sigma_2} $$

Because both standard deviations are positive, the derivative equation has an interior solution. The second derivative is \(2\sigma_1^2/n_1^3+2\sigma_2^2/n_2^3\), which is positive throughout the feasible interior. Thus the objective is strictly convex there, and the stationary allocation is its unique minimum. Solving the ratio together with \(n_1+n_2=N\) gives the continuous target shares \(n_1/N=\sigma_1/(\sigma_1+\sigma_2)\) and \(n_2/N=\sigma_2/(\sigma_1+\sigma_2)\).

The ratio uses standard deviations, not variances. A larger standard deviation means that, per participant, the corresponding sample mean contributes more variance. Assigning more participants to that arm reduces its contribution. If the two standard deviations are equal, the ratio is one and the target shares are equal; if one is twice the other, its target sample size is twice as large.

Worked Example: Equal Variances Give Equal Targets

Suppose a hypothetical two-arm study plans \(N=200\) participants. Outcomes are independent, the arms have the same strictly positive variance of \(25\) outcome-units squared, participants have equal costs, and there are no arm-size constraints. Find the Neyman target and its variance.

Since \(\sigma_1=\sigma_2=\sqrt{25}=5\) outcome units, the Neyman ratio is \(n_1/n_2=5/5=1\). With \(n_1+n_2=200\), the target is \(n_1=n_2=100\).

The variance of the estimated mean difference at this target is \(V=25/100+25/100=0.5000\) outcome-units squared. Its standard error is \(\sqrt{0.5000}=0.7071\) outcome units. The result agrees with the equal-variance minimum \(4\sigma^2/N=4(25)/200=0.5000\).

Worked Example: A More Variable Arm Receives More Participants

In a hypothetical study, the outcome standard deviations are \(\sigma_1=2\) and \(\sigma_2=5\) outcome units, and the fixed total is \(N=140\). Assume the independence, common-scale, equal-cost, and positive-variance conditions hold. Calculate the continuous Neyman target and compare it with equal allocation.

The target ratio is \(n_1/n_2=2/5\). Therefore the total is divided into \(2+5=7\) ratio-parts: \(n_1=(2/7)(140)=40\) and \(n_2=(5/7)(140)=100\). These are whole-number targets, so no rounding is needed.

At the Neyman target, \(V=4/40+25/100=0.1000+0.2500=0.3500\) outcome-units squared, and \(SE=\sqrt{0.3500}=0.5916\) outcome units. Under equal allocation, \(n_1=n_2=70\), so \(V=4/70+25/70=29/70=0.4143\) outcome-units squared and \(SE=\sqrt{0.4143}=0.6437\) outcome units. For this variance-minimization objective and these assumptions, the unequal Neyman target has the smaller variance. Arm 2 receives more participants because its outcome standard deviation is larger.

Worked Example: A Small Variance Difference Makes a Small Target Shift

Suppose a hypothetical study has \(\sigma_1=3\) and \(\sigma_2=4\) outcome units, with \(N=140\). Assume both variances are positive and the other Neyman assumptions hold. Determine the target and compare the variance with equal allocation.

The ratio is \(n_1/n_2=3/4\), so \(n_1=(3/7)(140)=60\) and \(n_2=(4/7)(140)=80\). The target shares are \(60/140=0.4286\) and \(80/140=0.5714\), a modest shift from one-half in each arm.

At the target, \(V=9/60+16/80=0.1500+0.2000=0.3500\) outcome-units squared, giving \(SE=0.5916\) outcome units. Equal allocation gives \(n_1=n_2=70\), \(V=9/70+16/70=25/70=0.3571\) outcome-units squared, and \(SE=\sqrt{0.3571}=0.5976\) outcome units. Here the target change reduces variance, but the difference is small. A modest departure from equal variances need not produce a large change in either the allocation target or the resulting standard error.

Boundary Cases, Diagnostics, and Limitations

Strict positivity matters. If exactly one arm has zero variance and both sample sizes must be positive, the usual proportional-allocation result does not give an attained minimum. For example, let \(\sigma_1=0\), \(\sigma_2=3\), and \(N=100\). Then \(V=9/n_2=9/(100-n_1)\). For any \(0<n_1<100\), \(n_2<100\), so \(V>9/100=0.0900\) outcome-units squared. As \(n_1\) approaches zero from above, \(V\) approaches \(0.0900\), but no allocation with both arm sizes positive attains that value. The standard-deviation ratio would require \(n_1=0\), outside the positive-allocation domain. If both variances are zero, \(V=0\) for every positive allocation, and the standard-deviation ratio is undefined. These are separate cases, not instances of the ordinary positive-variance formula.

In practice, the variances used to set a target are often not known exactly. A target based on uncertain variance estimates can therefore differ from the target implied by the true variances. Before interpreting an apparent imbalance as a design improvement, check that the variances refer to the same outcome and scale, that the observations and variance estimates are not being distorted by data or coding errors, and that the allocation being assessed is the intended target rather than a random fluctuation in realized arm counts. Large differences in estimated variability deserve particular scrutiny; a few unusual observations can materially affect an estimated variance.

Neyman allocation and equal allocation answer different practical needs. Equal allocation is transparent and can be a sensible default when variances are similar, are poorly known, or other design considerations matter. Neyman allocation is justified when the stated assumptions hold and the primary design objective is to minimize the variance of the two-arm mean difference for a fixed total sample size. Neither conclusion alone establishes which design is ethically preferable or best for every scientific goal. The formula also treats allocation as continuous; constraints and integer sample sizes can prevent exact attainment of its target.

Common pitfall: “The Neyman formula is proportional to the arm variances, so an arm with four times the variance should receive four times the sample size.” This is incorrect: the ratio is \(n_1/n_2=\sigma_1/\sigma_2\), using standard deviations. Another error is applying that ratio when an arm variance is zero. The standard result assumes both variances are strictly positive; zero-variance cases must be analyzed separately.

Check Your Understanding

Work through each question, then compare your reasoning with the solutions.

  1. With equal positive arm variances and fixed \(N=120\), what is the Neyman target? If both variances are \(36\) outcome-units squared, calculate the minimum variance and standard error.
  2. Suppose \(\sigma_1=3\), \(\sigma_2=6\), and \(N=90\). Find the Neyman target and the variance of the mean difference.
  3. For \(\sigma_1=2\), \(\sigma_2=4\), and \(N=100\), calculate the variance under equal allocation and under the Neyman target. Which is smaller?
  4. If \(\sigma_1=0\), \(\sigma_2>0\), and both arm sizes must be positive, does the usual proportional Neyman formula yield an attained minimum? Explain.

Solutions. (1) Equal positive variances give \(n_1=n_2=120/2=60\). With variance \(36\) in each arm, \(V=36/60+36/60=1.200\) outcome-units squared and \(SE=\sqrt{1.200}=1.095\) outcome units. (2) The ratio is \(3/6=1/2\), so \(n_1=30\) and \(n_2=60\). The variances are \(9\) and \(36\), giving \(V=9/30+36/60=0.3000+0.6000=0.9000\) outcome-units squared. (3) Equal allocation gives \(50\) per arm and \(V=4/50+16/50=0.4000\) outcome-units squared. The Neyman ratio is \(1/2\), giving \(n_1=100/3\) and \(n_2=200/3\); its variance is \(4/(100/3)+16/(200/3)=0.1200+0.2400=0.3600\) outcome-units squared, which is smaller. (4) No. The ratio would require zero participants in the zero-variance arm. With both sample sizes required to be positive, the objective approaches its infimum as that arm’s sample size tends to zero, but does not attain the infimum.

Clinical Biostats