How to increase the power of an A/B test when you have little data and time is running out

Anastasia Sokolova20 Sep 2023

Problem

An analyst at Dodo ran an A/B test on how the app asks users for geolocation. Users who share their location order more often, because choosing an address is simpler. The test started together with an app-version rollout, so the first 2-3 weeks of data were unusable. Only a little over 10 days remained, too few for a daily analysis, and the business was waiting.

Example from the article: three groups of unauthorized users in Russia: a system pop-up at the map step (control), a system pop-up at the suggests step, and a custom pop-up explaining that location improves suggests.

Solution in brief

The analyst computed the metric per hour instead of per day: 240 observations instead of 10, and calculated power rose from 10% to 60%. She split the hourly data by time of day and compared groups with z- and t-tests. No variant beat the control, but one was worse at every time of day.

Questions this case answers
  • How to raise the statistical power of a short A/B test on a proportion metric when the number of days is fixed and the sample cannot grow
  • How to keep an experiment readout clean when the treatment ships together with a gradual release that changes who is exposed
  • How to analyze an A/B test when only about ten clean days of data are left and the business wants a decision?
  • How to get more observations from a short experiment without bootstrap?

Tools and methods

  • Power analysis / MDE calculator — power before and after the change of granularity.
  • z-test for proportions — compare the share of users with geolocation.
  • t-test (unequal variances) — compare counts per interval, log-transformed if not normal.
  • Hourly aggregation with time-of-day segments — more observations, compared per segment.
Continue reading — it's free

Google or a one-time email code. No password.