Why Temporal Positivity Matters
Adaptive allocation can change substantially as a trial proceeds. If the probability of assigning a participant to one treatment becomes very small during a particular enrollment period, that period may contribute few participants on that treatment. This matters even when the allocation probabilities are known exactly: weighting can correct the unequal probabilities in expectation, but it cannot create information that the trial did not collect.
The issue is not simply whether both treatments were assigned at some point during the trial. A time-averaged treatment effect relies on comparisons within the enrollment periods represented in its target population. When one arm is rare in a period, its outcomes there are weakly represented; when an arm has no participants in a period, a period-specific comparison cannot be calculated from the observed outcomes alone.
For a target distribution assigning proportion \(q_t\) to period \(t\), with \(\sum_t q_t=1\), a common target is the time-standardized effect \(\tau_Q=\sum_t q_t\{E[Y(1)\mid T=t]-E[Y(0)\mid T=t]\}\). Here \(Y(1)\) and \(Y(0)\) are the potential outcomes under treatment and control. The target weights \(q_t\) describe the population or time distribution for which the effect is wanted; they need not equal the proportions enrolled in the trial. This tutorial focuses on whether the observed allocation supports estimating this target, not on choosing a trend model.
In an adaptive trial, \(e_i\) may depend on prior assignments or outcomes as well as enrollment time. A period-level average probability is therefore a useful first summary, but it can hide near-zero probabilities for particular histories within that period. Use the actual probabilities generated by the randomization procedure, at the level relevant to the analysis.
What Near-Zero Probabilities Do to Weighting
Inverse-probability weighting gives more influence to participants whose observed assignment was unlikely under the design. A treated participant receives weight \(1/e_i\), while a control participant receives weight \(1/(1-e_i)\). Under the randomization probabilities and appropriate sequential randomization assumptions, this corrects the unequal representation induced by assignment in expectation. The basic reason follows from the treatment indicator:
The corresponding control identity is \(E[(1-A_i)Y_i/(1-e_i)\mid T_i,H_i,Y_i(1),Y_i(0)]=Y_i(0)\). These equalities require the stated assignment probabilities and that assignment is randomized conditional on the history used to define them. They explain unbiased representation in repeated randomization; they do not guarantee a stable estimate in one realized trial.
When \(e_i\) is small, the treated weight \(1/e_i\) is large. A few rare treated participants can then dominate the weighted estimate. This usually increases sampling variability; if the probability is exactly zero in a relevant part of the target, the corresponding potential outcome is not represented at all. No finite weight can recover information from an arm that was never assigned there.
A simple practical check is to compare period-specific expected counts, \(n_t\bar e_t\) and \(n_t(1-\bar e_t)\), with the realized counts in each arm. Here \(n_t\) is the number enrolled in period \(t\), and \(\bar e_t\) is the period’s average treatment probability. Expected counts are a planning diagnostic, not a guarantee of realized counts. Also examine the actual assignment probabilities and the distribution of weights, rather than relying only on an overall treatment proportion.
Worked Example: Finding a Period With Weak Allocation Support
Suppose a hypothetical trial enrolls 200 participants in each of three periods. The treatment probabilities are constant within each period: 0.50, 0.10, and 0.01. The observed treated counts are 101, 19, and 1, respectively. Assess where positivity is practically weak.
In period 1, the expected counts are \(200(0.50)=100\) treated and \(200(0.50)=100\) controls. In period 2, they are \(200(0.10)=20\) treated and \(200(0.90)=180\) controls. In period 3, they are \(200(0.01)=2\) treated and \(200(0.99)=198\) controls. The realized counts are consistent with those expectations, but period 3 provides only one treated participant.
The period 3 treatment weight is \(1/0.01=100\), compared with \(1/0.50=2\) in period 1. Even if both arms appear in period 3, its treatment outcomes have very limited replication. In fact, if assignments are independent Bernoulli draws with probability 0.01 in that period, the probability of observing no treated participants is \(0.99^{200}\approx0.1340\). Thus, a positive assignment probability alone does not ensure that a usable treated sample will be observed.
Conclusion. Period 3 is the clearest practical positivity concern. Its probability is not zero, but the expected and observed treated counts are very small, and a period-specific effect there would be highly sensitive to the one treated outcome.
Weights, Effective Information, and a Short Calculation
The effective sample size summarizes how uneven weights reduce the information in a weighted group. For weights \(w_1,\ldots,w_m\), define \(ESS=(\sum_j w_j)^2/\sum_j w_j^2\). It equals \(m\) when all weights are equal and is smaller when a few observations carry much of the total weight. It is a diagnostic rather than a replacement for a variance estimate.
Worked Example: Large Weights and Effective Sample Size
In a hypothetical late period, 100 participants have treatment probability \(e_i=0.02\). Two are assigned treatment and have observed outcomes 8 and 10 units; the 98 controls have mean outcome 5 units. Calculate the weighted arm means and the treatment-arm effective sample size.
Each treated participant has weight \(1/0.02=50\). The weighted treated mean is \[ \frac{50(8)+50(10)}{50+50}=\frac{900}{100}=9 \] outcome units. Each control has weight \(1/0.98\); because all controls have the same probability, that common weight cancels from their weighted mean, which remains 5 outcome units. The weighted difference is \(9-5=4\) outcome units.
For the treated group, \[ ESS=\frac{(50+50)^2}{50^2+50^2} =\frac{10000}{5000}=2. \] Thus, the weighted treated mean is based on only two distinct participants, despite the weights summing to 100. The calculation does not make the estimate invalid by itself, but it makes clear why the estimate can be highly variable and sensitive to either treated outcome.
A useful justification for using the effective sample size is immediate from its formula: if all \(m\) weights equal \(c\), then \(ESS=(mc)^2/(mc^2)=m\). If one weight dominates, the denominator grows relative to the squared sum, so the effective sample size falls. This diagnostic does not measure bias, and it does not account for outcome variability or dependence; it should be read alongside period-specific counts and the outcome analysis.
Does the Target Effect Have Support?
Support is a property of the combination of the target and the observed allocation, not a single trial-wide number. Ask which periods receive positive target weight, whether both treatments have nonzero assignment probabilities there, and whether realized data provide enough observations in each arm to estimate the period-specific contrast credibly. If the target places substantial weight on a period with almost no treatment observations, the effect may be formally identifiable under a model but weakly supported by direct comparisons.
Outcome regression and weighting address the problem differently. Weighting explicitly rebalances participants according to their assignment probabilities and can become unstable when those probabilities are extreme. Outcome regression models outcomes as a function of treatment, time, and possibly other variables; it may produce predictions in a sparsely represented arm, but those predictions depend heavily on the model’s assumptions. Neither approach can turn absent overlap into direct evidence. With good overlap, the two approaches can offer complementary checks; with poor overlap, agreement between them is not proof that extrapolation is reliable.
Worked Example: A Target That Depends on a Thinly Supported Period
Consider a hypothetical two-period trial targeting equal weight on each period, so \(q_1=q_2=0.5\). The estimated treatment effects are 2 outcome units in period 1 and 6 outcome units in period 2. In period 2, however, there is only one treated participant and 99 controls. Calculate the target estimate and assess its support.
The time-standardized estimate is \[ \hat\tau_Q=0.5(2)+0.5(6)=1+3=4 \] outcome units. The arithmetic is correct, but half of the target weight is assigned to a period whose treatment effect is estimated from one treated participant. The result is therefore weakly supported by the period 2 treatment data and may be very sensitive to that participant’s outcome.
If the scientific target were instead explicitly restricted to period 1, then \(q_1=1\) and \(q_2=0\), yielding an estimate of 2 outcome units from period 1. That is a different target, not a correction to the equal-period estimate. Dropping period 2 after seeing a noisy result and continuing to describe the result as an equal-period effect would change the estimand without acknowledging it.
Diagnostics and Common Mistakes
For a practical assessment, inspect allocation probabilities and data together. Plot or tabulate the probabilities over enrollment time; report period-specific arm counts; identify any zero counts; and summarize the treatment and control weight distributions, including their largest values and effective sample sizes. If probabilities vary with pre-assignment history, check that variation rather than relying on period averages alone. A probability plot can reveal an abrupt temporal shift, while the arm-by-period table shows whether the shift translated into sparse realized data.
A common mistake is to reason, “Both treatments were assigned somewhere in the trial, so the overall positivity assumption holds.” This confuses trial-wide representation with support in the periods contributing to the target. The correction is to examine each relevant period (and relevant assignment history): a large early control group cannot supply direct treated outcomes for a late period when treatment allocation there was nearly absent.
- Do not equate a nonzero probability with adequate information. A probability of 0.01 is positive, but it may yield very few treated participants.
- Do not interpret large weights as extra data. They expand representation in the weighted calculation but do not increase the number of independently observed outcomes.
- Do not treat a model prediction as observed overlap. Regression may fill a gap by extrapolation; state that dependence clearly.
- Do not silently change the target. Removing a poorly supported period changes the population or time distribution to which the effect refers.
The central limitation is that diagnosis does not itself repair a weak design. Extreme weights may produce unstable estimates, while model-based estimates in unsupported periods rely on assumptions that the data cannot check well. The appropriate interpretation distinguishes what is estimable with direct support from what is inferred through modeling.
Check Your Understanding
Answer each question, then compare with the solutions below.
- In a period with 80 participants and treatment probability 0.05, what are the expected treatment and control counts, and what is the treatment weight?
- Why does a treatment probability of 0.02 not guarantee a stable treatment-effect estimate in a period?
- A target assigns positive weight to a period with no treated participants. Can inverse-probability weighting recover that period’s treatment mean from the observed data?
- Why does restricting a target to periods with better overlap change the interpretation of the estimated effect?
Solutions. (1) The expected treatment count is \(80(0.05)=4\), and the expected control count is \(80(0.95)=76\). The treatment weight is \(1/0.05=20\). (2) The probability is positive, but the expected treated count may be small and the realized count may be smaller still; a few large-weight outcomes can dominate the estimate. (3) No. With no treated observations in that period, its treatment mean is not represented in the observed data, and no finite inverse-probability weight can supply it. (4) The target weights specify which periods contribute to the effect. Setting the weight of a period to zero removes that period from the target and therefore defines a different time-averaged effect.