Investigating Swings in a Loan Approval Rate Over Two Years
Statistics & ExperimentsModel answerLast updated
Explain how you would diagnose a dip, a bump and a sustained rise in a monthly approval rate by splitting numerator, denominator and mix, validating data, and separating seasonality from causal effects.
You are a senior data scientist at a payments company. A dashboard shows a rate metric, such as the share of credit applications that get approved, tracked from January 2013 to January 2015 at daily or weekly granularity.
The curve has three notable features:
- A clear drop around February 2013.
- A small spike around November 2013.
- A steady upward trend beginning around January 2014.
You have no other context. Walk through how you would explain what happened.
Cover the following:
- Hypotheses. For each of the three features, list plausible causes. Include both real business or product causes and data or measurement problems.
- Ratio decomposition. Because the metric is a ratio, describe how you would tell whether the change came from the numerator, the denominator, or a shift in the composition of applicants. Explain how you would separate mix effects from within-segment rate effects.
- Investigation plan. Specify which segments you would slice by, which supporting metrics you would pull, and how you would distinguish seasonality, one-off shocks, and a genuine causal effect from a launch or policy change.
State your assumptions explicitly, for example the metric definition, time zone, aggregation cadence, treatment of retries and pending decisions, and the stability of logging.
Hints
Hint 1
Before theorizing about the world, ask whether the number itself is trustworthy: check definition changes, logging or pipeline changes, duplicates and retries around each date.
Hint 2
Plot approvals and applications as separate series next to the rate. Whether the denominator moved, the numerator moved, or both tells you very different stories.
Hint 3
Write the overall rate as a share-weighted average of segment rates, then split any change into a mix part and a rate part. Watch for Simpson's paradox.
Hint 4
With only two years of history you have one repeat of each calendar period, so align holidays by their actual dates and use comparison groups or unaffected segments for causal claims.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Framing
I would work in a fixed order: state assumptions, validate the data, decompose the ratio, then hypothesize and test causes. Jumping straight to business stories before ruling out measurement artifacts is the most common mistake.
Assumptions
- Approval rate = approved applications / submitted applications, both attributed to the submission date.
- Retries and duplicates are deduplicated per applicant within a fixed window. Pending decisions are excluded or resolved before reporting.
- Aggregation is in one time zone (say UTC), with consistent week boundaries.
- Old periods are fully matured, so backfills do not rewrite history.
- There is one product and one decision system unless told otherwise.
1. Hypotheses by event
The shape of each feature helps: a persistent step suggests a launch, policy or definition change. A V-shape suggests a shock or seasonality. A gradual ramp suggests mix shift or feature adoption.
Feb 2013 dip
- Business: holiday-driven traffic shifts (for example Lunar New Year in a region with significant volume), a campaign that brought low-intent or thin-file applicants, a tightened risk rule or model change, an issuer or acquirer outage, a new market launch, or a fraud wave followed by stricter screening.
- Data: retries counted as new applications, bot or test traffic in the denominator, dropped approval events, time-zone boundary shifts, or noise amplified by a short month.
Nov 2013 bump
- Business: shopping events and promotions bringing high-intent buyers, pre-approved offers to returning customers, or temporarily relaxed limits.
- Data: an undercounted denominator (for example abandoned sessions not logged), a dedup fix, or a holiday mix dominated by good-standing returning users.
Jan 2014 sustained growth
- Business: a better risk model or looser policy, improved issuer routing and retries, a new partner, better KYC or onboarding UX, or a structural shift toward returning or lower-risk users.
- Data: a redefinition (for example only counting completed applications), a pipeline migration, new bot filtering, or a pre-screen that removes likely declines before logging, which creates survivorship bias.
2. Decomposing the ratio
Let R = A / N, with A approvals and N applications.
Numerator vs denominator. Plot A, N and R together. Because Δlog R = Δlog A − Δlog N, the change splits cleanly.
- R down, N up, A flat: the denominator was inflated (campaign, bots, retries). Decisioning likely did not degrade.
- R down, N flat, A down: decisioning or a downstream party changed (policy, model, issuer).
- Both move sharply at once: suspect logging first.
Mix vs rate. Write R = Σ wᵢ rᵢ, with wᵢ the share of segment i and rᵢ its approval rate. Between two periods:
ΔR = Σ Δwᵢ · r̄ᵢ (mix) + Σ w̄ᵢ · Δrᵢ (rate)
where bars are averages of the two periods, which makes the split exact.
- Mix dominates: the population changed, not the decision behavior.
- Rate dominates: something inside the decision pipeline changed.
- Simpson's paradox is possible: every segment can improve while the aggregate falls, or the Jan 2014 growth can be entirely a shift toward returning users.
Run this on each dimension separately, then jointly on the top two. Correlated dimensions (geo and issuer) can double-count.
Funnel view. If approval sits atop a funnel (start, submit, fraud screen, KYC or credit, issuer authorization), the overall rate is the product of stage rates. Find which stage moved.
3. Investigation plan
Step 0: validate the data.
- Reconcile with an independent source such as decision-engine logs, settlement files or a finance ledger.
- Check event volumes, null rates, duplicate rates and schema or app-version changes around each date.
- Read the deploy log and pipeline changelog.
- Recompute the metric under old and new definitions across the boundary. If the Jan 2014 step vanishes, it was an artifact.
Slices. Channel and campaign, new vs returning, geography and domestic vs cross-border, device, OS and app version (catches SDK logging bugs), risk tier or score band, KYC outcome, issuer or bank and card network, product type and ticket size, and hour or day of week (catches batch and time-zone artifacts).
Supporting metrics. Raw counts of applications, approvals and unique applicants; retry and duplicate rates; decline reasons by share; downstream fraud, chargeback and loss rates (did loosening in 2014 cost money later?); issuer latency and timeouts; marketing spend by channel; and score distributions, which separate population drift from threshold changes.
Separating seasonality, shocks and causal effects.
- Seasonality: compare with the same period a year earlier, aligned on the actual holiday date rather than the calendar date. With two years there is only one repeat, so treat this as suggestive and not conclusive.
- One-off shocks: look for a quick return to baseline, a clean match with an incident or outage log, and concentration in one issuer, channel or version.
- Causal impact of a launch or policy: find the exact change date, then use a difference-in-differences or synthetic-control comparison against segments that were not exposed (a different geo or issuer). Run an event-study plot to check pre-trends, and use an interrupted time series with seasonal terms if no control exists. Where possible, confirm with a holdout or a staged rollout.
- Guardrails: a rate that rises because approvals loosened should be checked against fraud and loss before being called a win.
Common mistakes
- Treating a rate change as a decisioning change without looking at the denominator.
- Skipping data validation and definition checks.
- Comparing calendar dates across years for moving holidays.
- Reporting only aggregate results and missing Simpson's paradox.
- Claiming causality from a before/after comparison with no control group.
- Ignoring downstream quality metrics when the rate improves.
Summary to deliver
Lead with the assumptions, report which of the three features survive data validation, state for each whether numerator, denominator or mix drove it, name the leading hypothesis and the single check that would confirm or refute it, and finish with the recommended action and monitoring.