Can stratified blocks of 3 split 453 people 237 to 216?

A pregnancy-weight trial reports 1:1 stratified blocks of 3 and an arm split of 237 and 216. We simulate how big a gap each design leaves, and why a block of 3 cannot hold 1:1.

Randomised trials describe how people were allocated so that readers can judge fairness. A 2026 trial of an app for weight gain in pregnancy gives a clear description: stratified, permuted blocks of size 3, ratio 1:1, run by an outside vendor. It also reports how many women ended up in each arm: 216 and 237. Those two statements raise two questions that a randomisation generator can answer in a minute. Can a block of 3 hold a 1:1 ratio at all? And how big a gap between the arms would that design leave in 453 people? This article asks them with the randomisation list generator tool. For planning how many people a trial needs see sample size, and for judging the size of a difference, effect size converter. We do not claim anything went wrong in the trial; we show what the stated design implies.

The paper in brief

The GROWell trial tested a smartphone and text-message programme aimed at diet quality in pregnant women in California with a BMI of 25 to 42. Of 567 women who consented, 114 withdrew before randomisation, leaving 453 randomised: 216 to the programme and 237 to an educational attention control. The outcomes were excess gestational weight gain (35 % against 36 %) and weight retained 6 months after birth (23 % against 26 %), and the programme made no clear difference to either. Follow-up was incomplete: 268 women (117 and 151) were reached at 6 months.

The randomisation is described as computer-generated and stratified by three variables (BMI category, race and ethnicity, and how the woman was recruited), using permuted blocks of size 3 at an allocation ratio of 1:1. A permuted block is a short run of allocations in which the right number of each arm appears in a shuffled order, so the arms stay close to balanced all the way through. The number of strata and the numbers in each are not reported.

Checked with the tools

All numbers below are our simulation of the design as stated, with assumptions marked. The paper’s data are not used beyond the group sizes and the follow-up counts.

Step 1: a block of 3 cannot be 1:1. A permuted block must contain every arm in the exact ratio. With two arms at 1:1, each block holds equal numbers of each, so its size must be a multiple of 2. The tool refuses it: “Block size 3 does not work: with a 1:1 ratio every block size must be a multiple of 2”. Blocks of 3 do fit a ratio such as 1:2, where each block has one of one arm and two of the other (12 people in blocks of 3 gives 4 and 8). So the description as printed can’t be implemented literally; perhaps the block size, or the ratio, or the number of arms is stated wrongly, or the blocks were of varying size. We cannot tell which.

Step 2: how big a gap does a proper design leave? We assigned 453 people at random to a number of strata (our assumption: equally likely), gave each stratum its own list from the tool’s generator, and recorded the final difference between the arms. We repeated this 300 times for each design and number of strata.

Strata Simple randomisation Blocks of 2 Blocks of 4 Blocks of 6
1 18.3 1.0 1.0 1.2
10 17.6 1.8 2.4 2.9
30 16.2 3.4 4.0 5.0
60 17.1 4.6 5.6 6.8

(mean final gap between the arms, in people)

Final gap between the arms, 453 peopleFinal gap between the arms, 453 people051015201102030405060Number of strataMean gap (participants)observed gap 21SimpleBlocks of 2Blocks of 4Blocks of 6fibub.com
Figure 1. The average final gap between the arms for 453 people, by design and number of strata (300 simulated trials per point). The dashed line is the 21 seen in the trial.

A stratified blocked design keeps the arms within a few people of each other even with 60 strata, because each stratum’s last, part-filled block can be off by at most half its size. The gap of 21 seen in the trial is far outside that: in 300 simulated trials per point, the share reaching a gap of 21 was 0 % at every number of strata for blocks of 2 and 4, and for blocks of 6 only 0.3 % at 30 strata and 0.7 % at 60.

Step 3: what does give a gap of 21? Simple randomisation, the digital coin toss. For 453 people the standard deviation of the final difference is the square root of 453, or 21.3, so a gap of 21 is almost exactly one standard deviation, and our simulations show a gap of 21 or more in about one trial in three (33 % to 39 % at every number of strata). The reported split is thus entirely ordinary for simple randomisation and unusual for the stated blocked design.

How often a gap of 21 or more arisesHow often a gap of 21 or more arises00.10.20.30.40.51102030405060Number of strataShare of trials with gap >= 21SimpleBlocks of 2Blocks of 4Blocks of 6fibub.com
Figure 2. The share of simulated trials with a gap of at least 21. Stratified blocks stay far below simple randomisation until the strata outnumber the people they can fill.

There are innocent explanations the paper’s text cannot rule out, and we list them in the fine print. The point is not the cause: it is that the group sizes are a quick check on a described design, and the tool makes the check a one-minute job.

Step 4: the follow-up gap, with our arithmetic. At 6 months, 117 of 216 (54.2 %) and 151 of 237 (63.7 %) were reached. A plain two-proportion z test (our arithmetic, not the paper’s) gives z of about 2.06 and p of about 0.039. Even if the arms started balanced, the programme arm lost more women, which is a separate issue from randomisation.

Check Paper says Tool or our arithmetic gives
Block of 3 with 1:1 stated refused: size must be a multiple of 2
Final gap, stratified blocks of 4, 30 strata 21 observed about 4 on average, never reached in 300 trials
Final gap, simple randomisation 21 observed 21 or more in about 1 trial of 3
Retention 117 of 216 against 151 of 237 not tested in the text we used z about 2.06, p about 0.039

How we made the graphs

The charts and numbers come from scripts/blog-figures/growell-trial-stratified-blocks-of-3-allocation-imbalance-237-vs-216.mjs in fibub’s public code. It calls stratumList, makeList and rngFromText from src/lib/sci/randomise.ts, the maths behind the randomisation list generator tool, and normCdf from src/lib/sci/distributions.ts for the retention arithmetic. From the paper: 453 people, the split 216 and 237, the 1:1 ratio, blocks of 3 and the follow-up numbers. Ours: the number of strata (1 to 60), the assumption that people fall into strata equally often, the comparison blocks of 2, 4 and 6, and 300 trials per point.

How we test the maths

On every change to fibub, tests/sci.mjs runs tests/sci-tools/randomisation-list.mjs, which pins the generator against the reference code of xoshiro128** and a Python reimplementation of whole lists, and checks block balance, ratios and uniformity. New with this article, it also checks that a block of 3 with a 1:1 ratio is refused, that blocks of 3 give 4 and 8 of 12 at 1:2, and that 30 strata of 15 people in blocks of 4 (seed “growell-demo”) give 224 against 226 with no stratum off by more than one.

Check it yourself

On the randomisation list generator page:

  1. Set Arms (groups) to Intervention, Control, Allocation ratio to 1:1, Method to Permuted blocks, one size and Block sizes to 3. The tool shows the error that a block of 3 does not work with 1:1.
  2. Change Block sizes to 4, Participants per stratum to 15, and in the strata box type three lines: BMI: a, b, c then Race: a, b, c, d, e then Source: clinic, social. Set Seed to growell-demo. The table shows 30 strata, each with 8 and 7 (or 7 and 8) people; adding the Intervention column gives 224 and the Control column 226.
  3. Switch Method to Simple (like a coin toss) and read the same table: single strata now drift by several people, which is what builds a final gap like the trial’s.
  4. Set Allocation ratio to 1:2, Block sizes to 3, Participants per stratum to 12 and empty the strata box: the counts are 4 and 8.

What researchers can use it for

  • Check a protocol’s own wording. Block sizes must be multiples of the ratio total; the tool refuses ones that are not, so a sentence in a methods section can be tested directly.
  • Predict the group-size gap before recruiting, given the number of strata you plan, and decide whether a coarser stratification would keep the arms closer.
  • Check a published split against the design: simulate the stated design many times and see how often a gap that large arises.
  • Make the list reproducible. The tool’s seed and documented generator let anyone regenerate a list, which helps reviewers and auditors.
  • Teach allocation concealment and balance with a hands-on comparison of simple and blocked lists.

The fine print

  • Our numbers assume 453 people fall into strata at random with equal chances. Real strata are uneven, with many nearly empty ones, which leaves more part-filled blocks and a larger gap than we show; the paper does not report the strata sizes.
  • Innocent explanations for a gap of 21 include a typing slip in the block size or ratio, allocation that varied block sizes or used several lists, allocation continuing after some women were later found ineligible, or the reported arms being counts at a later stage than randomisation. The paper’s text does not say.
  • The follow-up z test is a plain approximation and ignores that outcomes may be missing for different reasons.
  • This article is about trial design and arithmetic. It makes no claim about the app, pregnancy weight, or any person, and is not medical advice.

Sources

  • Simmons LA, Phipps JE, Castro-Alvarez S, Smith P, Overstreet C, Patrikeyeva A, Gilliland P, Keeton VF, Noonan D (2026), A randomized digital behavioral intervention for prenatal and postpartum weight outcomes in women with overweight or obesity: the GROWell trial, BMC Pregnancy and Childbirth 26: 368, doi:10.1186/s12884-026-08846-3. Licence CC BY 4.0 (stated in the Crossref record, checked 2026-11-24; the publisher page showed open access and the Author(s) copyright line without naming the licence); no update-to entry in Crossref. Values used here: 453 pregnant women randomised (216 to the GROWell app, 237 to an attention control), after 567 consented and 114 withdrew before randomisation; computer-generated stratified randomisation by a third-party vendor, permuted blocks of size 3, allocation ratio 1:1, three stratification variables (pre-pregnancy BMI category, race and ethnicity, recruitment method), with the number of strata and their levels not given; excess gestational weight gain in 35 % (intervention) and 36 % (control); postpartum weight retention in 23 % and 26 %; 6-month follow-up with 268 participants (117 and 151). Group sizes and rates only; no table is reproduced here.

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next