InterviewStack.io LogoInterviewStack.io

Experimental Design and Analysis Pitfalls Questions

Covers the principles of designing credible experiments and the common errors that invalidate results. Topics include defining clear hypotheses and control and treatment groups, randomization strategies, blocking and stratification, sample size and power calculations, valid run length and avoiding early stopping, and handling unequal or missing samples. It also covers analysis level pitfalls such as multiple comparisons and appropriate corrections, selection bias and nonrandom assignment, data quality issues, seasonal and temporal confounds, network effects and interference, and paradoxes such as Simpson paradox. Candidates should be able to critique flawed experiment designs, identify specific failure modes, quantify their impact, and propose concrete mitigations such as pre registration, A and B testing best practices, adjustment methods, intention to treat analysis, A over A checks, cluster randomization, and robustness checks.

MediumTechnical
33 practiced
Explain what an A/A test is and why you would run one. Describe specific diagnostics you'd check in an A/A run that would indicate problems with the experimentation platform (e.g., non-uniform p-values, >5% significant p-values at alpha=0.05, assignment drift). Give numeric thresholds and actions to take.
MediumTechnical
34 practiced
Design critique: The product team randomized at the cookie level for logged-in users, but many users switch devices and clear cookies. Identify specific failure modes (e.g., contamination, correlated observations), quantify possible impacts, and propose concrete mitigations such as switching to user-id randomization, deduplication, or server-side assignment.
MediumTechnical
34 practiced
Explain the trade-offs of cluster randomization. Given intracluster correlation ICC = 0.02 and average cluster size m = 50, compute the design effect and the effective sample size if you planned 10,000 individuals per arm (nominal). Show calculations and explain what the results imply for power.
MediumTechnical
57 practiced
A PM asks to stop an experiment after 3 days because the treatment currently shows +10% conversion with p<0.05. The experiment was planned for 28 days. Explain the statistical pitfalls of stopping early based on interim looks and propose practical mitigations you would recommend to the PM (both technical and stakeholder-facing).
HardTechnical
28 practiced
Define network interference and spillover effects in experiments. Provide three practical experimental designs to measure spillovers in a social app: cluster randomization, ego-network randomization, and saturation (varying treatment proportion within clusters). For each, discuss pros/cons and feasibility considerations.

Unlock Full Question Bank

Get access to hundreds of Experimental Design and Analysis Pitfalls interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.