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 241–270 of 523 results
Design the analysis of a two-arm checkout experiment: pick valid tests per metric, model cost and take-rate effects on contribution, find segments, and set constrained rollout rules.
Model answerab-testingratio-metricsdelta-methodheterogeneous-treatment-effectsFind at least eight correctness and reliability bugs in a Python function that randomizes users into a free-trial test, then redesign it so the experiment and billing data stay trustworthy.
Model answerexperimentationidempotencydata-integrityreliabilityExplain what drives a ride-hailing pickup estimate, why it matters, why longer waits can correlate with higher conversion, and design a switchback test with a justified window length.
Model answerexperimentationswitchbackcausal-inferencemarketplaceDesign an experiment for a new content-ranking model aimed at raising time spent: hypotheses, metrics, sample size, health checks, a mid-test dip, and a non-randomized geographic rollout.
Model answerab-testingpower-analysisguardrail-metricsdifference-in-differencesGiven an open-ended business goal, outline how you would define metrics, form hypotheses, plan instrumentation, run a first test, compare heuristic and ML options, and manage risks.
Model answerexperiment-designmetricsab-testinghypothesesDesign a staggered difference-in-differences analysis to measure how buying a calling device changes usage, handling self-selection, household spillover, and parallel-trends validation.
Model answerdifference-in-differencescausal-inferencestaggered-adoptionselection-biasDesign a valid experiment for a pickup-time estimate improvement in a two-sided marketplace, diagnose a surprising conversion drop, and handle supply interference between arms.
Model answerab-testingswitchbackinterferencemarketplaceAssess a bank's 30%-off co-marketing offer with a rental merchant: structures, pre-launch factors, metrics, break-even math, risks, and a launch recommendation.
Model answerbreak-even analysisincrementalityexperiment designunit economicsA dart lands with an isotropic Gaussian scatter around the center. Use one known hit probability to get exact ring probabilities and the expected score as a fraction.
Model answerprobabilitybivariate-normalrayleigh-distributionexpected-valueReview a script that randomly splits users into experiment arms and sends a free-trial offer, then list its bugs and data risks and propose a safer, reproducible design.
Model answerexperimentationcode-reviewidempotencyrandomizationPlan an experiment for a more compact feed layout, then work out why one market's revenue rose while another's fell and what to do about it.
Model answerab-testingexperiment-designmetric-decompositionheterogeneous-effectsDiagnose where mobile-web customers drop before installing the native app, then design randomized experiments that raise installs while protecting incremental orders and retention.
Model answerab-testingfunnel-analysisexperiment-designattributionCritique a "no first payroll in 30 days" churn definition for a B2B payroll product, handle late returners, and design a business-level A/B test for a new guided onboarding flow.
Model answerab-testingchurnmetric-designsurvival-analysisDesign a causal study to measure how much a 30-day outdoor ad push in two metros raised new registrations, covering control selection, confounders, spillover, and validation of a 5% lift.
Model answercausal-inferencesynthetic-controldifference-in-differencesgeo-experimentPlan an analysis of why a video conferencing product drops calls for business customers, estimate the causal effect on contract renewals, and decide between patching and rebuilding.
Model answerroot-cause-analysiscausal-inferenceretentionchurn-modelingTwo-bidder first-price sealed auction for a 200-coin payout: find the equilibrium bid with no information, then adjust when the rival has seen 10 of the flips.
Model answerprobabilityexpected-valuegame-theoryauctionsMake a time-boxed go/no-go case for a brand-new product feature, covering market sizing, internal readiness and risk, and an experiment plan with pre-set proceed, pivot, and kill thresholds.
Model answerproduct-analyticsexperiment-designmarket-sizinggo-no-goDesign a metric framework for how often users see harmful content: definitions, timing rules, north-star choice, uncertainty-aware alerts, and an A/B test under delayed labels.
Model answermetric-designcontent-safetyexperimentationconfidence-intervalsProduct case on a shopping-savings app: map revenue streams, pick one improvement, design a test, judge two promo email A/B results, and critique email UX.
Model answerproduct-senseab-testingmonetizationemail-uxFind the expected number of fair-die rolls until a roll is strictly higher than the one before it, using a Markov-state recursion and an independent counting check.
Model answerprobabilityexpected-valuemarkov-chainstopping-timePlan the metrics, a network-aware experiment, and the launch decision for a message-reaction feature that lifts reactions but slightly lowers total message volume.
Model answerab-testingnetwork-effectsmetricscluster-randomizationCompare a single bank queue with separate lines, reason about height and social-degree distributions, and check whether lasso and ridge estimators are unbiased.
Model answerqueueing theorydistributionsmixture modelsskewnessGiven sample count data, derive the Poisson MLE and Wald CI, test for overdispersion, approximate a Poisson tail probability with continuity correction, and identify when the Normal approximation breaks down.
Model answerpoissonmledispersionnormal-approximationGiven a fixed number of human labels, decide whether to label more examples once each or fewer examples multiple times, and quantify the uncertainty either way.
Model answerstatisticsmachine-learningexperimental-designRun a one-sided proportion test on 65 conversions out of 100 to decide whether a campaign's true conversion rate exceeds a 60% benchmark.
Model answerhypothesis-testingconfidence-intervalsproportionsDesign a rigorous causal experiment for a two-sided platform feature, handling network interference through cluster randomization and spillover measurement.
Model answerexperimentationcausal-inferencemarketplacenetwork-effectsDerive a pooled click-through rate estimator, compare Wald vs. exact binomial confidence intervals, and separate real day-to-day volatility from sampling noise.
Model answerconfidence-intervalsbinomial-proportionvariancectrGenerate uniformly distributed points in a square region and compute percentiles from binned frequency data using linear interpolation.
Model answerprobabilitysamplinginterpolationpercentilesWalk through univariate and multivariate methods for comparing two distributions, covering test selection, effect sizes, multiple-testing control, and sampling design.
Model answerhypothesis-testingtwo-sample-testsmultivariatesamplingDesign a metrics framework to identify and fix relevance and safety failures when users search for well-known brand or entity names on a content platform.
Model answersearch relevancemetricsexperimentationcontent safety