KatInterview

Topic

Statistics & Experiments interview problems

Probability, A/B testing and metrics. 523 original problems, each with a worked model answer.

Problems523

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-effects
  • Find 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-integrityreliability
  • Explain 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-inferencemarketplace
  • Design 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-differences
  • Given 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-testinghypotheses
  • Design 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-bias
  • Design 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-testingswitchbackinterferencemarketplace
  • Assess 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 economics
  • A 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-value
  • Review 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-reviewidempotencyrandomization
  • Plan 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-effects
  • Diagnose 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-designattribution
  • Critique 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-analysis
  • Design 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-experiment
  • Plan 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-modeling
  • Two-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-theoryauctions
  • Make 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-go
  • Design 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-intervals
  • Product 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-ux
  • Find 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-time
  • Plan 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-randomization
  • Compare 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 modelsskewness
  • Given 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-approximation
  • Given 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-design
  • Run 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-intervalsproportions
  • Design a rigorous causal experiment for a two-sided platform feature, handling network interference through cluster randomization and spillover measurement.

    Model answerexperimentationcausal-inferencemarketplacenetwork-effects
  • Derive 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-proportionvariancectr
  • Generate uniformly distributed points in a square region and compute percentiles from binned frequency data using linear interpolation.

    Model answerprobabilitysamplinginterpolationpercentiles
  • Walk through univariate and multivariate methods for comparing two distributions, covering test selection, effect sizes, multiple-testing control, and sampling design.

    Model answerhypothesis-testingtwo-sample-testsmultivariatesampling
  • Design 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

More topics