Case Study 17 · Live, 28 November 2026

Credit Card Marketplace: Approval Odds, Recommendation and Experiments

Funnel metrics in SQL · Latent classes · Calibration · Probit with sample selection · Expected value ranking · SRM · CUPED · Delta method · mSPRT · Holm · X- and DR-learners · Qini · PySpark · Delta · MLflow · Databricks bundle · Python · JavaScript · 20 tests

The business question

A card marketplace shows a consumer offers from many issuers. The consumer wants to know which card is worth having and whether they will be approved; a denial costs a hard inquiry and their trust in the site. The product needs three things: approval odds that tell the truth (calibrated), a recommendation that weighs a card’s value against the chance of getting it, and a reliable way to know whether each change to the product worked. This case answers the three with public data.

The data

  • New York Fed, SCE Credit Access Survey (microdata, October 2013 to October 2025): 39,025 interviews of 17,904 people, three waves a year. Whether they applied for a card in the past 12 months, whether they were approved, partly approved or turned down, whether they did not apply because they expected a denial, their self-reported credit score band, card balance, late payments, and the chance they give themselves of being approved. The file has no income, age or education, so the models use none.
  • Criteo Uplift v2.1 (Diemert et al., 2021): an advertising experiment with 13,979,592 users, 85% exposed, with visits and conversions and 12 pre-treatment features. Its licence (CC BY-NC-SA 4.0) allows aggregates only, which is all this page shows.
  • Hillstrom e-mail test (2008): 64,000 customers sent a men’s e-mail, a women’s e-mail or none.
  • CFPB complaint database (API, 366,831 credit card complaints) for the guardrail metric, and FRED for the share of banks tightening card standards and the average card interest rate.

Try it

Pick a profile and see the approval odds and the cards ranked by expected value; size an experiment; read a real 13.98 million-user test with its checks; follow the funnel since 2013.

The odds, card values, sample sizes and mSPRT statistic on this page are computed by a port of the Python, checked against it in 46 cases on every push.

Method, and why this one

One north-star metric, defined once. Approved card applications per person with a credit need (applied for any credit, or did not apply because they expected a denial). Its inputs are the application rate, the approval rate and the discouragement rate; denials per 100 applications and complaints about denied applications are guardrails. The definitions live in a versioned SQL file that runs in DuckDB here and as Databricks SQL in the bundle; a test checks it against the pandas code. Behavioural segments come from a latent class model (a mixture of Bernoulli variables fitted by EM, five classes by BIC), named by a written rule.

Odds that hold up a year later. Three models predict approval among applicants: a logit with splines, gradient boosting constrained to rise with the score band, and a small logit with the seven inputs a visitor can answer, which the page uses. They are trained up to October 2022, calibrated on 2023 and tested on 2024 and 2025, a period they never saw. Calibration is the main criterion (Niculescu-Mizil and Caruana, 2005; Guo et al., 2017): the reliability curve, Brier score, expected calibration error, and the calibration intercept and slope; an isotonic map fitted on 2023 is checked on the test. The page shows the odds with the observed approval rate of their band (low below 75%, medium to 90%, high above).

Who does not apply. Approval is only seen for people who applied, and they are not a random sample (Heckman, 1979). A probit with sample selection (Van de Ven and Van Praag, 1981), fitted by maximum likelihood, models applying and approval together; the chance of needing US$ 2,000 next month enters the applying equation only. It gives the approval odds of the 3.3% of respondents who did not apply because they expected a denial (Jappelli, 1990). The faster two-step version gave an inverse Mills coefficient of 2.5, outside the range a correlation can take, so it is reported and not used.

Beliefs against outcomes. The survey asks people the chance they would be approved. The panel follows them, so the stated chance can be set against the outcome the same person reports in a later wave, 3,774 pairs.

A card’s value, weighted by the odds. First-year value = rewards on monthly spend, minus the annual fee, minus interest on the balance carried (at a point of the card’s APR range set by the score band), with intro months at 0%. Expected value = odds x value - (1 - odds) x the cost of a denial. Not applying is worth zero, so a card is shown only if it beats that. Fees and interest are where card costs sit for most consumers (Agarwal et al., 2015).

Reading an experiment: checks first. Sample ratio against the planned split (Fabijan et al., 2019); an A/A split of the control group; standardised differences of the 12 pre-treatment features, and a classifier that tries to predict the arm from them, against the same classifier on shuffled labels. Then the effect with a 95% interval, ratio metrics by the delta method, regression adjustment on the pre-treatment features (CUPED; Deng et al., 2013; Lin, 2013), Holm across metrics, and the sample size each minimum effect needs (Kohavi, Tang and Xu, 2020). Peeking is simulated on real control users (A/A, 300 replications, 1 to 100 looks): a fixed test stopped at the first p < 0.05 against the always-valid mixture SPRT (Johari et al., 2022) and its confidence sequence (Howard et al., 2021). Effects by user come from X- and DR-learners (Künzel et al., 2019; Kennedy, 2023) trained on 400,000 users and judged on 200,000 others by the Qini curve and the effect inside the top 10%, 25% and 50%. The analysis plan is in the repository.

Pipeline. The experiment runs as a PySpark job (bronze, silver, gold); the gold table holds the per-arm sums, enough for the whole readout. The same gold is written by DuckDB and the deltalake package as Delta tables, and a test checks that both paths agree. MLflow logs the approval model and its calibration. A Databricks Asset Bundle defines four jobs (ingest, metrics, readout, model refit after each survey wave); CI checks its structure. A readout page for a product manager is written by fixed rules from the results.

Result

The funnel. Half of respondents need credit in a year and about a quarter apply for a card. Approval among applicants fell from 83.6% in 2019 to 78.1% in 2025, and denials per 100 applications rose from 19.6 in 2023 to 21.9 in 2025. The north star dropped from 0.43 in 2019 to 0.35 in 2021 and was 0.40 in 2025. By score band the gap is wide: applicants below 620 are approved 38% of the time and those above 760, 98%; 19% of people below 620 did not apply because they expected a denial, against 0.2% above 760. Five segments: settled with high scores (42%), settled (24%), active credit seekers (18%, approved 84%), discouraged (9%, approved 35%) and stretched (7%, most maxed out or late, approved 52%).

The odds hold out of time. On 1,525 applications from 2024 and 2025 the page’s small logit has an AUC of 0.868 (0.844 to 0.888) and a Brier score of 0.098, against 0.142 for the base rate. Its calibration slope is 0.90 and the expected calibration error 2.2 points; the isotonic map brings the slope to 0.95 without changing the Brier score. The spline logit is as good (AUC 0.868, Brier 0.100) and the monotone gradient boosting slightly worse (0.858, 0.101): with seven survey answers, a richer model has nothing to add. Using only the score band’s approval rate gives 0.843 and 0.105. In the test, applications shown “high” (57% of them) were approved 97.1% of the time (95.8% to 98.0%), “medium” 84.2% and “low” 58.1%. Predicted and observed approval agree within 3 points in every score band with more than 100 test applications (the 37 who did not know their score: 73% predicted, 78% observed) and for financially fragile people (64.2% against 65.0%).

Discouraged borrowers would mostly be turned down. Applying the applicants’ model to them says 54% would be approved. Correcting for selection says 23%: the correlation between applying and approval is 0.86, so the people who apply are those likely to be approved. Only 6.6% of the discouraged have odds above 50%. The growth from showing odds before applying is smaller than the naive model promises, and it sits mostly in the 620 to 760 bands (28% to 46%). The correlation is identified by one exclusion variable and the probit’s shape, so this figure has the widest margin on the page.

People misjudge their own odds, and that is the case for showing them. Those who said their chance was below 50% (mean 14%) were approved 56% of the time when they applied later; the model said 65%. The model’s Brier score on these 3,774 pairs is 0.088, the people’s own is 0.135. Among everyone who states a chance, the fifth most pessimistic against the model (53 points below it) did not apply for fear of a denial 11.4% of the time, against 0.5% in the middle fifth.

Recommendation. The survey does not say which card was requested, so the odds are the same for every card in a profile: they do not reorder cards, they decide whether to recommend applying at all. On 3,000 profiles drawn from respondents, ranking by value but ignoring the odds leaves US$ 58 a year per person on the table, all of it from recommending a card when not applying is better (37% of profiles); picking the highest rewards card leaves US$ 352, and the lowest APR US$ 553.

The experiment: the sample ratio passes, the balance does not. 85.0000% of users were in treatment (p = 0.999), and the A/A difference in control is 0.06 points (p = 0.04, one split in twenty lands there by chance; the peeking simulation with one look gives 5.7%, as it should). But seven of the 12 features differ by more than 0.02 standard deviations (up to 0.049), and a classifier predicts the arm with an AUC of 0.508 on held-out users, above 0.502, the most it reaches on shuffled labels. Ads raise visits from 3.82% to 4.85%, 1.03 points (1.01 to 1.06); adjusted for the features, 0.70 points (0.67 to 0.72). The adjustment cuts the variance by 25% but here it also corrects an imbalance, so the two numbers disagree by much more than their errors. The direction is safe; the size is not, until the assignment log is checked. The readout says exactly that. Conversion rises 0.12 points (59% relative), and conversions per visit from 5.07% to 6.36% (delta method); all survive Holm.

Peeking. Looking at an A/A test 10 times and stopping at the first p < 0.05 declares a winner in 20% of tests, 100 times in 40%. mSPRT stays at or below 1.7% at any number of looks. The price: on the real effect, the fixed test would first cross at 15,000 users and mSPRT at 50,000.

Who responds. Treating the top 10% of users by the X-learner’s score yields 67 extra visits per 1,000 treated, against 13 for treating at random; the DR-learner gives 62. Half of the gain of treating everyone comes from about a tenth of the users. Both learners were trained on the imbalanced data, so the ranking is more trustworthy than the size.

Hillstrom. The arms are balanced (p = 0.90). The men’s e-mail raises visits 7.6 points and the women’s 4.5; conversion 0.68 and 0.31 points; spend US$ 0.77 and US$ 0.42 per customer. All six survive Holm. Adjusting for the pre-period cuts variance by 3% for visits and almost nothing for spend, and spend is already capped at US$ 499 in the source (12 of 578 buyers sit at the cap), so winsorising at the 99th percentile changes nothing. CUPED is worth what the covariates predict, and here they predict little.

Limits

The survey reports self-assessed score bands and outcomes, not bureau data, and it does not say which card or issuer was requested, so the odds are those of a generic card application, not of a given card. The card terms in the calculator are examples, not real products: the CFPB Terms of Credit Card Plans files, the planned source of real terms, refused automated download on the day this was built, so no real catalogue is ranked here. The fairness check compares calibration by the groups the data has (score band, financial fragility, home ownership), in the spirit of Fuster et al. (2022); income, age and protected attributes are not in the file, and nothing here claims compliance with any lending rule. The selection model rests on one exclusion variable. The recommendation was never tested online; its regret figures compare rules under the same model and terms. The Criteo experiment fails the balance check; its adjusted effect is the better estimate, not a certain one.

Applied to your business

For a marketplace, a lender or a card issuer, the same pieces run on your own data: approval odds calibrated on your decisions and shown in bands that keep their promise, recommendations that know when not to recommend, and an experiment readout that checks the test before it reports the lift. It starts with the Data & AI Diagnostic and runs in your environment.

Code

Read the paper (PDF) github.com/rhozon/credit-card-marketplace-analytics

With Python 3.11 or later:

pip install -e ".[dev]"
pytest -v
python -m ccm.cli all                 # data in ~/data/card-marketplace
python -m ccm.report                  # the experiment readout
node tests/check_js.js                # the page's calculations = Python

The suite has 20 tests (the PySpark one runs in CI, with Java), and CI also runs the 46 checks of the JavaScript against the Python on every push.

References

Data: Survey of Consumer Expectations, Credit Access Survey, © 2013-2026 Federal Reserve Bank of New York (FRBNY), used under its terms; FRBNY disclaims responsibility for this analysis and interpretation. Criteo Uplift Prediction Dataset v2.1 (CC BY-NC-SA 4.0). Kevin Hillstrom, MineThatData E-Mail Analytics and Data Mining Challenge (2008). CFPB Consumer Complaint Database. FRED, Federal Reserve Bank of St. Louis (DRTSCLCC, TERMCBCCINTNS).

  • Agarwal, S., Chomsisengphet, S., Mahoney, N. and Stroebel, J. (2015). Regulating Consumer Financial Products: Evidence from Credit Cards. The Quarterly Journal of Economics, 130(1), 111-164. doi:10.1093/qje/qju037
  • Deng, A., Xu, Y., Kohavi, R. and Walker, T. (2013). Improving the sensitivity of online controlled experiments by utilizing pre-experiment data. Proceedings of the sixth ACM international conference on Web search and data mining, 123-132. doi:10.1145/2433396.2433413
  • Diemert, E., Betlei, A., Renaudin, C., Amini, M. R., Gregoir, T. and Rahier, T. (2021). A Large Scale Benchmark for Individual Treatment Effect Prediction and Uplift Modeling. arXiv. doi:10.48550/arXiv.2111.10106
  • Fabijan, A., Gupchup, J., Gupta, S., Omhover, J., Qin, W., Vermeer, L. et al. (2019). Diagnosing Sample Ratio Mismatch in Online Controlled Experiments. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2156-2164. doi:10.1145/3292500.3330722
  • Fuster, A., Goldsmith-Pinkham, P., Ramadorai, T. and Walther, A. (2022). Predictably Unequal? The Effects of Machine Learning on Credit Markets. The Journal of Finance, 77(1), 5-47. doi:10.1111/jofi.13090
  • Guo, C., Pleiss, G., Sun, Y. and Weinberger, K. Q. (2017). On Calibration of Modern Neural Networks. arXiv. doi:10.48550/arXiv.1706.04599
  • Heckman, J. J. (1979). Sample Selection Bias as a Specification Error. Econometrica, 47(1), 153. doi:10.2307/1912352
  • Howard, S. R., Ramdas, A., McAuliffe, J. and Sekhon, J. (2021). Time-uniform, nonparametric, nonasymptotic confidence sequences. The Annals of Statistics, 49(2), 1055-1080. doi:10.1214/20-AOS1991
  • Jappelli, T. (1990). Who is Credit Constrained in the U. S. Economy?. The Quarterly Journal of Economics, 105(1), 219. doi:10.2307/2937826
  • Johari, R., Koomen, P., Pekelis, L. and Walsh, D. (2022). Always Valid Inference: Continuous Monitoring of A/B Tests. Operations Research, 70(3), 1806-1821. doi:10.1287/opre.2021.2135
  • Kennedy, E. H. (2023). Towards optimal doubly robust estimation of heterogeneous causal effects. Electronic Journal of Statistics, 17(2), 3008-3049. doi:10.1214/23-EJS2157
  • Kohavi, R., Tang, D. and Xu, Y. (2020). Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing. Cambridge University Press. doi:10.1017/9781108653985
  • Künzel, S. R., Sekhon, J. S., Bickel, P. J. and Yu, B. (2019). Metalearners for estimating heterogeneous treatment effects using machine learning. Proceedings of the National Academy of Sciences, 116(10), 4156-4165. doi:10.1073/pnas.1804597116
  • Lin, W. (2013). Agnostic notes on regression adjustments to experimental data: Reexamining Freedman’s critique. The Annals of Applied Statistics, 7(1), 295-318. doi:10.1214/12-AOAS583
  • Niculescu-Mizil, A. and Caruana, R. (2005). Predicting good probabilities with supervised learning. Proceedings of the 22nd international conference on Machine learning - ICML ’05, 625-632. doi:10.1145/1102351.1102430
  • Van de Ven, W. P. M. M. and Van Praag, B. M. S. (1981). The demand for deductibles in private health insurance. Journal of Econometrics, 17(2), 229-252. doi:10.1016/0304-4076(81)90028-2
WhatsApp ↑