ResearchGPT
← Back to search Memory Lane Recent answers
Cited source trail

Treatment unit size/level vs statistical power

Original question
Summarize https://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/ and how much statistical power will experiment have if we have larger bins vs smaller bins in test and control groups
Next step

Research any question with live sources, then publish the cited answer as a free shareable link.

I've now read the full article (including the sections beyond the initial truncation), the companion switchback post, and the cluster-randomization power literature. Here's the continuation. ## 1. What the DoorDash post actually argues Switchbacks randomize **region × time "units"** rather than users/deliveries, because assigning one delivery to a Dasher changes the Dashers available for other deliveries — a network effect that invalidates ordinary A/B tests ([DoorDash](https://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/)). The data is therefore **nested**: many deliveries inside one region-time unit. The post compares four analysis methods on simulated switchback experiments built from weeks of real delivery data (synthetic AA and AB tests with a known injected effect): | Method | Main finding from the post | |---|---| | Delivery-level t-test (`Duration ~ bucket`) | Highest raw power, but **false positive rate 0.62** — it ignores the nesting and badly underestimates variance | | Unit-level t-test (aggregate to one number per region-time unit) | Corrects the variance problem, but has **much lower power** — aggregating turns e.g. 20 deliveries into a single data point | | Unit-level + variance-reduction covariates (time of day, week, region, order value) | Improves power, but **never closed the gap** to MLM, and risks bias from wrong/omitted covariates | | Multilevel model (MLM) with `unit_id` as a random effect | **Lowest false positive rate (0.03)** and **0.93 power** — the recommended method | The variance intuition is stated explicitly: a t-test only estimates variance correctly when the intraclass correlation (ICC) is 0, which is impossible with nested switchback data; MLM instead incorporates both **between-unit** and **within-unit** variance. Using MLM cut the time needed for significance by **~30%** versus unit-level analysis ([DoorDash](https://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/)). ## 2. On "larger bins vs smaller bins" Important caveat first: **the article never uses the word "bins" and reports no power numbers by bin size.** It only compares *analysis methods* on one (undisclosed) unit granularity. The unit itself is defined as a region × time window — the companion post says DoorDash switched treatment/control **every 30 minutes** per region, with each time window an independently randomized experimental unit ([DoorDash](https://careersatdoordash.com/blog/switchback-tests-and-randomized-experimentation-under-network-effects-at-doordash/)). So "bin" here = the randomized region-time block, not the test/control groups (each whole bin goes entirely to one arm). **Direction of the answer: at a fixed total delivery volume, larger bins give you strictly less power; smaller bins give you more power — until contamination and noise eat the gain.** The mechanism is exactly the one the post describes with its "20 deliveries become 1 unit" example. Power in a switchback is driven by the number of **independent randomized units**, not the number of deliveries. The standard cluster-randomization variance inflation factor is: $$\text{Deff} = 1 + (m-1)\rho, \qquad \text{Var} = \frac{\sigma^2}{k\,m}\,[1+\rho(m-1)]$$ where *m* = deliveries per bin, *k* = number of bins, ρ = ICC ([PMC/design effect](https://pmc.ncbi.nlm.nih.gov/articles/PMC6477104/)). With total deliveries *N·m* held constant, variance is proportional to Deff, so **MDE ∝ √Deff**. Illustrative arithmetic (my calculation, assuming ICC = 0.05 and a fixed 100,000 total deliveries — the post does not disclose its ICC): | Deliveries per bin (m) | # independent units (N) | Deff = 1+(m−1)·0.05 | Effective sample size | MDE vs. m=10 | |---|---|---|---|---| | 10 | 10,000 | 1.45 | ~69,000 | 1.00× | | 50 | 2,000 | 3.45 | ~29,000 | 1.54× | | 200 | 500 | 10.95 | ~9,100 | 2.75× | Consequence for power at a fixed true effect: an effect that had **80% power with 10-delivery bins** would have roughly **44% power with 50-delivery bins** and **~17% power with 200-delivery bins** — purely from the loss of independent units. That is the quantitative version of "larger bins → less statistical power." The BMJ paper formalizes the same point: cluster trials show **"diminishing returns in power and precision as cluster size increases"**, and the number of clusters and cluster size must be chosen **concurrently, not independently** ([BMJ 2017;358:j3064](https://www.bmj.com/content/358/bmj.j3064)). ### Why you can't just shrink bins forever - **Spillover/carryover.** A bin must be long/large enough that the marketplace reaches quasi-steady state after a switch and Dashers don't leak across regions — otherwise treatment bleeds into control, which is the whole reason switchbacks exist. - **Noisy per-unit estimates.** Small bins mean each unit's mean outcome is measured with more noise; the post literally shows unit-level analysis can *directionally diverge* from delivery-level results in low-volume units like 1am ([DoorDash](https://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/)). - **The limit is not a win.** Push bins down to one delivery each and you are back to the delivery-level t-test with its **0.62 false positive rate** — nominally high power, actually a broken test. ### Bottom line - **Same data, bigger bins → lower power.** More deliveries inside a unit adds almost no independent information; effective n is roughly *N·m* / (1+(m−1)ρ), and MDE grows with √Deff. - **Same data, smaller bins → higher power**, bounded by carryover/spillover and by how noisy each small unit's mean is. DoorDash's operational answer was ~30-minute region-time windows. - **The real power lever is more independent units** (more regions × more time windows, or longer experiments) plus using an MLM that exploits within-unit variation — that is what got DoorDash 0.93 power at 0.03 FPR and ~30% faster iteration. - **Unknown from the source:** the ICC, the effect size, and the exact unit counts in DoorDash's simulation, so the 0.93 figure can't be directly rescaled to your experiment. You'd need to plug your own ρ, m, and unit count into the formula above.
1navigatehttps://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/
2get_text
3ddm--text --find power
4js_evalwindow.scrollTo(0, document.body.scrollHeight/2); new Promise(r=>setTimeout(()=>
5ddm--text --find bin
6ddm--text --find Results
7js_evaldocument.body.innerText.length
8js_evalJSON.stringify({tag: document.documentElement.tagName, t: (document.documentElem
9js_evalJSON.stringify({b: !!document.body, tc: document.body && document.body.textConte
10js_evalJSON.stringify({bin: (document.body.textContent.match(/bin/gi)||[]).length, idx:
11js_evalJSON.stringify({s: document.body.textContent.slice(14000,22773)})
12js_evalJSON.stringify((()=>{const t=document.body.textContent.toLowerCase(); let i=-1,r
13js_evalJSON.stringify(Array.from(document.querySelectorAll('img')).map(i=>({alt:i.alt,s
14searchDoorDash "Switchback Tests and Randomized Experimentation Under Network Effects" blog
15navigatehttps://careersatdoordash.com/blog/switchback-tests-and-randomized-experimentation-under-network-effects-at-doordash/
16searchdesign effect intraclass correlation cluster randomized trial statistical power fewer larger clusters
17navigatehttps://www.bmj.com/content/358/bmj.j3064
18js_evalJSON.stringify((()=>{const t=document.body.textContent; const out={}; ['power','
19navigatehttps://careersatdoordash.com/blog/experiment-rigor-for-switchback-experiment-analysis/
20js_evalJSON.stringify((()=>{const t=document.body.textContent;let i=-1,s=[];while((i=t.
21navigatehttps://crt-power.com/methods/cluster-randomized-trials/design-effect
22navigatehttps://pmc.ncbi.nlm.nih.gov/articles/PMC6477104/
Shared by Zhimin Zou · Nov 9, 2026

Ask your own question

Search live sources for a question you choose. You can publish the cited answer as a free link.