InterviewStack.io LogoInterviewStack.io

Probability and Statistical Inference Questions

Covers fundamental probability theory and statistical inference from first principles to practical applications. Core probability concepts include sample spaces and events, independence, conditional probability, Bayes theorem, expected value, variance, and standard deviation. Reviews common probability distributions such as normal, binomial, Poisson, uniform, and exponential, their parameters, typical use cases, computation of probabilities, and approximation methods. Explains sampling distributions and the Central Limit Theorem and their implications for estimation and confidence intervals. Presents descriptive statistics and data summary measures including mean, median, variance, and standard deviation. Details the hypothesis testing workflow including null and alternative hypotheses, p values, statistical significance, type one and type two errors, power, effect size, and interpretation of results. Reviews commonly used tests and methods and guidance for selection and assumptions checking, including z tests, t tests, chi square tests, analysis of variance, and basic nonparametric alternatives. Emphasizes practical issues such as correlation versus causation, impact of sample size and data quality, assumptions validation, reasoning about rare events and tail risks, and communicating uncertainty. At more advanced levels expect experimental design and interpretation at scale including A B tests, sample size and power calculations, multiple testing and false discovery rate adjustment, and design choices for robust inference in real world systems.

MediumTechnical
66 practiced
You want to test whether the empirical distribution of user click-through rates follows a log-normal distribution. Compare goodness-of-fit options: Q-Q plot, Kolmogorov-Smirnov test, and chi-square goodness-of-fit. Explain implementation steps, limitations for large samples, and which diagnostic plots you would show stakeholders to convey fit quality.
MediumTechnical
64 practiced
Explain multiple hypothesis testing and how the Benjamini-Hochberg procedure controls the false discovery rate (FDR). Given 100 p-values, describe step-by-step how to implement BH at alpha=0.05, explain how to compute adjusted p-values, and discuss contexts where BH is preferable to Bonferroni correction.
HardTechnical
65 practiced
Explain the delta method and demonstrate how to use it to approximate the variance of a nonlinear function of an estimator. As a concrete example, derive the approximate variance and a 95% confidence interval for the log-odds g(p_hat) = log(p_hat/(1 - p_hat)) where p_hat is a sample proportion with variance p_hat(1-p_hat)/n.
EasyTechnical
69 practiced
A spam filter returns a binary feature. Prior probability P(spam)=0.20. The feature is present in 90% of spam emails and 10% of non-spam emails. Compute P(spam | feature) using Bayes theorem, show your algebra and numeric result. Explain each term in Bayes formula and discuss how a change in the prior (class imbalance) affects the posterior probability. When would a data analyst prefer a Bayesian framing for classification problems?
HardTechnical
81 practiced
Compare multi-armed bandit algorithms for live optimization with randomized A/B tests aimed at unbiased inference. Explain how bandit allocation induces bias in naive effect estimates and describe statistical corrections such as inverse propensity score (IPS) weighting and doubly robust estimators that can recover unbiased estimates when assignment probabilities are logged. What logging and infrastructure are required to support these corrections?

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.