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
31 practiced

You track "revenue per user" as a primary metric. Explain the pitfalls of ratio metrics, and propose robust alternatives or preprocessing plus how you would analyze and communicate them in experiment results.

MediumTechnical
27 practiced

You need to determine a sample size to estimate average customer lifetime value within a margin of error of 0.5 units at 95% confidence. Population standard deviation is unknown but a pilot sample of 40 customers gives sd ≈ 4. Describe the steps to compute a recommended sample size and show the calculation using the pilot sd. Discuss any iterative steps you would take in practice.

HardTechnical
26 practiced

Design a Bayesian A/B testing approach for binary conversion outcomes. Specify suitable priors and likelihood, explain how you would compute posterior probabilities that variant beats control, recommend stopping rules and decision thresholds, and describe how you would present posterior summaries and expected financial impact to stakeholders. Discuss sensitivity to prior choices.

EasyTechnical
41 practiced

What does a 95% confidence interval actually mean? Give the correct frequentist interpretation, contrast it with the common misreading that there's a 95% chance the true value falls inside this particular interval, and explain in plain language how you would describe a confidence interval to someone who isn't a statistician.

MediumTechnical
47 practiced

Write a Python function that takes two numeric arrays representing independent samples and returns: the chosen t-test type (Welch or pooled), the t-statistic, degrees of freedom, two-sided p-value, and a 95% confidence interval for the mean difference. You may use numpy and scipy.stats but explain in comments how you decide which t-test to use.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.