Tutorials › Propensity Score Matching and Instrumental Variables › Defining The Hypothetical Assignment Mechanism

Target-Trial Protocols · Tutorial 88 of 699

Defining The Hypothetical Assignment Mechanism

Learn to state who is randomized, when assignment occurs, and how the allocation rule determines assignment probabilities and expected group sizes.

Advanced 10 min read

What You'll Learn

  • Distinguish individual randomization from cluster randomization.
  • Specify allocation timing, ratio, and whether allocation is fixed or probabilistic.
  • Calculate marginal and joint assignment probabilities under complete randomization.
  • Determine expected assigned group sizes under cluster randomization.
  • Diagnose mismatches between a stated assignment mechanism and how a study would operate.
  • Compare randomization schemes without confusing assignment with treatment adherence.

Why Specify the Assignment Mechanism?

A trial protocol needs more than a list of treatment strategies. It must say how eligible participants would be assigned to those strategies. “Participants are randomized” is incomplete: randomization could occur person by person, by clinic, or within prespecified strata; it could use a fixed allocation ratio or another probability; and it must occur at a stated point relative to the start of the assigned strategies.

The assignment mechanism is part of the hypothetical experiment that gives a causal question its meaning. It identifies the unit that receives an assignment and the rule governing that assignment. A hypothetical assignment rule should be operational: a reader should be able to determine who or what is randomized, when that happens, and the probability of each possible assignment.

Definition: An assignment mechanism is the rule or probability distribution by which eligible participants, or groups containing them, are allocated to treatment strategies in a trial. It specifies the randomization unit, allocation probabilities, any restrictions such as fixed group totals or stratification, and the point at which assignment occurs.

Let \(A_i=1\) indicate that participant \(i\) is assigned to strategy 1, and \(A_i=0\) indicate assignment to strategy 0. Let \(Y_i(1)\) and \(Y_i(0)\) denote that participant’s potential outcomes under the two strategies. In a randomized trial, the allocation rule determines the distribution of \(A_i\); it does not determine which strategy a participant actually follows after assignment. Assignment and adherence are distinct.

What the Protocol Must State

A useful specification identifies at least four features. First, state the allocation unit: an individual participant or a cluster such as a clinic. Second, state when allocation occurs, in relation to eligibility and the start of the assigned strategy. Third, state the allocation ratio, such as 1:1 or 2:1. Fourth, describe any restrictions on the randomization, such as fixed totals, blocks, or strata.

A timing statement should make clear that the allocation is made before the participant begins the strategy to which they are assigned. If an assignment is made only after observing a post-assignment event, the protocol no longer describes the same allocation process for all eligible participants. The exact ordering of eligibility assessment, assignment, and follow-up is an important design issue, but the assignment specification should at minimum identify when the allocation rule is applied.

When each person is randomized independently with probability \(q\) to strategy 1, the number assigned to strategy 1 is random. Under complete randomization, by contrast, a fixed number \(n_1\) of \(N\) participants is selected for strategy 1. Each participant still has marginal assignment probability \(n_1/N\), but assignments are dependent because the total is fixed.

Key distinction: “Each participant has probability one-half of assignment to strategy 1” does not by itself say whether assignments are independent. Independent Bernoulli assignment and complete randomization can have the same individual probability but different joint probabilities and different distributions of group sizes.

Worked Example: Individual Complete Randomization

Suppose a hypothetical trial enrolls \(N=240\) participants and uses complete 1:1 randomization, assigning exactly 120 participants to each strategy. The 120 assigned to strategy 1 are selected uniformly from all possible subsets of 120 participants.

Marginal probability. By symmetry, each participant has probability \(120/240=0.500\) of assignment to strategy 1.

Joint probability. For two distinct participants \(i\) and \(j\), the probability that both are assigned to strategy 1 is \(P(A_i=1,A_j=1)=(120/240)(119/239)=0.2490\). This is slightly less than \(0.500^2=0.2500\), because assigning one participant to strategy 1 leaves one fewer of the 120 available places for the other.

Implication. The expected number assigned to strategy 1 is exactly 120, and the actual number is fixed at 120 by design. The assignments are not independent, even though every participant has the same marginal probability of assignment.

A stratified or blocked scheme adds restrictions to the allocation. For example, the protocol might randomize separately within each prespecified site or within groups defined by baseline risk. This can help ensure representation across those categories, but the protocol must say how the restrictions operate and what allocation probabilities result. It is not enough to name “stratified randomization” without defining the strata and the allocation rule within them.

Worked Example: Stratified Allocation With Fixed Totals

Consider a hypothetical individually randomized trial with two prespecified strata. There are 60 participants in stratum A and 40 in stratum B. The protocol uses complete 1:1 randomization separately within each stratum.

In stratum A, 30 of 60 participants are assigned to each strategy. In stratum B, 20 of 40 are assigned to each strategy. Thus, the overall total is 50 participants per strategy, and each participant has marginal probability \(0.500\) of assignment to strategy 1.

The allocation rule also guarantees that each strategy receives 30 participants from stratum A and 20 from stratum B. This is more specific than overall 1:1 complete randomization, which would fix the total at 50 per strategy but would not necessarily fix the stratum-specific totals. The example assumes that all 100 participants are enrolled and classified into strata before their allocation, and that the stated randomization is carried out within each stratum.

Cluster-Based Assignment

In cluster randomization, a group rather than an individual receives the assignment. For example, clinics might be assigned to different care strategies, with participants at a clinic receiving the strategy assigned to that clinic. If \(A_j\) is the assignment of clinic \(j\), then each participant \(i\) in clinic \(j\) has \(A_i=A_j\) under this design.

The protocol should name the clusters, specify how many clusters are assigned to each strategy or the probability of each cluster’s assignment, and explain how participants are associated with clusters for purposes of the assignment rule. If clusters vary in size, a 1:1 allocation of clusters does not imply that exactly half of participants are assigned to each strategy. Nor should individual assignment probabilities be treated as independent when all participants in a cluster share the same assignment.

Worked Example: Expected Participant Count Under Cluster Randomization

Suppose a hypothetical trial has 12 clinics with patient counts of 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, and 85. The protocol assigns exactly 6 clinics to strategy 1, choosing uniformly among all sets of 6 clinics. All patients at an assigned clinic receive that clinic’s assignment.

Check the total. The patient count is \(30+35+40+45+50+55+60+65+70+75+80+85=690\).

Each clinic has probability \(6/12=0.500\) of assignment to strategy 1. Therefore, the expected number of patients assigned to strategy 1 is the sum of the expected contributions from each clinic: \(0.500(690)=345\) patients.

This is an expectation, not a guaranteed group size. Because the clinics have unequal numbers of patients, a random set of six clinics need not contain exactly 345 patients. The design fixes the number of clinics per strategy, not the number of patients. The calculation assumes the listed clinic sizes are fixed for the assignment and that exactly six clinics are selected uniformly.

Why the Randomization Rule Matters

Under a correctly implemented randomized assignment, the assignment is generated independently of participants’ potential outcomes, in the sense specified by the randomization design. This is the central reason random allocation can support causal comparisons. The design does not guarantee that the realized groups will be identical in every baseline characteristic; randomization balances characteristics in expectation under the allocation procedure, not necessarily in a particular sample.

The level of randomization also matters for the analysis and interpretation. In an individually randomized trial, the allocation varies person by person. In a cluster-randomized trial, assignment is shared within clusters, so the number of independent assignment units is the number of clusters, not the number of people. Treating all people as if they had been independently randomized would misrepresent the assignment process and can produce uncertainty estimates that are too small.

For an observational study that emulates a hypothetical trial, the protocol still states the trial’s intended assignment mechanism. The observed treatment decisions in the data may not follow that random mechanism. A description of the hypothetical randomization must not be mistaken for evidence that treatment was actually randomized; the emulation must address the differences between the target trial’s assignment and treatment received in routine care.

Diagnostics, Alternatives, and Failure Modes

Before treating the assignment specification as coherent, check whether the rule could actually be carried out. Confirm that allocation occurs at the stated unit, that the allocation ratio and restrictions are explicit, and that the participant or cluster counts make the stated fixed totals possible. For a stratified design, verify that the strata are defined before allocation and that the within-stratum rules are stated. For cluster assignment, check the number and sizes of clusters and whether the intended assignment is truly shared within each cluster.

In a completed randomized trial, allocation records can be checked against the stated rule: group counts, stratum-specific totals, and cluster assignments should be consistent with it. A baseline table can describe observed imbalances, but a significance test of baseline differences is not a test that randomization was properly performed. Chance imbalances can occur under valid randomization; apparent balance does not prove that assignment was random.

The main alternatives differ in what is randomized and what is held fixed. Independent individual assignment makes each person’s assignment a separate random draw, so group sizes can vary. Complete individual randomization fixes group totals, creating dependence among assignments. Cluster randomization assigns groups and can be appropriate when delivery is inherently group-based, but it may yield unequal participant totals and fewer independent assignment units. Stratified or blocked randomization imposes additional balance restrictions across specified categories. A nonrandom usual-care allocation rule may describe actual practice, but it is not random assignment.

Assignment approachWhat is randomized?What is fixed or controlled?Key implication
Independent individual assignmentEach participantUsually the assignment probability, not group totalsGroup sizes vary by chance
Complete individual randomizationA fixed-size subset of participantsExact participant totalsIndividual assignments are dependent
Cluster randomizationClinics or other groupsOften cluster totals per strategyParticipant totals may differ; assignment is shared within clusters
Stratified or blocked randomizationParticipants within prespecified groupsSpecified totals within strata or blocksAllocation rule depends on stratum or block membership

A frequent pitfall is to write “participants are randomized 1:1” when clinics, not participants, are actually allocated. The reasoning may be that every participant is in one of two arms, so the allocation is individual. The correction is to identify the unit at which the random draw occurs: if one clinic-wide draw determines the assignments of all its patients, assignment is cluster-based. Another pitfall is to infer a fixed half-and-half patient count from a 1:1 cluster allocation. With unequal cluster sizes, that conclusion does not follow, as the 690-patient example shows.

Key takeaway: State the allocation unit, timing, probabilities or fixed totals, and any restrictions. Then check that the implied assignment process matches the way the strategies would actually be allocated.

Check Your Understanding

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

  1. A trial independently assigns each of 200 participants to strategy 1 with probability 0.4. Is the number assigned to strategy 1 fixed at 80?
  2. A complete-randomization design assigns exactly 50 of 100 participants to strategy 1. What is the probability that two specified distinct participants are both assigned to strategy 1?
  3. Eight clinics are randomized, four per strategy. Does this guarantee that half of all patients receive strategy 1?
  4. What assignment unit should a protocol state when clinics are randomized and all patients at a clinic receive that clinic’s assigned strategy?

Solutions. (1) No. The expected count is \(200(0.4)=80\), but independent assignment makes the realized count random. (2) The probability is \((50/100)(49/99)=0.2475\); the assignments are dependent because the total is fixed. (3) No. It fixes the number of clinics in each strategy, not the number of patients; unequal clinic sizes can produce unequal patient totals. (4) The assignment unit is the clinic, so the protocol should describe cluster randomization and the rule for assigning clinics.

Clinical Biostats