KatInterview

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

Statistics Interview Problems

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

5979
Problems
2215
Auto-graded
15
Topics
273
Added today

Showing 211–240 of 523 results

  • Statistics & ExperimentsHardModel answer
    A/B Testing Auction Revenue with Heavy Tails and Zeros

    Design a defensible inference plan for comparing mean revenue between two arms when data is zero-heavy, extremely skewed and contaminated by spikes, including outlier handling and multiple-testing control.

    Statistics & Experimentsab-testingbootstrapwinsorizationheavy-tails
  • Statistics & ExperimentsMediumModel answer
    Two Random Cuts on a Rope: Chance of Forming a Triangle

    Cut a unit-length rope at two independent uniform points and find the probability the three segments can be the sides of a triangle, with a clear derivation.

    Statistics & Experimentsgeometric-probabilityuniform-distributiontriangle-inequalitycontinuous-random-variables
  • Statistics & ExperimentsMediumModel answer
    Measuring a Voluntary App Redesign Rollout Without an A/B Test

    Estimate the causal effect of an opt-in app redesign when users self-select into upgrading, covering cohort design, confounders, estimation methods, and validation checks.

    Statistics & Experimentscausal-inferencepropensity-scoredifference-in-differencesobservational-study
  • Statistics & ExperimentsMediumModel answer
    Investigating Swings in a Loan Approval Rate Over Two Years

    Explain how you would diagnose a dip, a bump and a sustained rise in a monthly approval rate by splitting numerator, denominator and mix, validating data, and separating seasonality from causal effects.

    Statistics & Experimentsroot-cause-analysisratio-metricstime-seriessegmentation
  • Statistics & ExperimentsMediumModel answer
    Why Scaling Sample Singletons by 10 Overcounts Rare Queries

    Explain the bias of scaling sample singleton counts from a 10% log sample, then build, stress-test and simulate better estimators of the true number of once-only queries.

    Statistics & Experimentssamplinggood-turingfrequency-of-frequenciesbootstrap
  • Statistics & ExperimentsEasyModel answer
    Four Quick Probability Drills: Decay, Regression, Doors, Dice

    Answer four short probability and statistics questions: surviving atoms after repeated halvings, two population regression slopes, a three-door game show, and rolls needed to see every die face.

    Statistics & Experimentsprobabilitybinomialols-regressionmonty-hall
  • Statistics & ExperimentsMediumModel answer
    Four Quick Probability and Inference Problems

    Four short statistics problems: covariance of the min and max of two uniforms, why sample variance divides by n-1, z-test sample size, and a proof of the one-sided Chebyshev bound.

    Statistics & Experimentsorder-statisticscovarianceunbiased-estimationsample-size
  • Statistics & ExperimentsHardModel answer
    Evaluating an ML Component-Grouping Feature in a Design Tool

    Build a measurement plan for an ML feature that auto-groups design elements into reusable components, covering metrics, unit of analysis, power users, and causal lift.

    Statistics & Experimentsexperimentationmetricscausal-inferencenetwork-effects
  • Statistics & ExperimentsMediumModel answer
    Choosing Charts to Communicate a Streaming Engagement Metric

    Pick one streaming engagement metric, define it precisely, and justify at least two chart types that answer different stakeholder questions while avoiding common misreadings.

    Statistics & Experimentsdata-visualizationmetric-designanalyticsstakeholder-communication
  • Statistics & ExperimentsMediumModel answer
    Experiment Plan for a Run-Loop Suggestion Feature in a Maps App

    Plan a randomized experiment for a feature that suggests running loops in a maps app: choose metrics, define who enters the analysis, pick the randomization unit, set guardrails, and size the test.

    Statistics & Experimentsab-testingexperiment-designmetricspower-analysis
  • Statistics & ExperimentsMediumModel answer
    A/B Test Plan for a Selfie Liveness Step in Signup

    Plan an experiment for a new selfie-based liveness check in onboarding: pick metrics, choose a randomization unit that survives fraudster behavior, size the test, and handle uneven pass rates.

    Statistics & Experimentsab-testingexperiment-designpower-analysisinterference
  • Statistics & ExperimentsMediumModel answer
    Bootstrap: Measuring Variance Versus Shrinking It

    Explain whether resampling can make an estimator more precise, separating bootstrap standard errors from bagging, with one example where it fails and one where it helps.

    Statistics & Experimentsbootstrapbaggingvarianceresampling
  • Statistics & ExperimentsHardModel answer
    Why Did Engagement Rate Fall After a New Feed Module Shipped?

    Diagnose a fall in home-page click rate in an A/B test where DAU and time spent are flat, covering metrics, diagnosis steps, segment cuts, and a rollback-or-iterate decision framework.

    Statistics & Experimentsab-testingmetric-designroot-cause-analysissegmentation
  • Statistics & ExperimentsEasyModel answer
    Why Age-Restricted Orders Fail More Often, and How to Test a Fix

    Diagnose why one product category has a lower fulfillment rate on a delivery platform, choose data to confirm each cause, and analyze a randomized fix using a two-sample t-test.

    Statistics & Experimentshypothesis-testingt-testproduct-metricscausal-inference
  • Statistics & ExperimentsEasyModel answer
    Explaining Significance Results to Non-Technical Stakeholders

    Explain in plain language what a p-value measures, why it matters for ship-or-don't-ship decisions, and which common misreadings a strong answer should avoid.

    Statistics & Experimentsp-valuehypothesis-testingab-testingcommunication
  • Statistics & ExperimentsHardModel answer
    Validating a New Ad Ranking Model Through an Online Test

    Plan an online experiment for a new ad-ranking model, choose metrics, judge a CTR gain, investigate a surprising segment result, and decide whether a combined CTR and revenue gain justifies a global launch.

    Statistics & Experimentsab-testingexperiment-designguardrail-metricsheterogeneous-effects
  • Statistics & ExperimentsMediumModel answer
    Measuring a Premium Plan Launch and Flagging Risky Accounts

    Define primary, diagnostic and guardrail metrics for a paid-plan launch using only three tables, then build explainable rule-based SQL that scores accounts for financial-crime risk.

    Statistics & Experimentsmetricsexperimentationsqlfraud-detection
  • Statistics & ExperimentsMediumModel answer
    Evaluating a Dispatch Change: Welch Test on Pickup Wait Times

    Compute a Welch's t-test p-value on pickup wait times for one city and month, then judge whether the result is trustworthy and propose a sounder experiment for a shared fleet.

    Statistics & Experimentswelch-t-testpandasab-testinginterference
  • Statistics & ExperimentsMediumModel answer
    Root-Causing a Sudden Drop in Marketplace Sales

    Describe how you would investigate an unexpected, sustained fall in a company's sales: which metrics to break down, which data sources to pull, and how to turn findings into an action.

    Statistics & Experimentsroot-cause-analysismetricsfunnel-analysiscohort-analysis
  • Statistics & ExperimentsMediumModel answer
    Measuring the True Lift of Propensity-Targeted Upgrade Nudges

    Plan an evaluation of push nudges sent to users a model flags as likely to subscribe, covering pre-launch checks, flat-result diagnosis, and alternatives to user-level A/B tests.

    Statistics & Experimentsexperimentationcausal-inferenceincrementalityab-testing
  • Statistics & ExperimentsMediumModel answer
    Testing a Courier Tier Program Under Marketplace Interference

    Design an experiment for a courier priority-access program where treated and control couriers compete for the same orders, covering randomization, metrics, spillover analysis, and sample size.

    Statistics & Experimentsexperimentationinterferencecluster-randomizationswitchback
  • Statistics & ExperimentsHardModel answer
    Shopping Tab Metrics Dashboard and Browse-to-Buy Gap Diagnosis

    Design a metrics dashboard for an organic shopping surface, then lay out how to diagnose and experimentally explain why heavy browsing is not turning into purchases.

    Statistics & Experimentsproduct-analyticsdashboard-designfunnel-analysisexperimentation
  • Statistics & ExperimentsMediumModel answer
    Ride-Count Churn Under Random Pricing: Two-Ride Starter

    A rider takes two rides on day 1, each fairly priced with probability P. Find the chance of exactly one ride tomorrow and the chance the rider never stops riding.

    Statistics & Experimentsprobabilitymarkov-chainabsorbing-statebinomial
  • Statistics & ExperimentsMediumModel answer
    Budget Reallocation Plan with Experiment Design and Risk Controls

    Design a constrained next-quarter program budget mix to maximize net profit, estimate the upside, and lay out an experiment and analysis plan to validate it.

    Statistics & Experimentsexperiment-designbudget-allocationcausal-inferencepower-analysis
  • Statistics & ExperimentsMediumModel answer
    Diagnosing a 10% Delivery Time Rise in a Quick-Commerce City

    Average delivery time for a quick-commerce grocery service in one large city has risen 10% above target across all order types in the past week. Find the root cause.

    Statistics & Experimentsmetric-diagnosisroot-cause-analysisproduct-analyticsfunnel-decomposition
  • Statistics & ExperimentsMediumModel answer
    Four Growth Analytics Cases: Stories, Boosts, Creators, Logins

    Work through four product-growth scenarios using one framework: goal, metrics, funnel, data, hypotheses, one prioritized bet, and a validation plan.

    Statistics & Experimentsproduct-analyticsexperimentationfunnel-analysismetrics
  • Statistics & ExperimentsMediumModel answer
    First-Pass Review of an Unknown Dataset: Quality and Charts

    Describe how you would inspect a dataset you have never seen, judge how trustworthy it is, and pick charts that help business stakeholders make a decision.

    Statistics & Experimentsedadata-qualityvisualizationmissing-data
  • Statistics & ExperimentsMediumModel answer
    Subscription Unit Economics, Contract Terms and Breakeven Volume

    Model per-customer contribution for a subscription with free months and one-time costs, then compute breakeven volume under a contract with early exits and rank the sensitivities.

    Statistics & Experimentsunit-economicsbreakevensensitivity-analysisexpected-value
  • Statistics & ExperimentsMediumModel answer
    Random vs Quota-Based Ad Placement in a 100-Post Feed

    Compare independent 4% ad placement with one-ad-per-25-post-block placement: ad count, tail risk, back-to-back ads, the product trade-off, and an A/B test plan.

    Statistics & Experimentsprobabilitybinomial-distributionab-testingexperiment-design
  • Statistics & ExperimentsHardModel answer
    Measuring Community Health and Testing Nested Replies

    Design a health measurement framework for online communities of very different sizes, compare them fairly, and plan an experiment for a nested-reply comment feature.

    Statistics & Experimentsmetricsab-testingcluster-randomizationexperiment-design