InterviewStack.io LogoInterviewStack.io

Statistical Inference and Hypothesis Testing Questions

Reasoning about uncertainty in data and drawing formal conclusions from samples. Covers probability rules and common distributions, the Central Limit Theorem, sampling, standard error, confidence intervals, and Bayesian reasoning, together with the significance-testing framework: null and alternative hypotheses, p-values, statistical power, Type I and Type II errors, effect sizes, and choosing the right test (t-test, chi-square, non-parametric). Emphasizes correctly interpreting statistical results and avoiding common misreadings of significance in business and product contexts rather than memorizing formulas.

MediumTechnical
33 practiced
Write a Python function that computes required sample size per group for a two-sided two-proportion z-test (normal approximation). Inputs: baseline_rate (p1), minimum_detectable_absolute_increase (delta), alpha, power. Show the formula and compute the required sample size per group for baseline_rate=0.10, delta=0.01 (absolute), alpha=0.05, power=0.80. Explain limitations of the normal approximation for small p.
HardTechnical
29 practiced
When running many experiments and tests, when is it preferable to control false discovery rate (FDR) instead of family-wise error rate (FWER)? Give two business scenarios where FDR is more appropriate and two where FWER is required. Mention the statistical methods you would use for each.
EasyTechnical
25 practiced
Explain Type I and Type II errors using a concrete A/B test example: suppose you test a new checkout flow. Define both error types, describe the real-world business consequence of each, and explain how alpha and beta relate to those consequences.
MediumTechnical
24 practiced
Compare Cohen's d, absolute lift, relative risk (ratio), and odds ratio as effect size measures. For a binary business KPI such as conversion, explain which measure you would report to executives and how to compute and interpret it in plain language.
MediumTechnical
50 practiced
Implement a Python function to compute statistical power for a two-sample t-test given: effect_size (Cohen's d), n_per_group, alpha (two-sided). You may use scipy.stats if desired; if not, outline the math. Then compute power for effect_size=0.3, n_per_group=200, alpha=0.05.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.