Customer Churn and Retention Modelling: Survival Analysis and Uplift

Originally published 17 September 2026. Updated 24 November 2026. By StratLytics Editorial Team.

Churn models are among the most common in marketing analytics and among the most commonly misused. The usual recipe is to predict who is likely to leave and send them an offer. That sounds sensible, but it quietly confuses two questions: who will leave, and who will stay because of what we do. This article covers how to define churn, two ways to model it, and why targeting by uplift can beat targeting by risk.

Define churn before modelling it

Churn is easy to define when customers cancel explicitly, and harder when they simply stop using a product. Decide:

  • Event. Cancellation, non-renewal, closed account, or inactivity for N days. Inactivity rules need a threshold chosen by looking at how often customers return after a gap of N days.
  • Window. Churn within the next 30, 90 or 365 days. The window should match how long a retention action takes to work.
  • Population. Customers who are active at the observation date, excluding those already in a notice period or who have already been lost.
  • Voluntary versus involuntary. A card that expires is not a decision to leave, and needs a different action.

Write the definition down, with the observation date and the outcome date. Most churn modelling problems begin with a vague target.

Two ways to model it

Classification predicts whether a customer churns within a fixed window, using features as of the observation date: logistic regression, tree ensembles and so on. It is simple and fits operational lists (“the 5,000 customers most at risk this month”). Its weakness is that it needs a full window of follow-up for every training customer, and treats a customer who leaves on day 3 the same as one who leaves on day 89.

Survival analysis models time to churn. It handles customers who have not yet churned (censored observations) properly, gives a whole retention curve rather than one number, and lets you ask when risk peaks (often at the first renewal). The Kaplan-Meier estimate at month t is:

S(t) = product over months j <= t of (1 - d_j / n_j)

where d_j is the number who churn in month j and n_j is the number still at risk at the start of it. Regression versions (such as proportional hazards) add features.

Illustrative example with synthetic data

We simulated 12,000 customers who joined at random times over a 24-month window, 41% on monthly plans and the rest on annual plans. We assumed monthly-plan customers have a constant 4.5% chance of churning each month and annual-plan customers 1.8%; real annual plans tend to lose customers mainly at renewal. Because customers joined at different times, 72% were still active at the end of observation: they are censored.

Counting simply “customers who churned within 12 months” over everyone gives 22.5%, which is too low, because recent joiners have not had 12 months to leave. The Kaplan-Meier estimate for the whole base is 71.2% still active at month 12, so 28.8% churned. By plan, 12-month retention is 57.8% for monthly and 80.4% for annual, against the simulation’s true values of 57.5% and 80.4%. At 24 months the estimates are 30.7% and 63.9%.

Kaplan-Meier retention curves: the monthly plan falls to about 31 percent by month 24 and the annual plan to about 64 percent.

Figure 1. Estimated share of customers still active by months since joining, by plan. Synthetic data.

Targeting: risk versus uplift

A churn score says who is likely to leave. A retention offer is worth sending only to those whose behaviour it changes. Four groups matter:

Two by two diagram of customer response to contact: persuadables, sure things, lost causes and sleeping dogs.

Figure 2. Customers by response to an offer. Illustration.

The high-risk list contains persuadables and lost causes, plus, because no score is perfect, some customers who would have stayed anyway. Uplift modelling estimates the difference an action makes to each customer:

uplift(x) = P(churn | no offer, x) - P(churn | offer, x)

You cannot observe both outcomes for one person, so uplift is best estimated from a randomised test. A simple method fits two models, one on treated customers and one on controls, and subtracts their predictions. Others model the difference directly. All of them are far more reliable on randomised data. Observational histories, where offers went to people the team judged at risk, confound risk with response; see our article on campaign measurement design.

The same idea on synthetic data

We simulated 60,000 customers in a randomised test, half receiving a retention offer. Churn within the window depends on a usage-decline signal and on price sensitivity. By construction the offer cuts churn only for price-sensitive customers (38% of the base) and slightly raises it for the least sensitive (21%). In the half held out for evaluation, churn is 15.3% in the offer group against 20.7% in control.

We trained on half the data and evaluated on the other 30,000. A churn model fitted on control customers has an AUC of 0.749 on the held-out controls. A two-model uplift estimate was fitted on treated and control customers separately.

At a budget of 20% of customers (6,000), we compared the two rankings using the randomised outcomes, which give the real incremental effect:

  • Ranked by churn risk: churn is 32.1% in the offered half and 45.4% in the control half, so 133 extra customers retained per 1,000 targeted.
  • Ranked by uplift: 14.1% versus 36.6%, so 225 extra retained per 1,000 targeted.
  • Targeting at random yields 59 per 1,000.

Only 53% of the highest-risk 20% are price-sensitive, against 98% of the highest-uplift 20%. The churn model finds customers who are leaving; many of them cannot be moved by this offer. The size of the gap is a product of the simulation: both models see price sensitivity directly, and we made the offer’s effect depend on it alone. Real data are rarely this clean.

Extra customers retained per 1,000 targeted against share targeted, with the uplift ranking above the churn-risk ranking and both above random.

Figure 3. Incremental retention per 1,000 customers targeted, by ranking method. Measured on held-out randomised data. Synthetic data.

Offer costs were not included. A real decision subtracts cost per offer, and, for discounts, the margin given away to customers who would have stayed.

Evaluating a churn programme

  • For prediction: AUC, calibration, and lift in the top decile, measured out of time. A good churn score need not make a good targeting score.
  • For action: an incremental curve like Figure 3 from a randomised holdout, expressed in retained customers or profit per 1,000 targeted.
  • For the programme: keep a standing holdout group and report incremental retention, not “saves” counted from customers who accepted an offer, since many would have stayed.

What goes wrong

  • Counting churn without handling censoring, which understates it for recent cohorts.
  • Leakage: features such as “called to cancel” or “contract end date passed” that only appear after the decision to leave.
  • Targeting the highest risk and treating the result as incremental.
  • Offers that annoy or train customers to wait for discounts.
  • Evaluating on a random split rather than a later period, when the use is forward-looking.
  • No holdout, so nobody can tell what the programme achieved.
  • Treating the model as finished: customers, products and competitors change, so monitoring and refresh matter.

How to start

  1. Write a one-paragraph churn definition with event, window and population.
  2. Plot Kaplan-Meier curves by plan, cohort and acquisition channel before building any model.
  3. Add a randomised holdout to your next retention campaign and size it for the effect you expect to detect.
  4. Compare risk-ranked and uplift-ranked targeting on that data before changing the process.

An illustrative project

A hypothetical subscription business sends discounts to the top 20% of its churn score every month. The team measures a 10% random holdout, finds the programme’s incremental retention is far below the number of “saves” reported, and discovers that most of the discounted customers were not price sensitive. It then builds a two-model uplift estimate on a randomised test, moves discounts to customers with high estimated uplift, uses a non-price action for the rest, and tracks incremental retention against the holdout. This is an anonymised, synthetic scenario, not client work.