Problem
Switchback tests randomize over time slices, not users, to handle network effects in two-sided marketplaces. There are far fewer timeslices than users, so these tests reach power much more slowly than user-level A/B tests. Teams that tune marketplace products such as pricing end up waiting too long for each result. Standard CUPED does not apply directly, because a timeslice never repeats and has no personal history.
Example from the article: Bolt's experimentation team was asked by product teams to make switchback tests faster, and tested CUPED on A/A switchback data from several cities, including one large city of about 3.5 million residents.
Solution in brief
Treat timeslices from the same weekly slot (for example Mondays 9–10 a.m.) as having a shared history. Apply CUPED in two stages: first with the pre-experiment value of the same metric for that weekly slot, then with the change in demand between the pre-experiment and experiment periods. It runs in plain SQL and needs no ML infrastructure.
Questions this case answers
- How to shorten experiments that randomize over repeating time windows instead of units, when units inside a window are correlated and the unit-level history needed for standard variance reduction does not exist
- How to make switchback tests reach statistical power faster?
- How to apply CUPED when there are no users with pre-experiment history, only repeating time slices?
- How to check that a variance-reduction method does not bias a switchback test?
Tools and methods
- CUPED — variance reduction with pre-experiment covariates, applied at timeslice level
- Switchback test — treatment alternates over time slices to handle interference
- Variance inflation factor (VIF) — corrects standard errors for correlation of users within a timeslice
- Power analysis — required sample size for 80% power, MDE 2%, alpha 0.05, used as a proxy for test duration
Google or a one-time email code. No password.