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

In a linear regression model predicting revenue per user, explain the difference between a confidence interval for the mean response at a particular x* and a prediction interval for a new observation at x*. Provide formulas (assuming homoscedastic Gaussian errors) and describe how interval widths change with sample size and residual variance.

EasyTechnical
32 practiced

Define the null hypothesis and the alternative hypothesis in your own words, then explain the difference between a one-tailed and a two-tailed test. Using a concrete example, such as testing whether a change increases a metric versus testing whether it simply changes the metric in either direction, state both hypotheses and explain which test direction you would choose and why.

HardTechnical
27 practiced

Design a streaming change-detection system to identify minute-level shifts in conversion rate for a high-traffic product using CUSUM or Sequential Probability Ratio Test (SPRT). Specify the detection statistic, how to set thresholds to control false alarm rate, how to handle seasonality and traffic bursts, and how to scale the solution.

HardTechnical
32 practiced

Consider IID Bernoulli trials X1,...,Xn with unknown success probability p. Derive the maximum likelihood estimator (MLE) for p, show whether it is unbiased, and compute its variance and standard error formula. Explain how to form a normal-approximation 95% CI for p and mention limitations of that CI for small n or p near 0 or 1.

MediumTechnical
33 practiced

Explain the formal difference between a 95% confidence interval (frequentist) and a 95% credible interval (Bayesian). Provide a small numeric illustration (no code required) showing how the two intervals could differ and explain why those differences matter when communicating uncertainty to non-technical stakeholders.

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.