KatInterview

A/B Testing a Single Changed Step in a Signup Walkthrough

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingexperiment-designsample-size

Last updated

Design an experiment for one revised step in a new-user walkthrough: pick targeted metrics, choose the randomization unit, check group balance, and select tests and sample size.

Context

A B2B cloud data platform guides new sign-ups through a multi-step walkthrough. The product team has rewritten one step in that walkthrough, for example the step where a user generates credentials and sends a first test message. They want to know whether the rewrite actually makes onboarding better, and they plan to run an online experiment.

Resources in the platform (projects, credentials, clusters) belong to an organization account, and an account can contain several users.

Questions

  1. Metrics. Which primary and secondary metrics would you track that are specific to the modified step? Say how you would define each one, and which guardrail or downstream metrics you would add.
  2. Randomization. Would you randomize by user or by account? Justify the choice. Which covariates would you inspect to confirm the groups are comparable, and which diagnostics would you run before reading results?
  3. Inference and sizing.
    • Which statistical test(s) would you use for each type of metric?
    • How would you compute the required sample size and the expected runtime? Show a worked example with assumed numbers.
    • If the sample turns out to be very small, which alternative approach would you prefer?

State your assumptions explicitly, and point out the edge cases and common mistakes you would watch for.

Hints

Hint 1

Analyze only users who actually reach the changed step (triggered analysis), and define 'success' with a server-side event inside a fixed time window rather than a UI click.

Hint 2

Ask who can interfere with whom: if teammates in one account share credentials or tutorial state, user-level randomization leaks between arms, and your analysis unit must match your randomization unit.

Hint 3

Before looking at any lift, check for sample ratio mismatch and covariate balance. Then compute n per arm from baseline rate, minimum detectable effect, alpha and power, and convert it to days using daily exposed traffic.

Hint 4

For tiny samples, drop normal approximations: think exact tests, permutation tests, or a Bayesian beta-binomial comparison. Time-to-complete with non-completers calls for survival methods.