KatInterview

Plan, Run and Read Out a Product Experiment From Scratch

Statistics & ExperimentsModel answer
EasyModel answerStatistics & Experimentsab-testingexperimentationpower-analysis

Last updated

Describe how you would take a product change from hypothesis to launch decision using a randomized controlled experiment, covering metrics, power, validity checks, analysis and pitfalls.

A product team wants to ship a change to an existing feature and asks you to evaluate it with a randomized controlled experiment. Describe the full lifecycle, from the initial idea to the final ship or no-ship call.

Use a concrete example of your choice (for instance, a new recommendations module on an e-commerce item page) and cover the following:

  1. Hypothesis and metrics. How you state the hypothesis, and how you choose a primary metric, diagnostic metrics and guardrail metrics.
  2. Design. The randomization unit, who is eligible, how you define "exposed", how long you run, and how you handle novelty effects and seasonality.
  3. Sizing. How you decide on the minimum detectable effect, the sample size and the power. Show a rough calculation.
  4. Validity checks. How you confirm that randomization and logging worked before reading any results (for example, sample ratio mismatch).
  5. Analysis. Confidence intervals and p-values, test choice, multiple comparisons, and the problem of repeatedly checking results while the test runs.
  6. Decision. How you weigh statistical against practical significance and arrive at a launch decision.
  7. Pitfalls. Interference or network effects, noncompliance, and missing data.

Aim for a structured answer, as if you were talking an interviewer through your process in a few minutes.

Hints

Hint 1

Start with a falsifiable hypothesis that names a mechanism and an expected direction, then assign each metric a role: one decision metric, several explanatory ones, and several that must not get worse.

Hint 2

Match the randomization unit to the analysis unit, and only count users who actually reach the point where the change would appear (with the same logging applied to control). Run whole weeks so day-of-week patterns are balanced.

Hint 3

Check validity before looking at effects: compare arm sizes against the intended split with a chi-square test, verify pre-period balance, and confirm logging is equally complete in both arms.

Hint 4

For the decision, compare the confidence interval to a pre-agreed practical threshold rather than just checking p < 0.05, and fix your stopping rule up front or use a sequential method.