How would you define success metrics for a new feature, propose experiments, and interpret A/B test outcomes?
Role: Data Scientist
Category: Analytics & Experimentation
Difficulty: medium
Interview Round: Other
How would you define success metrics for a new feature, propose experiments, and interpret A/B test outcomes?
Walk through the process you would follow, from the feature's goal to a launch decision. You can pick a concrete feature to make the answer specific.
```hint Start from the goal
Before naming any metric, write down which user behavior the feature is supposed to change and what else it could plausibly break.
```
```hint Decide before you look
Settle before the test starts what result would make you ship, what would make you stop, and what you would do with a flat result.
```
### Clarifying Questions to Ask
- What is the feature, which users will see it, and what problem is it meant to solve for them?
- Is success judged on short-term engagement, long-term retention or revenue, and over what time horizon?
- Can users be randomized individually, or do network effects or shared supply (a marketplace, a social graph) mean treated and control users affect each other?
- How much traffic is available, and how long can the test run?
- What does launching cost in maintenance and complexity, and how big an effect would justify that cost?
### What a Strong Answer Covers
- A primary metric tied to the feature's goal, guardrail metrics, and a reason for each choice.
- An experiment design: randomization unit, sample size and power, duration, ramp plan and holdouts.
- A decision rule set in advance that combines statistical significance, practical significance and guardrail results.
- The validity checks and pitfalls to watch when reading results, such as sample ratio mismatch, peeking, novelty effects and multiple comparisons.
- How to act on positive, negative, flat and mixed outcomes.
### Follow-up Questions
- Your primary metric rises 2% with a p-value of 0.03, but seven-day retention drops 0.5% and is not significant. Do you launch?
- How would you choose the minimum detectable effect, and what would you do if detecting it required a three-month test?
- The feature affects both buyers and sellers in a marketplace. How does that change the experiment design?
- The treatment effect is large in week one and fades by week three. How do you read that, and what do you report?
Overview: Asks how to define success and guardrail metrics for a new product feature, design an A/B test to measure it, and turn the results into a launch decision. Tests metric selection, power and duration planning, and reading results with practical significance and validity checks in mind.