KatInterview

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

Statistics Interview Problems

Practice 5985 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.

5985
Problems
2218
Auto-graded
15
Topics
271
Added today

Showing 271–300 of 523 results

  • Statistics & ExperimentsHardModel answer
    Should We Open a New Distribution Hub? A Full Analytics Framework

    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.

    Statistics & Experimentsdemand-forecastingfinancial-modelingexperimentationnetwork-optimization
  • Statistics & ExperimentsMediumModel answer
    Offline vs. Online Model Evaluation and Rare-Event Diagnostics

    Analyze why a model shows offline gains but no live improvement, using paired scenario replay and diagnosing power, exposure, and distribution drift issues.

    Statistics & Experimentsexperimentationmodel-evaluationrare-eventsstatistical-power
  • Statistics & ExperimentsMediumModel answer
    Carousel Above the Feed: Metrics, Instrumentation, and Test Design

    Design the metric hierarchy, logging, and experiment for a new top-of-feed carousel, then explain how to diagnose an overall CTR decline.

    Statistics & Experimentsab-testingmetric-designinstrumentationproduct-analytics
  • Statistics & ExperimentsMediumModel answer
    Defining Usability Metrics for Consumer Apps and Dev Tools

    Turn a vague "this improves usability" claim into concrete, measurable metrics for a streaming platform and a machine learning framework.

    Statistics & Experimentsproduct analyticsexperimentationdeveloper toolsmetrics
  • Statistics & ExperimentsMediumModel answer
    Testing a Loyalty Discount Increase in a Ride-Share Marketplace

    Design 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.

    Statistics & Experimentsexperiment-designa-b-testingmarketplacepricing
  • Statistics & ExperimentsMediumModel answer
    Stream Sampling with Fixed Memory

    Maintain a uniformly random sample of k elements from an unbounded stream in one pass using O(k) space.

    Statistics & Experimentsprobabilitystreaming-algorithmssampling
  • Statistics & ExperimentsMediumModel answer
    P-values, Confidence Intervals, and Hypothesis Test Selection

    Explain p-values vs. confidence intervals, when to use t-tests vs. chi-square tests, and define Type I and Type II errors with examples.

    Statistics & Experimentsstatisticshypothesis-testinginferencefundamentals
  • Statistics & ExperimentsMediumModel answer
    Experiment Design for a Flexible Merchant Promotions Feature

    Design 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.

    Statistics & Experimentsexperimentationcausal-inferenceCUPEDmetrics-design
  • Statistics & ExperimentsHardModel answer
    Design a Video-Ad Format Experiment and Diagnose a Null Result

    Design 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.

    Statistics & ExperimentsexperimentationA/B testingcausal inferencepower analysis
  • Statistics & ExperimentsHardModel answer
    Measuring Incremental Value of a Free-Month Subscription Offer

    Design 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.

    Statistics & Experimentsexperimentationcausal-inferenceroicannibalization
  • Statistics & ExperimentsHardModel answer
    Diagnose a Sudden Revenue Decline

    Walk through a structured investigation of an unexpected revenue drop, from metric validation to funnel decomposition, segmentation, and causal reasoning.

    Statistics & Experimentsanalyticsmetricsroot-cause analysisfunnel
  • Statistics & ExperimentsHardModel answer
    Two-Sample Z-Test: Compute Minimum Experiment Size

    Given historical metric data and test parameters, derive the smallest total sample size that meets a specified significance level and statistical power.

    Statistics & Experimentsstatisticsa/b testinghypothesis testingpower analysis
  • Statistics & ExperimentsMediumModel answer
    OLS Derivation, CLT Approximation, and Kelly Betting

    Derive the OLS slope estimator, apply the CLT to a Bernoulli sample mean, and find the Kelly-optimal bet fraction for a biased coin.

    Statistics & Experimentslinear-regressioncentral-limit-theoremkelly-criterionprobability
  • Statistics & ExperimentsMediumModel answer
    Walk Through Your Model's Assumptions and How You Tested Them

    Explain the key assumptions behind a past modeling project, how you validated each one, and how you kept your pipeline free of leakage and overfitting.

    Statistics & Experimentsexperimentationmodel-validationdata-leakageoverfitting
  • Statistics & ExperimentsMediumModel answer
    Should You Run a Below-Cost Seasonal Promotion?

    Evaluate a money-losing product promotion by defining the right metrics, estimating true incrementality, and surfacing strategic justifications with supporting evidence.

    Statistics & Experimentsexperiment designincrementalityretail analyticsmetric definition
  • Statistics & ExperimentsHardModel answer
    Root-Cause Analysis and Recovery Plan for a Falling Weekly Usage Rate

    A 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.

    Statistics & Experimentsproduct-analyticsexperimentationcausal-inferencemetric-definition
  • Statistics & ExperimentsHardModel answer
    Design an A/B Test for a Credit Card Promotional Offer

    Plan a two-week experiment to measure whether adding a promotional incentive to a card application page increases risk-adjusted profit per session.

    Statistics & Experimentsab-testingexperimentationmetricscausal-inference
  • Statistics & ExperimentsMediumModel answer
    Designing a Marketplace Experiment for a Courier Preference Feature

    Design a rigorous pilot study to evaluate a courier-controlled order filter, balancing supply-side satisfaction against customer fulfillment risk in a two-sided marketplace.

    Statistics & Experimentsa/b testingmarketplaceexperiment designmetrics
  • Statistics & ExperimentsHardModel answer
    Quantitative Reasoning: Probability, Combinatorics, and Logic

    Solve seventeen problems covering counting, expectation, conditional probability, combinatorics, and logical deduction.

    Statistics & Experimentsprobabilitycombinatoricsexpected-valuebayes-theorem
  • Statistics & ExperimentsMediumModel answer
    Is a 4.2% CTR Actually Good? A Hypothesis Testing Walkthrough

    Given a campaign click-through rate, formally test whether it beats a benchmark and interpret both statistical and practical significance.

    Statistics & Experimentshypothesis-testingproportionsconfidence-intervalsa-b-testing
  • Statistics & ExperimentsMediumModel answer
    Uniform Sampling From a One-Pass Stream

    Design an O(k)-memory single-pass sampler for a stream of unknown length and prove every element is kept with probability k/n.

    Statistics & Experimentsreservoir-samplingrandomized-algorithmsstreamingprobability-proof
  • Statistics & ExperimentsMediumModel answer
    A/B Testing a Marketplace Feature End to End

    Design a two-sided marketplace experiment, diagnose a sample ratio mismatch, reconcile conflicting metrics into a value view, and decide launch vs. iterate.

    Statistics & Experimentsab-testingexperiment-designsrmmarketplace-metrics
  • Statistics & ExperimentsHardModel answer
    Staggered Rollout Causal Analysis: Designing a Robust Estimation

    Design a staggered-adoption DiD for a phased 50-region rollout that stays valid under heterogeneous, dynamic treatment effects, from estimator choice to inference.

    Statistics & Experimentscausal-inferencedifference-in-differencespanel-dataevent-study
  • Statistics & ExperimentsMediumModel answer
    Measuring the Impact of Sorting Inboxes by Unread Count

    Design a data-driven evaluation and A/B experiment to decide whether reordering a multi-account switcher by unread message count improves user engagement.

    Statistics & Experimentsexperiment-designmetric-designcausal-inference
  • Statistics & ExperimentsMediumModel answer
    Investigate a Sudden Drop in Email-Driven Job Applications

    Walk through the email-to-application funnel to separate a tracking bug, a delivery failure, and a relevance problem from each other.

    Statistics & Experimentsproduct analyticsfunnel analysisroot cause analysisrecommendation systems
  • Statistics & ExperimentsMediumModel answer
    Designing and Analyzing a Free-Trial Growth Experiment

    Design metrics, choose analysis populations, identify pitfalls, and make a business decision for an A/B test offering a one-month free trial.

    Statistics & Experimentsab-testingcausal-inferencemetricsexperimentation
  • Statistics & ExperimentsMediumModel answer
    Designing Experiments Across a Three-Sided Delivery Marketplace

    Reason through A/B design, randomization units, and root-cause diagnosis for delivery-marketplace programs, promotion systems, and a spike in cancellations.

    Statistics & Experimentsexperimentationcausal-inferencemarketplacemetrics
  • Statistics & ExperimentsMediumModel answer
    Simpson's Paradox, Segregation Metrics, and Fixing Ad Regression

    Explain a classic statistical trap, design spatial metrics for species data, diagnose a causal inference problem, and reduce survey error — all in plain language.

    Statistics & Experimentssimpson's paradoxconfoundingexperimental designmargin of error
  • Statistics & ExperimentsMediumModel answer
    Estimating Feature Impact Without a Holdout Group

    Design a retrospective analysis to measure the causal effect of a payment optimization deployed to all merchants in one region, with no randomized control.

    Statistics & Experimentscausal-inferenceexperimentationobservational-methods
  • Statistics & ExperimentsMediumModel answer
    Bootstrap Confidence Interval for Mean Order Value

    Implement vectorized bootstrap resampling to estimate a 95% confidence interval for the mean of a sample, handling memory constraints efficiently.

    Statistics & Experimentsbootstrapconfidence-intervalsresamplingnumpy