End-to-End A/B Test Design for a Credit Card Launch
Statistics & ExperimentsModel answerLast updated
Design a rigorous A/B test for a new credit card offer, covering randomization, metrics, sample size, bias, interference, and regulatory constraints.
Your team is about to roll out a redesigned credit card application experience that combines updated fee disclosures with a new welcome bonus. Before going live, leadership wants a thorough experimental plan.
Design the test from first principles. Your answer should cover:
- Randomization unit — what gets assigned, why, and how assignment is persisted across channels
- Eligibility and exclusions — which prospects are in scope, and what must be excluded before any treatment is applied
- Metric hierarchy — your primary success metric, supporting secondary metrics, and guardrails with clear rationale
- Power analysis — a worked sample-size estimate for a realistic baseline and target effect, and how long the test needs to run
- Selection bias — how the offer change can alter who applies and who gets approved, and what that does to naive per-applicant metrics
- Cross-channel interference — how you keep the two arms clean across web, app, mail, and call-center touchpoints
- Peeking and early stopping — your policy for monitoring results before the pre-planned end date
- Heterogeneous treatment effects — how you explore segment-level differences while controlling false discovery
- Regulatory constraints — what fair-lending requirements mean for how you design, analyze, and document the test
A strong answer is structured, makes explicit trade-offs, includes numbers where they matter, and flags the most common mistakes practitioners make with this type of test.
Hints
Hint 1
The offer simultaneously changes who decides to apply and how the underwriter evaluates them. Any metric that conditions on application or approval compares self-selected populations, not equivalent groups — think about how intent-to-treat framing solves this.
Hint 2
Your primary decision metric and your credit-risk guardrail have very different observation windows. Sketch out how you make a launch decision on funnel metrics quickly while still protecting against long-run delinquency.
Hint 3
Regulatory fair-lending rules do not just constrain what you can ship — they constrain how you randomize, what segments you can test, and what documentation you must produce. Name at least one concrete implication for your design.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Clarify the treatment before designing anything
The redesign bundles two changes: updated fee disclosures and a new welcome bonus. These likely have different mechanisms — one affects information clarity, the other shifts incentives. If leadership later asks which lever drove the result, a single bundled variant cannot answer that.
Decision point: if attribution matters, run a 2×2 factorial (control / disclosure only / bonus only / both). That costs roughly 2× the traffic to estimate the interaction term. If only the combined effect matters, a single treatment arm is fine — but say so explicitly and document it.
Randomization unit
Randomize at the person level, not the session or page view.
Prospects return across multiple sessions and devices. Session-level assignment would expose the same person to both APR disclosures and both bonus offers. That contaminates behavior and creates a compliance problem: offer terms must be consistent for a given individual under Regulation Z and most state disclosure rules.
Implementation:
- Assign deterministically using a hash of a stable prospect ID or customer key.
- For anonymous traffic, fall back to a first-party cookie and reconcile at identity resolution.
- Assign once and persist. Write the assignment to your identity graph at first exposure and honor it everywhere: web, app, call center, direct mail.
- For pre-screened or prequalified populations, assign at the prospect-list stage so the mailed offer, the landing page, and any inbound call-center script all agree.
Eligibility and exclusions
In scope: new-to-bank prospects who reach the acquisition flow in a channel where the variant can be rendered consistently.
Excluded before randomization:
- Existing cardholders
- Recent applicants (e.g., within the past 90 days)
- Employees
- Known fraud or synthetic identities flagged at pre-screen
- Jurisdictions where the variant's disclosure has not received legal sign-off
All exclusions must use pre-treatment attributes only. Excluding on anything observed after exposure — such as application data — introduces post-treatment selection bias.
Metric hierarchy
Overall evaluation criterion (OEC): risk-adjusted value per eligible visitor, approximated as expected NPV = interchange + interest income − bonus cost − expected credit and fraud losses. True NPV takes 12+ months to observe, so the OEC informs the long-term holdout design rather than the launch decision.
Primary metric: approved accounts per eligible visitor, measured as intent-to-treat (ITT). This is the right framing because it does not condition on applying or being approved.
Secondary metrics:
- Application start rate and completion rate (funnel diagnostics)
- Activation rate: first purchase within 30 or 60 days per eligible visitor
- Spend in the first 90 days per eligible visitor
Guardrails (non-inferiority, one-sided):
- Early delinquency proxies: first-payment miss, 30+ days past due at 3 and 6 months
- Fraud and synthetic-ID rate among approved accounts
- Bonus-chaser churn: account closed or dormant within 6 months of earning the bonus
- Complaint volume and call-center contacts citing fee confusion
- Cost per acquired account
Validity checks before analyzing results:
- Sample ratio mismatch (SRM): chi-square test on arm counts; a significant mismatch means the randomization or logging broke
- Covariate balance on pre-treatment features (e.g., credit tier from the prequal soft pull)
Power analysis and test duration
Assume baseline approved accounts per eligible visitor: p = 4%. Target a 5% relative lift, so δ = 0.002 (0.2 percentage points). Use α = 0.05 two-sided, power = 80%.
$$n_{\text{per arm}} = \frac{(z_{0.975}+z_{0.80})^2 \cdot 2p(1-p)}{\delta^2} = \frac{(1.96+0.84)^2 \cdot 2(0.04)(0.96)}{(0.002)^2} \approx 150{,}500$$
Total: roughly 301,000 eligible visitors.
At ~30,000 eligible visitors per day with a 50/50 split, enrollment takes about 10 days. Run for at least 14 days to cover two full weekly cycles and smooth out paycheck-timing effects.
Variance reduction: CUPED using pre-period covariates (prequal score, channel) typically cuts variance 10–30%, reducing required sample or MDE.
Guardrail power caveat: the delinquency guardrail has far lower power. At a 3% baseline DPD rate across ~6,000 approved accounts per arm, a non-inferiority margin of 1 pp is marginally detectable; a 0.3 pp margin is not. The right approach is to use enrollment for the funnel-metric launch decision and maintain a 5–10% long-term holdout in control for 6–12 months of credit-performance monitoring. The risk team must agree on the acceptable margin and kill criteria before the test launches.
Selection bias: pre-approval and underwriting
The welcome bonus changes who decides to apply — likely pulling in more marginal or bonus-motivated applicants. Underwriting occurs after exposure, so metrics conditioned on applying or being approved compare self-selected populations.
- Approval rate among applicants is not a causal estimate. A lower approval rate in treatment may simply mean the offer attracted more marginal applicants, not that the process got worse.
- Delinquency per approved account conflates composition change with behavior change. Report it, but pair it with the unconditional metric: delinquent accounts (and dollars) per eligible visitor.
- Hold underwriting fixed. Credit policy, score cutoffs, and credit lines must be identical across arms and frozen for the duration of the test. Changing them mid-test means you are running two experiments simultaneously.
- For effects among "always-takers" (those who would be approved under either arm), Lee bounds provide a defensible causal range when you cannot randomize approval.
Cross-channel interference
- Persistent person-level assignment is the primary defense. One person, one arm, across every touchpoint.
- Channel exclusions: if a channel cannot render the variant (e.g., a partner aggregator displaying static regulatory terms), exclude it from the test entirely. Do not allow it to deliver control experiences to treatment-assigned users.
- Budget and bid freeze: if conversion improves, automated paid-search bidding will shift spend. Freeze budgets and manual bid caps for the test duration.
- Offer leakage: bonus-sharing communities may post treatment offer codes. Monitor for treatment codes appearing on control applications.
- Shared operational capacity: if the treatment significantly increases application volume and strains manual-review queues, a person-level test understates congestion effects. Discuss this with fraud ops before launch; a geo-based holdout may be needed to measure it.
Peeking and early stopping
Pre-register the primary metric, MDE, α, and end date. Monitoring results continuously and stopping on nominal significance inflates the false-positive rate substantially.
Options:
- Sequential testing / alpha spending (e.g., O'Brien-Fleming): allows planned interim looks while preserving the overall Type I error rate. Specify look times in the pre-registration.
- Fixed-horizon with a blackout: run to the planned end date and resist internal pressure to call it early. For a 14-day test, allow at most one pre-specified interim look at day 7.
- Guardrail exceptions: define criteria for an emergency stop (e.g., fraud rate doubles, complaint volume spikes 3×) separately from the primary metric. These should trigger a human review, not an automatic shutdown.
Heterogeneous treatment effects
After confirming the primary result, explore segment-level effects by credit tier, channel, age band, and geography. Risks:
- Running 20 subgroup tests at α = 0.05 produces ~1 false positive by chance.
- Mitigation: use the Benjamini-Hochberg procedure to control the false discovery rate, pre-specify the segments of interest, and treat any unplanned comparisons as hypothesis-generating only.
- Bayesian hierarchical models are a strong alternative: they shrink noisy segment estimates toward the overall mean and produce posterior distributions over heterogeneity, which are easier to communicate to non-technical stakeholders.
Regulatory constraints
- Fair lending (ECOA / Reg B): randomization must not use protected characteristics (race, sex, national origin, age) as assignment criteria or produce materially disparate outcomes across these groups. Document the randomization mechanism and run a disparate-impact check on approval rates and pricing by inferred demographic group before launch.
- Consistent offer terms: a prospect who sees the treatment offer and then calls in must receive the same terms from the agent. Mismatches are a Reg Z violation.
- Adverse action: if a control-arm applicant is declined, the adverse action notice must reflect what they were actually shown, not the treatment terms.
- Documentation: regulators may request the experimental design, the randomization audit log, and the statistical results. Keep these artifacts for the standard retention period.
Common mistakes
- Conditioning success metrics on application or approval without acknowledging the selection problem
- Forgetting to freeze underwriting policy during the test
- Using session-level randomization for a product with multi-session consideration cycles
- Calling the test early based on a single peek at the primary metric
- Running segment analyses without multiple-comparison correction and presenting them as confirmatory
- Treating delinquency power as equivalent to funnel-metric power — they are not even close