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
November 29, 20260
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
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- 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 QuestionsSample 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 or ....
Approach
With 14 events, the pooled-variance z-test relies on a normal approximation to tiny counts. An exact test conditions on the total failures: under , each failure is equally lik...