What factors would you consider when setting metrics and constructing thresholds for success?

Quick Overview

This experiment design interview question asks how to choose the metrics that judge a product change and how to set the bar a result must clear to count as a success. It tests whether you can connect business goals, statistics and risk when you define success before a test runs.

What factors would you consider when setting metrics and constructing thresholds for success?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What factors would you consider when setting metrics and constructing thresholds for success? Take the case of an A/B test on a product change: how do you choose the metrics that decide whether it worked, and how do you set the bar a result has to clear before you call it a success? ```hint Two different minimums Separate the smallest effect the business would act on from the smallest effect the experiment is able to detect, and think about how the two should relate. ``` ```hint What else can move Think about what could get worse while the main metric improves, and about what happens when the bar is chosen after the results are in. ``` ### What a Strong Answer Covers - Criteria for choosing the primary metric, such as alignment with the goal, sensitivity and measurability within the test window - How the practical threshold follows from business value and cost - How alpha, power, variance and sample size determine the smallest effect the test can detect - Guardrail metrics and how their thresholds differ from the primary metric's - Fixing metrics and thresholds in advance, and the multiple-comparison risk of not doing so ### Follow-up Questions - Your power analysis says the smallest effect you can detect is twice the effect the business needs. What do you do? - How would you set a threshold for a guardrail metric such as page latency? - The primary metric is significantly better but a secondary metric moved the wrong way. How do you decide? - How would you handle a goal such as 90-day retention that the experiment window cannot measure?

Overview: This experiment design interview question asks how to choose the metrics that judge a product change and how to set the bar a result must clear to count as a success. It tests whether you can connect business goals, statistics and risk when you define success before a test runs.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

What factors would you consider when setting metrics and constructing thresholds for success? Take the case of an A/B test on a product change: how do you choose the metrics that decide whether it worked, and how do you set the bar a result has to clear before you call it a success?

What a Strong Answer Covers Guidance

  • Criteria for choosing the primary metric, such as alignment with the goal, sensitivity and measurability within the test window
  • How the practical threshold follows from business value and cost
  • How alpha, power, variance and sample size determine the smallest effect the test can detect
  • Guardrail metrics and how their thresholds differ from the primary metric's
  • Fixing metrics and thresholds in advance, and the multiple-comparison risk of not doing so

Follow-up Questions Guidance

  • Your power analysis says the smallest effect you can detect is twice the effect the business needs. What do you do?
  • How would you set a threshold for a guardrail metric such as page latency?
  • The primary metric is significantly better but a secondary metric moved the wrong way. How do you decide?
  • How would you handle a goal such as 90-day retention that the experiment window cannot measure?