Problem
Churn is usually framed as "who is most likely to churn?" and solved with a classifier. The label is 1 if the user left before the analysis date and 0 if they are still subscribed. Recent joiners have had little time to leave, so they get label 0 more often, even if they would leave sooner. When products or plans are launched in succession, the newer plan is full of such users and looks better than it is. A subscriber's value also depends on how long they stay, which a yes/no label cannot show.
Example from the article: Cellphone subscribers on plan A and plan B, where plan A was switched to plan B in January 2022. In the sketched data 50% of plan A and 25% of plan B are labeled churned, so plan A looks worse, although its subscribers stay longer.
Solution in brief
Ask "when" instead of "who". Fit a survival model, here an accelerated failure time (AFT) model, on the observed duration of each subscription. Users still subscribed are kept as censored observations with their time so far, so a short observation window no longer counts as "not churned".
Questions this case answers
- How to compare time-to-event risk between groups that entered at different dates when many units have not yet had the event at analysis time
- How to model the timing of a terminal event so that unit value depends on duration, not on a binary label
- How to compare churn between subscription plans that were launched at different times?
- How to avoid labeling still-active recent users as 'not churned' when training a churn model?
Tools and methods
- Survival analysis (AFT model) — models time to churn and handles users who have not churned yet
- Logistic regression — the biased baseline the author compares against
- R package survival —
survregfits the AFT model
Google or a one-time email code. No password.