PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Stripe

Diagnose and validate a ratio trend change

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in statistical inference and applied data-scientific reasoning, covering proportion hypothesis testing and confidence intervals, stratification and Simpson’s paradox, change-point detection with multiple-testing control, and Bayesian smoothing for low-count scenarios.

  • Medium
  • Stripe
  • Statistics & Math
  • Data Scientist

Diagnose and validate a ratio trend change

Company: Stripe

Role: Data Scientist

Category: Statistics & Math

Difficulty: Medium

Interview Round: Onsite

You are shown a weekly dispute_rate time series (disputes/succeeded_payments) that rises sharply, then partially reverts. Diagnose whether the change is real vs noise and whether mix shifts explain it. - Significance: Using the counts below, compute the overall Week 35 vs Week 34 difference in proportions test (two-sided) and a 99% CI for the difference. Data: • Week 34 overall: disputes=800, succeeded=100000 (0.80%) • Week 35 overall: disputes=1400, succeeded=110000 (1.27%) - Stratification (Simpson’s paradox check): Per-country counts • Week 34 US: 400/50000; EU: 400/50000 • Week 35 US: 1200/60000; EU: 200/50000 Compute the per-country changes and the mix-adjusted overall change if Week 35 had Week 34’s country mix. Explain why overall increased while EU improved. - Change-point detection at scale: You must monitor 200 country×industry pairs weekly. Propose a multiple-testing procedure (e.g., Benjamini–Hochberg at q=0.10) and a practical effect-size floor. Describe how you’d combine statistical and practical significance. - Small denominators: When succeeded_payments < 5,000, propose a Bayesian smoothing approach (e.g., Beta-Binomial with informative prior) and how to report shrunken rates with intervals. Answer with formulas, numeric results for the provided counts, and clear decision rules.

Quick Answer: This question evaluates proficiency in statistical inference and applied data-scientific reasoning, covering proportion hypothesis testing and confidence intervals, stratification and Simpson’s paradox, change-point detection with multiple-testing control, and Bayesian smoothing for low-count scenarios.

Related Interview Questions

  • Compute power and interpret uplift metrics - Stripe (medium)
  • Choose threshold under costs and uncertainty - Stripe (medium)
Stripe logo
Stripe
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
0
0

You are shown a weekly dispute_rate time series (disputes/succeeded_payments) that rises sharply, then partially reverts. Diagnose whether the change is real vs noise and whether mix shifts explain it.

  • Significance: Using the counts below, compute the overall Week 35 vs Week 34 difference in proportions test (two-sided) and a 99% CI for the difference. Data: • Week 34 overall: disputes=800, succeeded=100000 (0.80%) • Week 35 overall: disputes=1400, succeeded=110000 (1.27%)
  • Stratification (Simpson’s paradox check): Per-country counts • Week 34 US: 400/50000; EU: 400/50000 • Week 35 US: 1200/60000; EU: 200/50000 Compute the per-country changes and the mix-adjusted overall change if Week 35 had Week 34’s country mix. Explain why overall increased while EU improved.
  • Change-point detection at scale: You must monitor 200 country×industry pairs weekly. Propose a multiple-testing procedure (e.g., Benjamini–Hochberg at q=0.10) and a practical effect-size floor. Describe how you’d combine statistical and practical significance.
  • Small denominators: When succeeded_payments < 5,000, propose a Bayesian smoothing approach (e.g., Beta-Binomial with informative prior) and how to report shrunken rates with intervals. Answer with formulas, numeric results for the provided counts, and clear decision rules.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Stripe•More Data Scientist•Stripe Data Scientist•Stripe Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.