Comparing Rare Payment Failures Between Two Checkout Flows

Last updated: November 29, 2026

Quick Overview

In a Facebook Shops test, 50,000 checkouts per arm saw 3 payment failures in control and 11 in treatment. Test whether the new flow fails more often using an exact method, and explain why a z-test is shaky here.

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


In a Facebook Shops test, 50,000 checkouts per arm saw 3 payment failures in control and 11 in treatment. Test whether the new flow fails more often using an exact method, and explain why a z-test is shaky here.

Payment reliability guardrails at Meta involve rare events where normal approximations break. This onsite question checks exact conditional tests (Fisher or conditional binomial), the logic of conditioning, and how to talk about risk when counts are tiny.

What the Interviewer Expects
  • Explain why few events make the normal approximation unreliable
  • Condition on total failures to get a binomial or hypergeometric null
  • Compute the one-sided exact p-value
  • Give an interval for the rate ratio
  • Discuss what a guardrail decision should be
Key Topics to Cover
Fisher's exact test
conditional binomial test
rare events
rate ratio
guardrail metrics
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How many checkouts would you need to detect a doubling of the failure rate with 80% power?
  • Would you use a one-sided or two-sided test for a guardrail?
  • What if failures cluster on a few merchants?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify
  • Control: 3 failures / 50,000. Treatment: 11 / 50,000. Equal arms.
  • Concern: treatment fails more (one-sided guardrail).
  • Each checkout is independent with failure probability pCp_C or pTp_T....
Approach

With 14 events, the pooled-variance z-test relies on a normal approximation to tiny counts. An exact test conditions on the total k=14k = 14 failures: under H0:pC=pTH_0: p_C = p_T, each failure is equally lik...


Submit Your Answer
Markdown supported