InterviewStack.io LogoInterviewStack.io

Statistical Foundations for Experimentation Questions

Core statistical concepts and inference needed to design analyze and interpret experiments. Topics include hypothesis testing p values confidence intervals Type One and Type Two errors the relationship between sample size variability and interval width statistical power minimum detectable effect and effect size versus practical significance. Candidates should be able to choose and explain common statistical tests such as t tests and chi square tests contrast Bayesian and frequentist approaches at a conceptual level and describe variance estimation and variance reduction techniques. The topic covers corrections for multiple comparisons sequential testing and the risks of peeking and p hacking common misconceptions about p values and limitations of inference such as confounding and selection bias. Candidates should also be able to translate statistical findings into clear language for non technical stakeholders and explain uncertainty and limitations.

MediumTechnical
49 practiced
Instrumentation produced duplicate events only in the treatment group. Explain how this measurement error biases the estimated treatment effect, list diagnostic checks you would run (event-level logs, dedup keys, user-level counts, SDK versions), and describe how you'd correct the analysis and the process to decide whether to roll back or re-run the experiment.
MediumTechnical
49 practiced
Many product metrics are ratios (e.g., revenue per user). Discuss pros and cons of reporting percentage change vs absolute difference. When is log transformation appropriate for ratio metrics, and how does the choice of aggregation (sum of revenue / sum of users vs mean of per-user revenue) affect variance estimation and potential bias?
HardTechnical
62 practiced
A small subset of users ('whales') generate outsized revenue, causing very high variance for revenue-per-user. Propose variance-reduction and robust estimation techniques (winsorizing, trimming, log transform, median metrics, heavy-tail robust estimators, reweighting) and discuss the bias introduced by each method, the effect on power, and criteria for selecting one approach in a product experiment.
HardTechnical
50 practiced
Implement an inverse probability weighting (IPW) estimator in Python to estimate the average treatment effect (ATE). Inputs: arrays treatment (0/1), outcome, propensity (probability of treatment). Include stabilized weights, clipping extreme weights, and compute a robust standard error for the ATE. Signature: def ipw_ate(treatment, outcome, propensity, clip=0.01): return {'ate': ..., 'se': ...}. Discuss pitfalls and diagnostics.
HardTechnical
53 practiced
You have daily aggregated counts for control and treatment over 30 days in two pandas DataFrames with columns ['date','conversions','users'] and treatment started on day 11. In Python, describe and implement an approach using time-series regression to estimate the treatment effect while accounting for temporal autocorrelation (for example, include lagged dependent variable or AR(1) errors). Explain how you'd compute robust confidence intervals.

Unlock Full Question Bank

Get access to hundreds of Statistical Foundations for Experimentation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.