KatInterview

practice a little every day — you've got this ♡

Statistics Interview Problems

Practice 5971 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.

5971
Problems
2211
Auto-graded
15
Topics
272
Added today

Showing 421–450 of 523 results

  • Statistics & ExperimentsMediumModel answer
    Simpson's Paradox: Algebra, Causality, and When to Stratify

    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.

    Statistics & Experimentssimpson's paradoxconfoundingcausal inferencestratification
  • Statistics & ExperimentsMediumModel answer
    Metrics for Fraud Detection System Evaluation

    Design monitoring metrics to evaluate a system detecting fake engagement, distinguish organic virality from coordinated manipulation, and validate true performance improvements.

    Statistics & Experimentsmetricsfraud-detectionexperimentationprecision-recall
  • Statistics & ExperimentsMediumModel answer
    Understanding P-Values and Bootstrap Sampling Distributions

    Discuss why regression software displays p = 0.000, how to report it correctly, and how bootstrap resampling estimates coefficient uncertainty.

    Statistics & Experimentsstatistical-inferencehypothesis-testingbootstrappingregression
  • Statistics & ExperimentsMediumModel answer
    Why Does the Standardized Sample Mean Converge to Normal?

    Explain what quantity becomes approximately normal as sample size grows, the theorem that guarantees it, why it holds, and when it breaks down.

    Statistics & Experimentscentral-limit-theoremstatistical-inferenceasymptotic-theory
  • Statistics & ExperimentsHardModel answer
    Concurrent A/B Test Design with Interaction Effects

    Design and analyze experiments for two product changes launching simultaneously, addressing interaction effects, power, and sequential monitoring.

    Statistics & Experimentsexperiment-designfactorial-designinteraction-effectspower-analysis
  • Statistics & ExperimentsMediumModel answer
    Project Selection with Resource Constraints and Quality Factors

    Choose between two fixed-price software projects, modeling costs, capacity, rework, and schedule risk to maximize profit.

    Statistics & Experimentsoptimizationcost-benefit-analysisrisk-analysis
  • Statistics & ExperimentsMediumModel answer
    Regression Invariance Under Feature Transformations

    Show mathematically how ordinary least squares predictions behave when features are linearly transformed, and contrast with regularized methods.

    Statistics & Experimentslinear-regressionridge-regressionlassolinear-algebra
  • Statistics & ExperimentsMediumModel answer
    Designing an A/B Test for a Queue-Jumping Feature

    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.

    Statistics & Experimentsexperimentationtwo-sided-marketplacespillover-effectsmetrics-design
  • Statistics & ExperimentsMediumModel answer
    Comparing Ad Distribution Models: Random vs. Deterministic Placement

    Analyze two ad-serving approaches for a content feed: probabilistic per-item insertion versus fixed-quota allocation.

    Statistics & Experimentsprobabilityvariancebinomial-distributionexpectation
  • Statistics & ExperimentsHardModel answer
    Streaming Quantile Estimation with Bounded Rank Error

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

    Statistics & Experimentsstreaming-algorithmsquantilesapproximationdata-structures
  • Statistics & ExperimentsMediumModel answer
    Designing and Measuring a Similar Item Alert System

    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.

    Statistics & Experimentsexperimentationproduct-metricscausal-inference
  • Statistics & ExperimentsEasyModel answer
    The t-Statistic: Purpose, Mechanics, and Small-Sample 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.

    Statistics & Experimentshypothesis-testingt-distributiondegrees-of-freedomsampling
  • Statistics & ExperimentsHardModel answer
    Five-Round Interval Game: Maximize a Ratio-Based Score

    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.

    Statistics & Experimentsoptimizationdecision-theorydynamic-programmingprobability
  • Statistics & ExperimentsMediumModel answer
    Design a C-Level Dashboard for a B2B SaaS Product

    Build an executive dashboard replacing a cluttered regional trend chart with actionable KPIs, comparable visualizations, and clear insights.

    Statistics & Experimentsdata-visualizationmetricsdashboard-designexecutive-communication
  • Statistics & ExperimentsMediumModel answer
    Design and Evaluate a Premium Delivery Tier for a Food Platform

    Design a metric framework, experiment, and incremental margin model for a paid fast-delivery subscription in a two-sided food delivery marketplace.

    Statistics & Experimentsexperimentationmarketplacemetricscausal-inference
  • Statistics & ExperimentsMediumModel answer
    Measuring Incremental Lift for a New Ad Format

    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.

    Statistics & Experimentsexperimentationab-testingmetricsanalytics
  • Statistics & ExperimentsMediumModel answer
    Diagnose a Sudden Order Decline in a Single Metro

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

    Statistics & Experimentsmarketplace analyticscausal inferenceexperiment designfunnel analysis
  • Statistics & ExperimentsEasyModel answer
    Bayes' Theorem and P-Values: Concepts and Common Pitfalls

    Explain Bayes' theorem with a worked numeric example and define p-values precisely, including what they do and do not let you conclude.

    Statistics & Experimentsprobabilityhypothesis-testingbayesian-reasoning
  • Statistics & ExperimentsHardModel answer
    Handling Skewed, Zero-Inflated Revenue Metrics in A/B Tests

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

    Statistics & Experimentsab-testinghypothesis-testingbootstraptwo-part-model
  • Statistics & ExperimentsMediumModel answer
    Causal inference without randomization and A/B/C test analysis

    Estimate treatment effects using observational methods when experiments are infeasible, then analyze a three-arm conversion test with proper uncertainty and multiple-comparison handling.

    Statistics & Experimentscausal-inferenceexperimentationmultiple-testingconfidence-intervals
  • Statistics & ExperimentsHardModel answer
    Designing a Push Notification Frequency Experiment

    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.

    Statistics & Experimentsexperimentationcausal-inferencemetric-designpower-analysis
  • Statistics & ExperimentsEasyModel answer
    Choose the Right Metric for a Search Ranking Change

    Pick and justify a primary success metric for a search ranking A/B test, then identify one guardrail and one counter-metric.

    Statistics & Experimentsstatisticsmetric designsearchexperimentation
  • Statistics & ExperimentsMediumModel answer
    Should a Restaurant Chain Launch a Plant-Based Patty?

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

    Statistics & Experimentsunit economicsbreak-evencontribution marginproduct launch
  • Statistics & ExperimentsMediumModel answer
    Resampling Estimators: Confidence Intervals and Variance on a DataFrame

    Implement bootstrap percentile confidence intervals and jackknife leave-one-out variance estimation for arbitrary scalar statistics on a pandas DataFrame.

    Statistics & Experimentsresamplingbootstrapjackknifepandas
  • Statistics & ExperimentsMediumModel answer
    Diagnosing a Spike in Harassment Policy Violations

    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.

    Statistics & Experimentscontent-moderationcausal-inferenceexperiment-designclassifier-evaluation
  • Statistics & ExperimentsMediumModel answer
    Online experiment plan for a new ad ranking model

    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.

    Statistics & Experimentsab-testingexperimentationcausal-inferenceads
  • Statistics & ExperimentsHardModel answer
    Geo Rollout Analysis: DiD, Segmented Regression & Power

    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.

    Statistics & Experimentsdifference-in-differencescausal-inferenceexperimentationgeo-experiment
  • Statistics & ExperimentsHardModel answer
    Strategic Decision-Making in a Sequential Two-Target Collection Game

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

    Statistics & Experimentsprobabilityoptimizationmarkov-decision-processgame-theory
  • Statistics & ExperimentsMediumModel answer
    Investigate Warm-Food Failures and Decide on a Fix

    Diagnose why orders arrive cold, define measurable success, design a causal evaluation, and build a principled launch decision framework for a delivery marketplace.

    Statistics & Experimentsproduct analyticsexperimentationmetric designcausal inference
  • Statistics & ExperimentsHardModel answer
    Forecasting GMV for a New In-App Commerce Feature

    Build a revenue model for a proposed shopping feature, accounting for selection bias, incremental lift, and extrapolation uncertainty.

    Statistics & Experimentsexperimentationmetricscausal-inferenceforecasting