Start by clarifying the experiment design and assumptions, then write Python code to compute p-values and confidence intervals for each variant vs control. After that, address multiple comparisons using a correction method, and finally make a ship/no-ship recommendation based on statistical and practical significance.
Pro tip: Always consider the business impact and practical significance, not just statistical significance. A statistically significant lift with a tiny effect size might not be worth shipping.
Confirm the data structure, metric type (e.g., conversion rate), and assumptions like independence and random assignment. Discuss whether to use a one-tailed or two-tailed test.
Write Python code using scipy.stats to perform two-proportion z-tests for each variant vs control, and calculate 95% confidence intervals for the absolute and relative lift.
Apply a correction method like Bonferroni or Benjamini-Hochberg to control the family-wise error rate or false discovery rate, and explain the trade-offs.
Interpret the results in the context of business goals, considering statistical significance, practical significance, and potential risks. Recommend shipping the best variant or continuing the experiment.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.