Skip to content
Confidence
  • Documentation
  • Blog
  • Bootcamp
  • Status
  • Confidence Bootcamp
    • My learning
    • Intro to experimentation
      • Introduction
      • Lesson 1: Why you should experiment
      • Lesson 2: Experiment hypothesis
      • Lesson 3: Success and guardrail metrics
      • Lesson 4: Success metrics
      • Lesson 5: Set up your experiment
      • Lesson 6: Calculation frequency
      • Lesson 7: Target audience
      • Lesson 8: Sample size
      • Lesson 9: Quality assurance
      • Lesson 10: Run your experiment
      • Lesson 11: Evaluate your experiment and make a decision
      • Lesson 12: A/B tests and rollouts
      • Course wrap up
    • Intro to metrics
      • Introduction
      • Lesson 1: What is a metric?
      • Lesson 2: Metric roles
      • Lesson 3: Time considerations
      • Lesson 4: Capturing behavior
      • Lesson 5: Strategic metrics
      • Lesson 6: Interpretability
      • Lesson 7: Feasibility and sensitivity
      • Lesson 8: Variance reduction and metric selection
      • Lesson 9: Select metrics
      • Lesson 10: Segment-level analysis
      • Course wrap up
    • Scientific product development
      • Introduction
      • Lesson 1: Why you should experiment
      • Lesson 2: The scientific method
      • Lesson 3: Randomized controlled trials
      • Lesson 4: Experiment hypothesis
      • Lesson 5: Case study
        • Case study
        • Answers to case study
      • Lesson 6: Why do we need statistics?
      • Lesson 7: Success metrics
      • Lesson 8: Detectable effects and sample size
      • Lesson 9: Make a decision
      • Course wrap up
    • A primer on hypothesis testing
      • Introduction
      • Lesson 1: Introduction to hypothesis testing
      • Lesson 2: True vs estimated effects
      • Lesson 3: Sampling distribution of the difference-in-means estimator
      • Lesson 4: Z-tests and how to reject the null hypothesis
      • Lesson 5: False postive rate and alpha
      • Lesson 6: True positive rate, MDE, and power
      • Course wrap up
    • Intro to Feature Flags
      • Introduction
      • Lesson 1: What is a feature flag?
      • Lesson 2: Lifecycle of a feature flag
      • Lesson 3: Clients
      • Lesson 4: Evaluation context and targeting
    • Sample size calculation - I
      • Introduction
      • Lesson 1: What is the required sample size?
      • Lesson 2: Alpha and power
      • Lesson 3: Baseline mean and variance
      • Lesson 4: Sample size playground - I
    • Sample size calculation - II
      • Introduction
      • Lesson 1: Multi-metric decision making
      • Lesson 2: Number of success metrics
      • Lesson 3: Number of guardrail metrics
      • Lesson 4: Number of comparisons
      • Lesson 5: Sample size playground - II
    • Sample size calculation - III
      • Introduction
      • Lesson 1: Binary metrics
      • Lesson 2: Treatment group proportions
      • Lesson 3: Variance reduction
      • Lesson 4: Sequential testing and sample size
      • Lesson 5: Sample size playground - III
    • Advance your experimentation
      • Introduction
      • Lesson 1: Guardrail metrics with non-inferiority margins
      • Lesson 2: Choose evaluation frequency
      • Lesson 3: Metrics' roles in experiments
      • Lesson 4: Cumulative holdback evaluations
    • Experimentation culture
      • Introduction
      • Lesson 1: Onboarding into experimentation
      • Lesson 2: Empowering experimentation champions
      • Lesson 3: Sustaining the experimentation culture
    • Videos

Lesson 2: Number of success metrics

Summary

This lesson teaches you how the number of success metrics affects the required sample size in experiments. The more success metrics you have, the smaller alpha you will have to use per metric to bound the overall false positive rate for the decision below alpha. This leads to a larger required sample size. The number of success metrics doesn't affect the power you need to use per metric.


False positive rate

Recall Spotify's multi-metric decision rule:

Ship if, and only if, at least one success metric has significantly improved, and the treatment is significantly non-inferior to control in all guardrail metrics.

Each additional success metric in the experiment gives an additional chance of reaching the conclusion to ship the treatment. If each success metric is tested with a significance level of 5%, the probability of having at least one false positive increases with the number of success metrics.

To counter this, we adjust the significance level for each success metric test to keep the chance of at least one false positive at 5% or smaller. The simplest way to do this is the Bonferroni correction, where alpha is adjusted by dividing it by the number of success metrics.

Probability of at least one false positive

0.05
8
Probability that at least 1 metric is significant: 0.337

As we can see, the Bonferroni correction effectively bounds the false positive rate to be alpha% or smaller, regardless of the number of success metrics.


True positive rate

The power of the decision rule is also affected by the number of success metrics. However, instead of reducing the true positive rate, it increases it.

If each success metric is powered with 80% power, the probability of having at least one success metric with a true positive rate of 80% or larger increases with the number of success metrics. This means no adjustment to the power setting per success metric is needed to obtain the overall power for the decision rule that is at least as high as the desired level of power.


Reader exercise

How does the number of success metrics affect the required sample size in experiments?

Reader exercise

What is the purpose of adjusting alpha for each success metric in experiments?

Reader exercise

What is the simplest method to adjust alpha for multiple success metrics?


Notes for nerds

  1. False positive rate:

    • For the false positive rate, independent metrics represent the worst-case scenario. Each metric creates a completely new chance for a false positive, necessitating alpha adjustment.
  2. True positive rate:

    • For the true positive rate, the worst-case scenario is that the metrics are perfectly dependent. In this case, only one chance exists for a true positive.

If we knew the correlation structure between metrics or made assumptions about it, we could reduce the conservativeness of the alpha adjustment and decrease the power per success metric. However, such methods add complexity in understanding and interpretation.


Was this page helpful?

PreviousLesson 1: Multi-metric decision making
NextLesson 3: Number of guardrail metrics

© Copyright 2026. All rights reserved.

Follow us on XFollow us on GitHub

On this page

  1. False positive rate

  2. True positive rate

  3. Notes for nerds