KatInterview

Two-Arm Booking Uplift: Significance, Day Clustering, and Sizing

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingtwo-proportion-z-testdesign-effect

Last updated

Analyze a one-week A/B test on booking conversion: run an unpooled z-test, apply an ICC design-effect correction, size a follow-up test, and plan heterogeneity checks.

An e-commerce team ran a one-week experiment (2025-08-26 to 2025-09-01) on a new booking flow. Only totals over the whole week are available.

ArmVisitsBookings
Control (C)10,240308
Treatment (T)10,180351

Answer the following.

  1. Point estimates. Compute each arm's conversion rate, the absolute lift (in percentage points), and the relative lift.
  2. Significance. Run a two-sided test on the difference in proportions using the unpooled standard error. Report the z statistic, the p-value, and a 95% confidence interval for p_T − p_C. State whether you used a continuity correction.
  3. Day-level clustering. Assume visits are grouped by calendar day (7 clusters per arm) with ICC = 0.01. Use the design effect DE = 1 + (m̄ − 1) · ICC, where m̄ = n_arm / 7. Compute the effective sample size n / DE for each arm and redo the p-value and CI. Explain the assumptions behind this correction and where it breaks down.
  4. Power and duration. How many visits per arm are needed to detect an absolute lift of 0.30 pp over a 3.00% baseline, with 80% power, two-sided α = 0.05, and an unpooled z-test? Show the formula. Then inflate the figure using the design effect for ICC = 0.01 and state how long the test would run if each arm gets 2,000,000 visits per day.
  5. Robustness. Describe how you would check whether the effect varies from day to day (for example a Q-test or a weekday interaction) and how the result would shape a launch decision.

Hints

Hint 1

For the unpooled test, add the two per-arm variances p(1−p)/n before taking the square root. Compute the z statistic as the observed difference divided by that standard error.

Hint 2

The design effect inflates each arm's variance by DE. Check how the answer changes when m̄ is tied to daily traffic, and ask whether a 2,000,000-visits-per-day cluster size makes sense for the formula.

Hint 3

Both arms run on the same seven days, and randomization happens at the visit or user level. Think about which day-level shocks cancel in the treatment-minus-control difference, and whether a paired-by-day analysis is more appropriate than treating the arms as independently clustered.