Chi-Square Test of Card Decline Reasons Across Channels

Last updated: November 29, 2026

Quick Overview

Among 500 online and 500 in-store declined card transactions, the reasons split into insufficient funds, suspected fraud, and other. Test whether the mix of decline reasons depends on channel and identify which cells drive the result.

Capital One
Statistics & Math
Data Scientist
Capital One
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


Among 500 online and 500 in-store declined card transactions, the reasons split into insufficient funds, suspected fraud, and other. Test whether the mix of decline reasons depends on channel and identify which cells drive the result.

Authorization and fraud strategy teams at Capital One look at decline mixes by channel to spot rule problems. The interviewer checks the chi-square test of independence: expected counts, statistic, degrees of freedom, and residual analysis.

What the Interviewer Expects
  • State independence as the null hypothesis
  • Compute expected counts from margins
  • Compute the statistic and degrees of freedom correctly
  • Use standardized residuals to explain the result
  • Translate the finding into an operational recommendation
Key Topics to Cover
chi-square test
contingency tables
expected counts
standardized residuals
Cramer's V
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
  • What if one expected cell count were below 5?
  • How would you measure effect size, not just significance?
  • Are declines independent observations if one customer has several?
  • How would you test whether the mix changed after a new fraud rule?
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

Observed counts:

Insufficient fundsSuspected fraudOtherTotal
Online30015050500
In-store4006040500
Total700210901000 ...
Approach

Expected count Eij=rowi×coljNE_{ij}=\frac{\text{row}_i\times\text{col}_j}{N}. Statistic χ2=∑(O−E)2E\chi^2=\sum\frac{(O-E)^2}{E}, with (r−1)(c−1)=2(r-1)(c-1)=2 degrees of freedom. Then look at standardized residuals (O−E)/E(O-E)/\sqrt E ...


Submit Your Answer
Markdown supported