When analyzing experiments with multiple metrics, adjustments control the overall false positive rate. The Stats API uses decision rules to determine how to adjust alpha and power levels for each metric.Documentation Index
Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
Use this file to discover all available pages before exploring further.
Decision Rules
The analysis plan contains adecisionRule object that specifies how metrics combine to form an overall shipping decision. The decision rule uses AND and OR operators between hypotheses.
Structure
How Adjustments Work
The multiple comparison adjustments control the false positive rate of the overall decision rule using:- Union-intersection testing for OR conditions (at least one must be significant)
- Intersection-union testing for AND conditions (all must be significant)
Default Behavior
If you don’t specify a decision rule, the API applies a Bonferroni multiple testing correction. This divides the alpha level by the number of hypotheses.Example: Success and Guardrail Metrics
A common pattern tests for improvement in a success metric while ensuring guardrails pass:Related Resources
Multiple Comparisons
Learn about multiple comparison concepts
Create Analysis Plan
Set up your analysis plan
Statistical Tests
Understand test types
Analyze Results
Understand decision rules

