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 421–450 of 523 results

  • Build a numeric reversal from scratch, derive the bias formula, connect it to causal graphs, and explain when the aggregate is the right answer versus when you must condition.

    Model answersimpson's paradoxconfoundingcausal inferencestratification
  • Design monitoring metrics to evaluate a system detecting fake engagement, distinguish organic virality from coordinated manipulation, and validate true performance improvements.

    Model answermetricsfraud-detectionexperimentationprecision-recall
  • Discuss why regression software displays p = 0.000, how to report it correctly, and how bootstrap resampling estimates coefficient uncertainty.

    Model answerstatistical-inferencehypothesis-testingbootstrappingregression
  • Explain what quantity becomes approximately normal as sample size grows, the theorem that guarantees it, why it holds, and when it breaks down.

    Model answercentral-limit-theoremstatistical-inferenceasymptotic-theory
  • Design and analyze experiments for two product changes launching simultaneously, addressing interaction effects, power, and sequential monitoring.

    Model answerexperiment-designfactorial-designinteraction-effectspower-analysis
  • Choose between two fixed-price software projects, modeling costs, capacity, rework, and schedule risk to maximize profit.

    Model answeroptimizationcost-benefit-analysisrisk-analysis
  • Show mathematically how ordinary least squares predictions behave when features are linearly transformed, and contrast with regularized methods.

    Model answerlinear-regressionridge-regressionlassolinear-algebra
  • Design metrics and an experiment to evaluate a paid priority-matching feature in a two-sided marketplace where treatment and control groups share the same supply.

    Model answerexperimentationtwo-sided-marketplacespillover-effectsmetrics-design
  • Analyze two ad-serving approaches for a content feed: probabilistic per-item insertion versus fixed-quota allocation.

    Model answerprobabilityvariancebinomial-distributionexpectation
  • Build a space-efficient quantile estimator for unbounded streams and explain deterministic rank guarantees versus probabilistic centroid methods.

    Model answerstreaming-algorithmsquantilesapproximationdata-structures
  • Design a notification feature for a peer-to-peer resale platform that alerts buyers when similar items are listed, then create an experiment to measure its impact.

    Model answerexperimentationproduct-metricscausal-inference
  • Explain how and why the t-statistic differs from a z-score, what degrees of freedom represent, and how this matters when comparing two strategies on limited data.

    Model answerhypothesis-testingt-distributiondegrees-of-freedomsampling
  • Design and optimize a strategy for a five-round interval game where your score per round equals L/U if the true answer lands inside [L, U], and zero otherwise.

    Model answeroptimizationdecision-theorydynamic-programmingprobability
  • Build an executive dashboard replacing a cluttered regional trend chart with actionable KPIs, comparable visualizations, and clear insights.

    Model answerdata-visualizationmetricsdashboard-designexecutive-communication
  • Design a metric framework, experiment, and incremental margin model for a paid fast-delivery subscription in a two-sided food delivery marketplace.

    Model answerexperimentationmarketplacemetricscausal-inference
  • Design an experiment to determine whether a new top-of-feed ad unit generates net revenue or simply shifts clicks from existing mid-feed ads.

    Model answerexperimentationab-testingmetricsanalytics
  • Walk through a full investigation of a completed-order drop in one city, from data validation to funnel decomposition to designing a marketplace experiment.

    Model answermarketplace analyticscausal inferenceexperiment designfunnel analysis
  • Explain Bayes' theorem with a worked numeric example and define p-values precisely, including what they do and do not let you conclude.

    Model answerprobabilityhypothesis-testingbayesian-reasoning
  • Select and justify statistical inference methods for a revenue metric plagued by zero-inflation, heavy tails, and unequal variance between treatment arms.

    Model answerab-testinghypothesis-testingbootstraptwo-part-model
  • Estimate treatment effects using observational methods when experiments are infeasible, then analyze a three-arm conversion test with proper uncertainty and multiple-comparison handling.

    Model answercausal-inferenceexperimentationmultiple-testingconfidence-intervals
  • Design an end-to-end experiment to measure the causal impact of sending more order-related push notifications, covering metrics, long-term effects, and interference.

    Model answerexperimentationcausal-inferencemetric-designpower-analysis
  • Pick and justify a primary success metric for a search ranking A/B test, then identify one guardrail and one counter-metric.

    Model answerstatisticsmetric designsearchexperimentation
  • Use unit economics, break-even analysis, and cannibalization math to decide whether a new plant-based menu item is worth launching.

    Model answerunit economicsbreak-evencontribution marginproduct launch
  • Implement bootstrap percentile confidence intervals and jackknife leave-one-out variance estimation for arbitrary scalar statistics on a pandas DataFrame.

    Model answerresamplingbootstrapjackknifepandas
  • A monthly moderation report shows harassment violations rising sharply — determine whether the surge is real or a measurement artifact, then design and evaluate a mitigation.

    Model answercontent-moderationcausal-inferenceexperiment-designclassifier-evaluation
  • Design an A/B test to evaluate whether a new ad recommendation model should replace the production system, covering experimental setup, metrics, and launch criteria.

    Model answerab-testingexperimentationcausal-inferenceads
  • Design a full causal analysis for a two-state feature launch — compute DiD estimates, build a segmented time-series model, set guardrails, and size the experiment.

    Model answerdifference-in-differencescausal-inferenceexperimentationgeo-experiment
  • Determine the optimal action sequence to maximize expected coin collection in a 100-round game with two hidden single-capacity boxes and probabilistic placement.

    Model answerprobabilityoptimizationmarkov-decision-processgame-theory
  • Diagnose why orders arrive cold, define measurable success, design a causal evaluation, and build a principled launch decision framework for a delivery marketplace.

    Model answerproduct analyticsexperimentationmetric designcausal inference
  • Build a revenue model for a proposed shopping feature, accounting for selection bias, incremental lift, and extrapolation uncertainty.

    Model answerexperimentationmetricscausal-inferenceforecasting

More topics