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.

HardTechnical
60 practiced
You are the lead data scientist asked to define the primary metric and guardrail metrics for launching a new one-click checkout flow. Prepare a short measurement plan: define primary metric, at least three guardrail metrics, sample size considerations, risk thresholds for stopping the experiment, and rollout criteria for launch.
MediumSystem Design
70 practiced
Design a medium-scale A/B testing platform for a consumer web product that serves ~1M daily active users. Describe how you would implement random assignment, experiment configuration, metric collection, handling of multiple variants, and how you would detect and handle sample ratio mismatch or instrumentation issues. Focus on statistical considerations more than system-level code.
HardSystem Design
62 practiced
You need to allow stakeholders to continuously monitor an experiment but avoid inflated false positives from continuous peeking. Describe a plan using group sequential methods or alpha spending to control Type I error under continuous monitoring. Explain trade-offs between sample size, frequency of looks, and complexity of implementation.
EasyTechnical
56 practiced
You receive a binary diagnostic signal for fraud on transactions. Explain conditional probability and Bayes theorem in this context: if the fraud detector has 98% true positive rate and 1% false positive rate, and baseline fraud prevalence is 0.1%, compute the posterior probability that a flagged transaction is actually fraudulent. Show your reasoning and discuss implications for decision thresholds.
EasyTechnical
51 practiced
Define expected value, variance, and standard deviation. Given a discrete distribution of user lifetime values with values {0:0.5, 10:0.3, 100:0.2} (value:probability), compute the expected value and variance and interpret what they mean for business decision-making.

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.