InterviewStack.io LogoInterviewStack.io

Hypothesis Testing and Inference Questions

Fundamental framework and application of hypothesis testing and statistical inference. Topics include formulating null and alternative hypotheses, understanding Type I and Type II errors, interpreting p values and confidence intervals, selecting and applying common tests such as t tests, chi square tests, analysis of variance, and non parametric alternatives, checking test assumptions, and discussing statistical versus practical significance. Candidates should explain power, significance levels, effect sizes, and common pitfalls such as misinterpreting p values or violating independence assumptions. At more advanced levels, discuss limitations of null hypothesis significance testing, alternatives such as Bayesian inference, and guidance for when different approaches are appropriate.

HardTechnical
30 practiced
You want to test whether two predictive models produce significantly different AUCs on the same holdout set. Describe how to construct a permutation test for the paired AUC difference: choose what to permute (labels or model predictions), preserve pairing, compute the null distribution and p-value, and discuss approximations for large sample sizes.
HardTechnical
28 practiced
In high-dimensional testing with correlated features, standard Benjamini-Hochberg may not control FDR as intended. Explain statistical approaches to handle dependence: Benjamini-Yekutieli correction, permutation-based FDR estimation, hierarchical testing, and empirical Bayes methods such as Storey's q-values. Discuss trade-offs in power, computational cost, and interpretability.
MediumTechnical
31 practiced
Describe bootstrap methods for estimating confidence intervals for complex statistics in production analytics. Compare the bootstrap percentile interval, bias-corrected and accelerated (BCa) interval, and the bootstrap-t interval. Discuss computational considerations, when bootstrapping is preferable to parametric formulas, and how to handle dependent or clustered data.
MediumTechnical
27 practiced
You're analyzing thousands of features for correlation with churn. Design a practical pipeline to conduct high-dimensional hypothesis testing that scales, controls the false discovery rate, and produces an actionable ranked list of candidate features for downstream validation. Address p-value computation, multiple-testing adjustment, dependence between tests, and reporting conventions.
MediumTechnical
30 practiced
Contrast Bayesian inference with frequentist null-hypothesis significance testing in the context of A/B tests. Discuss how each framework expresses uncertainty, how p-values differ from posterior probabilities, and practical reasons you might choose a Bayesian approach for product experiments.

Unlock Full Question Bank

Get access to hundreds of Hypothesis Testing and Inference interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.