Topic
Statistics & Experiments interview problems
Probability, A/B testing and metrics. 523 original problems, each with a worked model answer.
46 easy319 medium158 hard
Showing 271–300 of 523 results
Design an end-to-end analytical case for a warehouse build-vs-lease decision: demand forecasting, NPV modeling, incrementality experiments, sensitivity analysis, and a stakeholder recommendation.
Model answerdemand-forecastingfinancial-modelingexperimentationnetwork-optimizationAnalyze why a model shows offline gains but no live improvement, using paired scenario replay and diagnosing power, exposure, and distribution drift issues.
Model answerexperimentationmodel-evaluationrare-eventsstatistical-powerDesign the metric hierarchy, logging, and experiment for a new top-of-feed carousel, then explain how to diagnose an overall CTR decline.
Model answerab-testingmetric-designinstrumentationproduct-analyticsTurn a vague "this improves usability" claim into concrete, measurable metrics for a streaming platform and a machine learning framework.
Model answerproduct analyticsexperimentationdeveloper toolsmetricsDesign an A/B test to evaluate whether doubling a loyalty discount grows net revenue in a two-sided marketplace, covering experimental design, metrics, power analysis, and decision-making.
Model answerexperiment-designa-b-testingmarketplacepricingMaintain a uniformly random sample of k elements from an unbounded stream in one pass using O(k) space.
Model answerprobabilitystreaming-algorithmssamplingExplain p-values vs. confidence intervals, when to use t-tests vs. chi-square tests, and define Type I and Type II errors with examples.
Model answerstatisticshypothesis-testinginferencefundamentalsDesign success metrics, an A/B test, and a ramp strategy to evaluate a new tool that lets merchants schedule time-based discounts and control their own promotional eligibility.
Model answerexperimentationcausal-inferenceCUPEDmetrics-designDesign a rigorous A/B test for a new video-ad format end-to-end, then walk through a structured diagnostic playbook if the primary metric shows no lift.
Model answerexperimentationA/B testingcausal inferencepower analysisDesign an A/B test for a one-month-free subscription promo, separate true lift from subsidy and wait-and-see effects, and compute net ROI under a 10/90 split.
Model answerexperimentationcausal-inferenceroicannibalizationWalk through a structured investigation of an unexpected revenue drop, from metric validation to funnel decomposition, segmentation, and causal reasoning.
Model answeranalyticsmetricsroot-cause analysisfunnelGiven historical metric data and test parameters, derive the smallest total sample size that meets a specified significance level and statistical power.
Model answerstatisticsa/b testinghypothesis testingpower analysisDerive the OLS slope estimator, apply the CLT to a Bernoulli sample mean, and find the Kelly-optimal bet fraction for a biased coin.
Model answerlinear-regressioncentral-limit-theoremkelly-criterionprobabilityExplain the key assumptions behind a past modeling project, how you validated each one, and how you kept your pipeline free of leakage and overfitting.
Model answerexperimentationmodel-validationdata-leakageoverfittingEvaluate a money-losing product promotion by defining the right metrics, estimating true incrementality, and surfacing strategic justifications with supporting evidence.
Model answerexperiment designincrementalityretail analyticsmetric definitionA product-analytics investigation of a 7-point drop in weekly active-to-enabled adoption, covering metric hygiene, 24-hour triage, hypotheses, experiments, and causal inference.
Model answerproduct-analyticsexperimentationcausal-inferencemetric-definitionPlan a two-week experiment to measure whether adding a promotional incentive to a card application page increases risk-adjusted profit per session.
Model answerab-testingexperimentationmetricscausal-inferenceDesign a rigorous pilot study to evaluate a courier-controlled order filter, balancing supply-side satisfaction against customer fulfillment risk in a two-sided marketplace.
Model answera/b testingmarketplaceexperiment designmetricsSolve seventeen problems covering counting, expectation, conditional probability, combinatorics, and logical deduction.
Model answerprobabilitycombinatoricsexpected-valuebayes-theoremGiven a campaign click-through rate, formally test whether it beats a benchmark and interpret both statistical and practical significance.
Model answerhypothesis-testingproportionsconfidence-intervalsa-b-testingDesign an O(k)-memory single-pass sampler for a stream of unknown length and prove every element is kept with probability k/n.
Model answerreservoir-samplingrandomized-algorithmsstreamingprobability-proofDesign a two-sided marketplace experiment, diagnose a sample ratio mismatch, reconcile conflicting metrics into a value view, and decide launch vs. iterate.
Model answerab-testingexperiment-designsrmmarketplace-metricsDesign a staggered-adoption DiD for a phased 50-region rollout that stays valid under heterogeneous, dynamic treatment effects, from estimator choice to inference.
Model answercausal-inferencedifference-in-differencespanel-dataevent-studyDesign a data-driven evaluation and A/B experiment to decide whether reordering a multi-account switcher by unread message count improves user engagement.
Model answerexperiment-designmetric-designcausal-inferenceWalk through the email-to-application funnel to separate a tracking bug, a delivery failure, and a relevance problem from each other.
Model answerproduct analyticsfunnel analysisroot cause analysisrecommendation systemsDesign metrics, choose analysis populations, identify pitfalls, and make a business decision for an A/B test offering a one-month free trial.
Model answerab-testingcausal-inferencemetricsexperimentationReason through A/B design, randomization units, and root-cause diagnosis for delivery-marketplace programs, promotion systems, and a spike in cancellations.
Model answerexperimentationcausal-inferencemarketplacemetricsExplain a classic statistical trap, design spatial metrics for species data, diagnose a causal inference problem, and reduce survey error — all in plain language.
Model answersimpson's paradoxconfoundingexperimental designmargin of errorDesign a retrospective analysis to measure the causal effect of a payment optimization deployed to all merchants in one region, with no randomized control.
Model answercausal-inferenceexperimentationobservational-methodsImplement vectorized bootstrap resampling to estimate a 95% confidence interval for the mean of a sample, handling memory constraints efficiently.
Model answerbootstrapconfidence-intervalsresamplingnumpy