Assessing a Customer Retention Incentive Using Causal Methods
Statistics & ExperimentsModel answerLast updated
Design and validate a causal analysis for a regionally piloted customer compensation policy using difference-in-differences and related techniques.
A company tested a new compensation policy in selected regions: customers experiencing service failures (such as lost or damaged orders) received store credit in addition to standard remedies like refunds or replacements. Your task is to design an evaluation strategy to measure whether this policy improves customer outcomes and whether it should be scaled.
Your analysis should cover:
-
Metric selection: What outcomes matter for the business decision? Consider both customer behavior and operational costs.
-
Data requirements and unit of analysis: What data do you need, at what granularity, and over what time period? How do you define the analysis unit?
-
Identification strategy: Propose a difference-in-differences approach given that regions adopted the policy at different times. Write out the regression specification, explain your choice of fixed effects and clustering, and describe how you would check the key assumptions.
-
Robustness and alternatives: If the core assumption fails, what alternatives would you consider? When is each approach appropriate?
-
Guardrail metrics and heterogeneity: What risks or side effects should you monitor? Where might the policy work better or worse?
-
Cost-benefit calculation: How do you translate statistical estimates into a business recommendation?
-
Experimental design (optional): If you could run a randomized trial instead, how would you design it?
Be specific about regression equations, statistical tests, and decision criteria.
Hints
Hint 1
Start by defining what success looks like—retention and lifetime value are usually more important than satisfaction scores alone
Hint 2
The region assigns treatment but individual customers receive it; this affects how you cluster standard errors
Hint 3
Pre-period outcome trends between pilot and control regions must be parallel, and you can test this with an event study
Hint 4
If regions were selected based on observable characteristics, matching methods combined with DiD can help; if you have few treated regions with long histories, synthetic control may be better
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer: Customer Retention Incentive Evaluation
1. Define Success Metrics
Begin by clarifying what the policy aims to achieve. Typically, the goal is to preserve customer lifetime value after a negative experience, balanced against incremental costs.
Primary outcome (decision metric):
- 90-day repeat purchase rate or revenue (GMV) among affected customers
- Customer retention or churn measured over 6–12 months
Secondary outcomes:
- Customer satisfaction (CSAT) scores on the resolution interaction
- Net Promoter Score (NPS) where available
- Rating and review behavior on the affected order
- Complaint escalation or contact rate
Cost and risk metrics:
- Store credit issued per incident (face value × redemption rate)
- Incremental operational costs (handling time, system changes)
- Fraudulent claim rate (incidents without carrier confirmation)
The primary metric drives the decision; secondary metrics provide diagnostic insight.
2. Data Inventory and Unit of Analysis
Data needs:
- At least 6–12 months of pre-launch data in both pilot and non-pilot regions
- Incident records with timestamps, resolution type, affected customer ID, and region
- Customer purchase history, tenure, subscription status
- Carrier tracking data to validate incident claims
Unit of analysis: Analyze at the customer-incident level (each row is one customer's service failure), but recognize that treatment is assigned by region. This means:
- Outcomes are measured per customer
- Standard errors must be clustered by region (the treatment assignment unit)
- With fewer than ~30 regions, use wild cluster bootstrap or randomization inference for valid inference
Critical issue—sample selection: The policy may change who reports incidents. Generous compensation encourages false claims, so the set of "affected customers" is post-treatment. Prefer incidents confirmed by objective data (carrier scans, warehouse records). Alternatively, estimate intent-to-treat effects on all customers in pilot regions.
3. Difference-in-Differences with Staggered Rollout
Base specification: For customer i in region r at time t, estimate:
$$Y_{irt} = \beta \cdot \text{Treated}{rt} + \alpha_r + \gamma_t + X{irt}' \delta + \varepsilon_{irt}$$
- $Y_{irt}$: outcome (e.g., 90-day GMV, binary retention indicator)
- $\text{Treated}_{rt}$: indicator that region r has adopted the policy by time t
- $\alpha_r$: region fixed effects (absorb time-invariant regional differences)
- $\gamma_t$: time fixed effects, typically week or month (absorb common shocks)
- $X_{irt}$: pre-incident customer covariates (prior spend, tenure, subscription status, item value, incident type)
- Cluster standard errors by region
Staggered timing adjustment: When regions launch at different dates, standard two-way fixed effects can use already-treated units as implicit controls, creating bias if effects evolve over time. Use:
- Callaway & Sant'Anna estimator: compute group-time average treatment effects, then aggregate
- Sun & Abraham interaction weights: reweight to avoid contamination
- Stacked DiD: create separate datasets for each cohort, using not-yet-treated regions as controls
Event study (parallel trends test): Replace the single treatment indicator with a series of leads and lags relative to each region's adoption date:
$$Y_{irt} = \sum_{k \neq -1} \beta_k \cdot \mathbb{1}[\text{time since adoption} = k] + \alpha_r + \gamma_t + X' \delta + \varepsilon$$
- Normalize one pre-period (typically k = -1) to zero
- Test: pre-period coefficients ($k < 0$) should be jointly zero (F-test)
- Inspect: post-period coefficients show the effect trajectory
- Supplement with Rambachan & Roth sensitivity: quantify how large a trend violation would need to be to reverse your conclusion
Triple difference (optional enhancement): If worried about region-time confounders (e.g., a new warehouse opens in pilot regions during the rollout), add a third difference comparing incident customers to non-incident customers within the same region-time cell:
$$Y = \beta_{DDD} (\text{Pilot} \times \text{Post} \times \text{HasIncident}) + \text{all two-way interactions} + \text{FEs}$$
This isolates the effect on the incident population specifically.
4. Alternatives When Parallel Trends Fails
| Method | When to use | Key assumption |
|---|---|---|
| Region-specific trends | Smooth divergence explained by growth rates or urbanization | Linear trend difference is constant |
| Propensity score matching + DiD | Pilot regions chosen on observables; rich covariate data | Conditional parallel trends |
| Synthetic control | Few treated regions (1–5), long pre-period, city-level aggregation | Weighted donors replicate counterfactual |
| Synthetic DiD | Hybrid: many units and time periods | Combines both reweighting approaches |
Propensity score matching DiD:
- Estimate the probability an incident occurs in a pilot region using pre-period covariates (customer spend, tenure, category preferences, region demographics)
- Match treated and control incidents using nearest-neighbor or caliper matching (e.g., caliper = 0.2 × SD of logit propensity score)
- Trim to common support (drop extreme scores, e.g., outside [0.05, 0.95])
- Check covariate balance: standardized mean differences < 0.1 after matching
- Run DiD on the matched sample
Synthetic control: Construct each pilot region as a convex combination of control regions that replicates its pre-period outcome trajectory. Post-treatment gaps estimate the effect. Use permutation tests (placebo synthetic controls for each donor region) for inference. Works well with few treated units and long time series; fails when the treated unit lies outside the convex hull of donors.
5. Guardrails and Heterogeneity
Guardrail metrics (set thresholds in advance):
- Fraud/abuse: incident claim rate per 1,000 shipments; share of unverified claims; repeat claimants per customer
- Cost: total compensation cost per incident and per 1,000 orders
- Service load: contacts per incident, handle time, repeat contacts within 7 days
- Cannibalization: net incremental revenue (gift card redemptions may substitute for organic spend)
Heterogeneity analysis: Estimate effects separately by:
- Incident severity (late delivery vs. lost vs. damaged)
- Customer value tier (new vs. returning, subscription status)
- Order value (low vs. high ticket items)
- Incident recency (first vs. repeat incident)
Expect stronger retention effects for high-value or newer customers facing severe incidents. This informs targeting: restrict the policy to high-impact segments. Use multiple-testing corrections (Benjamini-Hochberg) or causal forests for principled subgroup discovery.
6. Cost-Benefit Framework
Net value per incident:
$$\text{Net Value} = \underbrace{\Delta \text{LTV} \times m}{\text{retention benefit}} - \underbrace{C \times r}{\text{credit cost}} - \underbrace{\Delta \text{Fraud}}{\text{abuse cost}} - \underbrace{\Delta \text{Ops}}{\text{handling cost}}$$
Where:
- $\Delta \text{LTV}$: incremental lifetime value (extrapolate 90-day effect using historical retention curves)
- $m$: contribution margin
- $C$: credit face value
- $r$: redemption rate (account for breakage—unredeemed balances)
- Fraud and ops costs estimated from guardrail metrics
Redemption note: redeemed credit costs roughly COGS, not face value, because it's spent within the ecosystem. Breakage (15–25% typical) further lowers effective cost.
Decision rule: Scale if net value > 0 with reasonable confidence (e.g., lower bound of 90% CI > 0) and guardrails are not breached.
7. Randomized Experiment Design (If Possible)
If you have the flexibility to run a randomized trial:
Randomization unit: Region (city or metro area) to avoid spillovers and maintain operational simplicity. Alternatively, randomize by customer if you can handle the implementation complexity.
Stratification: Match regions in pairs or blocks on pre-period incident rate, customer composition, and revenue. Randomize within strata.
Sample size: Power calculation based on:
- Minimum detectable effect (e.g., 2 percentage point lift in retention)
- Baseline retention rate (~70%)
- Intra-cluster correlation (ICC) from historical data
- Desired power (80%) and significance level (5%)
- Typically need 40–100 regions depending on effect size and ICC
Duration: Run for at least 3–6 months to measure medium-term retention; longer if targeting annual churn.
Spillover controls: If randomizing customers within regions, worried about operational spillover (staff confusion, inadvertent treatment leakage). Region-level randomization avoids this.
Decision criteria:
- Go: Primary metric CI excludes zero and net value > 0; guardrails not breached
- No-go: Effect is negative, indistinguishable from zero, or net value is negative
- Iterate: Positive signal but guardrails breached; refine targeting or credit amount and re-test
Advantages over DiD: No parallel trends assumption; cleaner causal interpretation. Disadvantages: requires control over rollout timing; may delay learning.
Common Pitfalls:
- Ignoring that treatment assignment is at the region level (under-clustering)
- Conditioning on post-treatment reporting behavior
- Failing to test parallel trends or ignoring staggered-rollout bias
- Extrapolating short-term effects to LTV without validation
- Not setting guardrail thresholds ex-ante
A rigorous evaluation combines careful identification, robustness checks, heterogeneity exploration, and a clear translation to business value.