InterviewStack.io LogoInterviewStack.io

Experiment Design and Practical Considerations Questions

Defining metrics to measure (primary and secondary). Estimating sample size and duration needed. Choosing between between-subjects and within-subjects designs. Considering confounding variables and how to control for them. Planning for randomization strategy. Discussing trade-offs between statistical rigor and practical constraints.

MediumSystem Design
78 practiced
Design an experiment to evaluate a new neural ranking model prioritized for different user segments (new users, light users, power users) across multiple countries. Describe the randomization scheme, sample allocation per segment, how you would control for differing baseline rates across segments, the method to test for interaction effects, and how to control family-wise Type I error while reporting segment-level results.
EasyTechnical
66 practiced
You face a high-variance metric and limited traffic. Describe the trade-offs between running a longer experiment to reach statistical power versus making a faster, less rigorous decision. Propose two pragmatic approaches (for example, sequential analysis, Bayesian credible intervals, or prioritizing different metrics) to proceed and enumerate the risks and mitigation strategies for each.
EasyTechnical
74 practiced
Explain the role of statistical power, significance level (alpha), and effect size in sample size estimation for experiments. Provide the standard formula for sample size for a two-sample test of proportions (normal approximation), and describe qualitatively how increasing or decreasing each parameter (power, alpha, effect size, baseline variance) affects required sample size. Give examples of realistic effect sizes in product experiments.
MediumTechnical
104 practiced
You are evaluating an experiment with one primary metric and 20 secondary metrics. Propose a principled approach to control false positives and discuss the practical pros and cons of Bonferroni, Holm, Benjamini-Hochberg (FDR), and hierarchical testing strategies. Recommend a strategy for exploratory vs. confirmatory reporting.
MediumTechnical
67 practiced
A primary metric is measured per-session but often aggregated per-user; sessions per user vary widely. Explain how intra-user correlation (ICC) influences experiment power and sample size. Provide the design effect formula used to adjust sample size in clustered data and describe how you would estimate ICC from historical logs and account for varying cluster sizes.

Unlock Full Question Bank

Get access to hundreds of Experiment Design and Practical Considerations interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.