KatInterview

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

Statistics Interview Problems

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

5981
Problems
2215
Auto-graded
15
Topics
272
Added today

Showing 241–270 of 523 results

  • Statistics & ExperimentsHardModel answer
    Evaluating a Same-Day Delivery Checkout Experiment on Net Contribution

    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.

    Statistics & Experimentsab-testingratio-metricsdelta-methodheterogeneous-treatment-effects
  • Statistics & ExperimentsMediumModel answer
    Audit a Flaky Free-Trial Rollout Function for Experiment Safety

    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.

    Statistics & Experimentsexperimentationidempotencydata-integrityreliability
  • Statistics & ExperimentsHardModel answer
    Diagnosing and Testing Pickup Wait Estimates in a Ride Marketplace

    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.

    Statistics & Experimentsexperimentationswitchbackcausal-inferencemarketplace
  • Statistics & ExperimentsMediumModel answer
    Testing a New Home-Feed Ranker: Experiment Design and Causal Methods

    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.

    Statistics & Experimentsab-testingpower-analysisguardrail-metricsdifference-in-differences
  • Statistics & ExperimentsMediumModel answer
    Turning a Vague Product Goal into an Experiment Plan

    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.

    Statistics & Experimentsexperiment-designmetricsab-testinghypotheses
  • Statistics & ExperimentsMediumModel answer
    Causal Effect of a Smart Display Purchase on Calling Time

    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.

    Statistics & Experimentsdifference-in-differencescausal-inferencestaggered-adoptionselection-bias
  • Statistics & ExperimentsMediumModel answer
    Testing a Faster Pickup-Time Algorithm in a Ride Marketplace

    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.

    Statistics & Experimentsab-testingswitchbackinterferencemarketplace
  • Statistics & ExperimentsMediumModel answer
    Break-Even Analysis for a Merchant-Funded Card Discount Promo

    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.

    Statistics & Experimentsbreak-even analysisincrementalityexperiment designunit economics
  • Statistics & ExperimentsMediumModel answer
    Dart Throw Scoring with Gaussian Scatter and Concentric Rings

    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.

    Statistics & Experimentsprobabilitybivariate-normalrayleigh-distributionexpected-value
  • Statistics & ExperimentsMediumModel answer
    Auditing an A/B Assignment and Free-Trial Trigger Script

    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.

    Statistics & Experimentsexperimentationcode-reviewidempotencyrandomization
  • Statistics & ExperimentsMediumModel answer
    Shrinking Feed Cards by 15%: Test Design and a Regional Revenue Split

    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.

    Statistics & Experimentsab-testingexperiment-designmetric-decompositionheterogeneous-effects
  • Statistics & ExperimentsMediumModel answer
    Raising Web-to-App Installs: Funnel Diagnosis and A/B Tests

    Diagnose where mobile-web customers drop before installing the native app, then design randomized experiments that raise installs while protecting incremental orders and retention.

    Statistics & Experimentsab-testingfunnel-analysisexperiment-designattribution
  • Statistics & ExperimentsMediumModel answer
    Early Attrition Metrics and a Guided Onboarding A/B Test

    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.

    Statistics & Experimentsab-testingchurnmetric-designsurvival-analysis
  • Statistics & ExperimentsMediumModel answer
    Estimating Sign-up Lift from a Two-City Outdoor Ad Launch

    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.

    Statistics & Experimentscausal-inferencesynthetic-controldifference-in-differencesgeo-experiment
  • Statistics & ExperimentsHardModel answer
    Investigating Video Call Drops and Their Effect on Contract Renewals

    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.

    Statistics & Experimentsroot-cause-analysiscausal-inferenceretentionchurn-modeling
  • Statistics & ExperimentsMediumModel answer
    Bidding Against a Better-Informed Rival for a 200-Coin Prize

    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.

    Statistics & Experimentsprobabilityexpected-valuegame-theoryauctions
  • Statistics & ExperimentsHardModel answer
    Build-or-Skip Case: Evidence-Backed Go/No-Go for a New Feature

    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.

    Statistics & Experimentsproduct-analyticsexperiment-designmarket-sizinggo-no-go
  • Statistics & ExperimentsHardModel answer
    Measuring User Exposure to Policy-Violating Posts

    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.

    Statistics & Experimentsmetric-designcontent-safetyexperimentationconfidence-intervals
  • Statistics & ExperimentsMediumModel answer
    Grow Profit in a Deal-Finding Browser Extension and Rewards App

    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.

    Statistics & Experimentsproduct-senseab-testingmonetizationemail-ux
  • Statistics & ExperimentsMediumModel answer
    Expected Rolls Until a Die Shows a Strict Rise

    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.

    Statistics & Experimentsprobabilityexpected-valuemarkov-chainstopping-time
  • Statistics & ExperimentsMediumModel answer
    Measuring a Quick-Reaction Feature in a Chat App

    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.

    Statistics & Experimentsab-testingnetwork-effectsmetricscluster-randomization
  • Statistics & ExperimentsMediumModel answer
    Shared vs. split queues, height mixtures, and shrinkage bias

    Compare a single bank queue with separate lines, reason about height and social-degree distributions, and check whether lasso and ridge estimators are unbiased.

    Statistics & Experimentsqueueing theorydistributionsmixture modelsskewness
  • Statistics & ExperimentsMediumModel answer
    Poisson MLE, Dispersion Testing, and Normal Approximation for Counts

    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.

    Statistics & Experimentspoissonmledispersionnormal-approximation
  • Statistics & ExperimentsHardModel answer
    Sampling Strategy for Estimating Classifier Accuracy with a Fixed Review Budget

    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.

    Statistics & Experimentsstatisticsmachine-learningexperimental-design
  • Statistics & ExperimentsEasyModel answer
    Is a 65% Conversion Rate Proof a Campaign Beat Its 60% Target?

    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.

    Statistics & Experimentshypothesis-testingconfidence-intervalsproportions
  • Statistics & ExperimentsHardModel answer
    Designing a Two-Sided Marketplace Experiment

    Design a rigorous causal experiment for a two-sided platform feature, handling network interference through cluster randomization and spillover measurement.

    Statistics & Experimentsexperimentationcausal-inferencemarketplacenetwork-effects
  • Statistics & ExperimentsMediumModel answer
    CTR Confidence Intervals and Variance Decomposition

    Derive a pooled click-through rate estimator, compare Wald vs. exact binomial confidence intervals, and separate real day-to-day volatility from sampling noise.

    Statistics & Experimentsconfidence-intervalsbinomial-proportionvariancectr
  • Statistics & ExperimentsMediumModel answer
    Uniform Random Sampling and Histogram Percentile Calculation

    Generate uniformly distributed points in a square region and compute percentiles from binned frequency data using linear interpolation.

    Statistics & Experimentsprobabilitysamplinginterpolationpercentiles
  • Statistics & ExperimentsMediumModel answer
    Deciding Whether Two Samples Share the Same Distribution

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

    Statistics & Experimentshypothesis-testingtwo-sample-testsmultivariatesampling
  • Statistics & ExperimentsMediumModel answer
    Diagnose Poor Search Quality for Named-Entity Queries

    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.

    Statistics & Experimentssearch relevancemetricsexperimentationcontent safety