Design an A/B Test for a Credit Card Promotional Offer
Statistics & ExperimentsModel answerLast updated
Plan a two-week experiment to measure whether adding a promotional incentive to a card application page increases risk-adjusted profit per session.
You work at a financial institution preparing to test a promotional incentive on a credit card application landing page. The baseline (control) shows the standard application form; the treatment variant displays a three-month complimentary gym membership offer to applicants.
Current performance and economics:
- Daily sessions: ~200,000
- Session-to-approval conversion: 8%
- Average initial credit limit for approved accounts: $1,000
- 90-day charge-off rate: 1.2%, with 60% loss given default
- Average 90-day revenue per approved account (interest plus interchange): $120
- Acquisition and onboarding cost per approved account: $40
Risk constraint: The risk team requires that the predicted default probability of the approved population must not rise by more than 10% relative to control.
Test parameters:
- Duration: 14 days
- Traffic split: 50/50
- Significance level: α = 0.05
- Target power: 80%
- Hypothesis: the offer will lift approval rate by approximately 5% relative
Your task:
-
Define the primary metric as risk-adjusted profit per visitor and write its precise formula using the given parameters. Specify at least two guardrail metrics with explicit thresholds for risk, fraud, or compliance monitoring.
-
Translate the hypothesis from a 5% relative lift in approval rate to an expected lift in your primary metric; state the assumptions required to avoid confounding across traffic sources and time-of-week patterns.
-
Determine the required sample size per arm to detect the expected lift with 80% power at α = 0.05. Justify your variance estimation approach (delta method vs. bootstrap resampling) and whether variance reduction techniques like CUPED or pre-period covariates are warranted.
-
Specify the randomization unit and identity-resolution strategy to prevent cross-contamination. Explain how you will handle repeat visitors, automated bot traffic, and users with multiple identifiers.
-
Outline a sequential testing procedure (such as group-sequential boundaries or alpha spending functions) that permits interim safety evaluations without inflating the Type I error rate. Define precise stop, continue, and scale-up decision rules.
-
Describe how you will monitor risk composition shifts (for example, predicted default probability by credit score band) and enforce the 10% PD guardrail while avoiding conditioning on post-treatment variables. Propose a stratified analysis and a plan to measure heterogeneous treatment effects by acquisition channel and geography.
-
List the data quality checks you will implement: event schemas, handling of missing data, session timeouts, instrumentation events, and procedures for late-arriving or backfilled data.
-
Make a ship decision if the variant increases approvals by 6% but also raises predicted default probability by 9% and reduces average credit limit by 5%. Use a 12-month net present value calculation (state your discount rate and churn assumptions).
-
Propose follow-on experiments to isolate the causal mechanism (for example, offer wording versus placement) and describe one off-policy evaluation you would conduct using historical decision scores.
Hints
Hint 1
Define profit accounting for expected loss on each approved account, not just revenue minus cost.
Hint 2
The 14-day test window is shorter than the 90-day outcome window—model predicted default at decision time and validate against realized vintages later.
Hint 3
A higher approval rate can reduce overall profit if it shifts the risk mix unfavorably or if the offer cost exceeds incremental margin.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
A strong answer demonstrates end-to-end experiment design: from metric construction and power calculation through identity resolution, sequential monitoring, risk guardrails, and economic decision-making under uncertainty.
1. Primary Metric and Guardrails
The goal is profit per randomized session, adjusted for credit risk.
Per approved account:
- Expected loss: EL = PD × LGD × Line = 0.012 × 0.60 × 1,000 = $7.20
- Profit: π = Revenue − Cost − EL = 120 − 40 − 7.20 = $72.80 (control)
For the treatment, subtract the offer cost per approved account (assume the three-month gym membership costs $75 per approved applicant):
- π_treatment = 120 − 40 − 75 − EL_treatment
Primary metric (RAPV): Risk-adjusted profit per visitor
RAPV = approval_rate × (Revenue − Cost − Offer_cost − PD × LGD × Line)
Control baseline: RAPV_control = 0.08 × 72.80 = $5.824 per session
Guardrail metrics:
- Credit risk (95% upper confidence bound): Mean predicted PD of approved accounts in treatment / control ≤ 1.10. Track first-payment-default rate as a leading indicator during the test.
- Fraud rate (95% UCB): Account-level fraud flag rate (flagged within 30 days) in treatment / control ≤ 1.05.
- Compliance: Application abandonment rate at identity-verification step should not increase by more than 2 percentage points (absolute).
2. Hypothesis Translation and Assumptions
A 5% relative lift in approval rate (8.0% → 8.4%) with unchanged unit economics would yield:
RAPV_treatment = 0.084 × 72.80 = $6.115
Absolute lift = $6.115 − $5.824 = $0.291 per visitor (5.0% relative)
However, reality is more complex:
- The offer may attract higher-risk applicants, raising PD.
- It may also attract applicants who would have converted anyway (selection effect).
- Credit policy may assign lower lines to marginal approvals, reducing expected revenue and loss.
Assumptions to avoid Simpson's paradox:
- Randomization is stratified by traffic source (organic, paid search, display, email) and day-of-week to ensure balance.
- Analysis uses post-stratification or covariate adjustment if imbalance emerges.
- Treatment assignment does not depend on user behavior prior to landing-page view (intent-to-treat from first exposure).
A realistic expectation adjusts for offer cost and slight risk shift:
RAPV_treatment ≈ 0.084 × (120 − 40 − 75 − 7.20×1.05) ≈ 0.084 × (−2.56) = −$0.215
This suggests the offer could destroy value unless revenue or line assumptions improve—emphasizing the need for the test.
For power calculations, assume a conservative +3% relative RAPV lift (≈ $0.175 absolute).
3. Sample Size and Variance Estimation
Target: detect Δ = $0.175 with 80% power at α = 0.05 (two-tailed).
Variance estimation:
- RAPV is a product of a Bernoulli (approval) and a continuous variable (profit). Use the delta method to approximate variance, or empirically estimate from historical daily session-level variance.
- Historical data: if daily per-session RAPV has standard deviation σ ≈ $15 (typical for sparse conversion funnels), then:
n = 2 × (1.96 + 0.84)² × σ² / Δ²
n = 2 × 7.84 × 225 / 0.0306 ≈ 115,000 per arm
Over 14 days at 200k sessions/day = 1.4M sessions/arm → well-powered.
Variance reduction:
- CUPED using pre-period session-level covariates (device type, hour-of-day, referrer, prior visit count) can reduce variance by 10–20%. Worthwhile given large N and short test duration.
- Fit:
RAPV_adjusted = RAPV − θ × (covariate − E[covariate])
where θ is the regression coefficient from historical data.
Justification: Delta method is appropriate for large N and low conversion rates. Bootstrap resampling adds computational cost without material benefit at this scale.
4. Randomization Unit and Identity Resolution
Unit of randomization: Deterministic hash of device ID + logged-in user ID (if available).
Identity graph:
- When a user is logged in, use the stable account ID.
- When anonymous, use a first-party cookie + device fingerprint (IP, user-agent, screen resolution).
- Build a probabilistic device graph to link sessions across devices for the same user; assign treatment deterministically by hashing the canonical user ID.
Edge cases:
- Repeat visitors: Once assigned, a user remains in the same arm for the test duration (persistent assignment).
- Bots and scrapers: Filter sessions with >10 page views in <5 seconds, or flagged by bot-detection service, before randomization.
- Duplicate applications: If a user applies multiple times, count only the first application event per user in the primary analysis (intent-to-treat); conduct a sensitivity analysis including all attempts.
5. Sequential Testing Plan
Use a group-sequential design with two interim looks (days 5, 10) plus final analysis (day 14).
Alpha spending (O'Brien-Fleming boundaries):
- Allocate α conservatively early; interim z-thresholds ≈ 3.5, 2.5, 1.96.
- If the 95% UCB on PD ratio exceeds 1.10 at any interim, pause enrollment and evaluate risk model calibration.
Decision rules:
| Look | Criterion (RAPV) | Criterion (PD guardrail) | Action |
|---|---|---|---|
| Interim 1 (day 5) | |z| > 3.5 | 95% UCB(PD_B/PD_A) > 1.10 | Stop for overwhelming evidence or safety |
| Interim 2 (day 10) | |z| > 2.5 | 95% UCB(PD_B/PD_A) > 1.10 | Stop for efficacy or safety |
| Final (day 14) | |z| > 1.96 | 95% UCB(PD_B/PD_A) ≤ 1.10 | Ship if both pass |
If RAPV is positive but PD guardrail fails, do not ship; consider tightening credit policy for the treatment group in a follow-on test.
6. Risk Mix Monitoring and Heterogeneity
Stratified risk analysis:
- Bin applicants by model score decile at time of decision.
- Report approval rate, mean PD, and mean line by decile for each arm.
- Check for crossover: does the treatment increase approvals in the lowest score bands disproportionately?
Avoiding post-treatment bias:
- PD and line are outcomes of the credit decision policy, which may itself respond to applicant characteristics changed by the offer.
- Primary analysis: compare the distribution of application scores (pre-decision) between arms. If distributions differ, the offer is selecting a different population.
- Guardrail enforcement: use predicted PD from the credit model at application time (before approval decision) as the risk measure.
Heterogeneity readout:
- Fit:
RAPV ~ treatment + channel + geo + treatment×channel + treatment×geo
- Report treatment effect by paid vs. organic, and by top 5 metro areas.
- Test for interaction significance; if channel effects differ by >50%, consider channel-specific rollouts.
7. Data Quality and Instrumentation
Event schema:
page_view(timestamp, session_id, user_id, variant, page_type)application_start(timestamp, session_id, user_id, variant)application_submit(timestamp, application_id, user_id, variant)decision(timestamp, application_id, user_id, variant, approved, credit_line, model_score, predicted_PD)fraud_flag(timestamp, application_id, flag_type)
Quality checks:
- Missingness: <1% of
decisionevents should lackpredicted_PD. Investigate and impute or exclude. - SRM (sample ratio mismatch): Daily chi-square test on session counts; alert if p < 0.01.
- Timeouts: Sessions with no event for >30 min are considered closed; do not double-count.
- Late arrivals: Decision events may arrive with up to 24-hour delay (batch scoring). Backfill daily and lock analysis dataset 48 hours after test end.
Monitoring dashboard:
- Real-time: session split, application rate, approval rate.
- Daily: RAPV, PD 95% UCB, fraud rate, score distribution quantiles.
8. Ship Decision with Scenario Analysis
Observed results:
- Approval rate: +6% relative (8.0% → 8.48%)
- Predicted PD: +9% relative (1.20% → 1.308%)
- Average line: −5% (1,000 → 950)
12-month NPV (per approved account):
Assume:
- Monthly revenue = $10 (interest + interchange)
- Monthly churn = 5% → retention curve over 12 months
- Discount rate: 1% per month
- Offer cost: $75
- Expected loss at origination: PD × LGD × Line
Treatment account NPV:
Revenue_PV = 10 × ∑(0.95^t / 1.01^t) for t=1..12 ≈ 10 × 9.8 = $98
EL = 0.01308 × 0.60 × 950 = $7.46
NPV = 98 − 40 − 75 − 7.46 = −$24.46
Control account NPV:
Revenue_PV ≈ 10 × ∑(0.95^t / 1.01^t) ≈ $98 (assume same behavior post-approval)
EL = 0.012 × 0.60 × 1,000 = $7.20
NPV = 98 − 40 − 7.20 = $50.80
RAPV:
- Treatment: 0.0848 × (−24.46) = −$2.07
- Control: 0.08 × 50.80 = $4.06
Decision: Do not ship. The offer attracts higher volume but destroys value due to adverse selection, higher risk, and high offer cost. The PD increase (9%) is within the guardrail but combined with lower lines and high offer cost, the unit economics are deeply negative.
Sensitivity: If offer cost were reduced to $30 or if incremental revenue increased due to higher engagement, re-evaluate.
9. Follow-On Experiments and Off-Policy Evaluation
Mechanism isolation experiments:
- Offer placement test: Show the gym offer on a post-approval confirmation page (after decision) instead of the landing page. Measures whether the offer changes applicant composition or only influences conversion of the same population.
- Offer value ladder: Test $50 vs. $100 gym credit to find the marginal cost-effectiveness curve.
Off-policy evaluation:
Using historical data with credit model scores and treatment propensity (e.g., prior promo exposure), fit an inverse propensity weighting (IPW) or doubly robust estimator to simulate the treatment effect on historical cohorts:
τ̂ = E[ (Y_i × T_i) / e(X_i) − (Y_i × (1−T_i)) / (1−e(X_i)) ]
where e(X_i) is the propensity to receive an offer given covariates X. This validates whether the observed effect aligns with prior observational patterns and identifies subpopulations where the offer might perform better.
Summary
A rigorous A/B test for a financial product requires more than measuring conversion lifts. The answer must integrate:
- Unit economics and risk: Profit metrics that include expected loss.
- Guardrails: Hard constraints on credit risk and fraud to prevent value destruction.
- Statistical rigor: Proper power calculations, variance reduction, sequential testing, and identity resolution.
- Causal clarity: Stratification, heterogeneity analysis, and avoidance of post-treatment conditioning.
- Business judgment: NPV-based ship decisions sensitive to cost structure and risk trade-offs.
Common mistakes include ignoring expected loss in the metric, failing to model risk shifts, using naive A/A variance estimates, and shipping based on approval lifts without profit confirmation.