KatInterview

Debugging a Retention Drop in a Button-Color Experiment

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingsample-ratio-mismatchcovariate-balance

Last updated

A product test shows lower retention after a button turned red. Explain how to rule out assignment, balance, metric and statistical artifacts before blaming the color.

Scenario

Your team ran a randomized experiment on a call-to-action button. Control users saw a green button and treatment users saw a red one. When the results came in, treatment retention was lower than control. Some stakeholders think the way users were split between the two groups, rather than the color itself, may be responsible.

Question

Walk through how you would determine whether the traffic split could explain the retention drop. Specifically:

  1. Which diagnostics and balance checks would you run, and in what order?
  2. Which statistical tests would you use for each check?
  3. What would convince you that the drop is a genuine effect of the red button, and what would convince you it is an artifact?

State what you would do if a check fails, and describe the decision you would make at the end.

What a good answer covers

  • Validity checks on the assignment mechanism itself
  • Comparability of the two groups before treatment
  • Fair computation of the retention metric across groups and over time
  • Robust statistical inference, including how the stopping decision was made
  • Segment-level analysis and its pitfalls
  • A clear decision rule

Hints

Hint 1

Start with the cheapest check that can invalidate everything: do the observed group sizes match the intended split? A goodness-of-fit test on counts is the first step.

Hint 2

If the allocation percentage changed during the test, or the groups differ in when users joined, a pooled comparison can show a gap even when each day shows none. Think about stratifying by enrollment date.

Hint 3

Check how the result was reached: was the test stopped early after repeated looks? Also confirm that the retention window had fully elapsed for every user counted, and that segment findings are corrected for multiple comparisons.