KatInterview

Early Attrition Metrics and a Guided Onboarding A/B Test

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingchurnmetric-design

Last updated

Critique a "no first payroll in 30 days" churn definition for a B2B payroll product, handle late returners, and design a business-level A/B test for a new guided onboarding flow.

Scenario

You are a data scientist at a B2B payroll and HR software company. Leadership is worried that too many new accounts drop off before they ever get going. Product has built a Guided Setup onboarding flow that would replace the current Manual Setup flow, and you are asked to help evaluate it.

A business counts as an active customer once it completes its first payroll run. The current team definition of churn is:

A business that signed up but did not complete its first payroll run within 30 days of registration.

Part 1: Metric definition

  1. Name three weaknesses in this definition. For each, explain what behavior it misclassifies and how you would change the definition.
  2. Some businesses stop setup, then come back on day 35 or later. Are they churned? If they eventually run payroll, how should your data pipeline and reported metrics treat them?

Part 2: Experiment design

Design an A/B test to decide whether Guided Setup reduces early attrition. Cover:

  • Randomization unit: individual user or business account? Justify the choice.
  • Metrics: one primary success metric and at least one secondary or guardrail metric that would catch harm to the customer experience.
  • Duration: setup can take weeks. How do you decide when to stop and read the result without waiting many months, while keeping the statistics valid?
  • Seasonality: how do you prevent calendar effects such as year-end or tax season from distorting or limiting the conclusions?

Give a structured answer, state your assumptions, and mention the trade-offs.

Hints

Hint 1

Ask whether a business that never ran payroll was ever a customer. Is 'did not activate' the same thing as 'churned'?

Hint 2

Treat the outcome as time-to-event data. Someone still in setup has not failed, they have simply not been observed long enough (right-censoring). Store raw timestamps and derive labels as of a date.

Hint 3

Think about who actually touches onboarding in a company (owner, office manager, accountant). That should drive the randomization unit, and possibly a clustering issue for accountants with many clients.

Hint 4

For duration, combine pre-registration, survival analysis that keeps censored users, sequential testing boundaries, and validated early indicators. Remember that randomizing concurrently removes seasonal bias but not seasonal interaction.