Skip to content
    Back to Tips & Tricks
    Statistical Methods03

    Survival Analysis Reveals What Retention Curves Hide

    Written by Viktor KvantSenior Web AnalystSeptember 18, 20251 min read

    Retention cohort tables treat every non-returning user the same, which is statistically wrong. Kaplan-Meier and Cox models handle that uncertainty honestly.

    Standard retention cohort tables show the percentage of users who return in week N, but they treat all non-returning users as equal. A user who signed up yesterday and a user who signed up six months ago and never came back are not the same kind of problem. Kaplan-Meier survival curves and Cox proportional hazards models distinguish between users who churned and users who simply haven't had enough time to return yet — a property statisticians call right-censoring.

    In R, use the survival package and fit coxph(Surv(time_to_churn, churn_event) ~ acquisition_channel + first_session_depth + device_category). The hazard ratios tell you which factors accelerate or delay churn, with a statistical rigour that cohort tables can't provide.

    This is the difference between 'mobile users retain poorly' and 'mobile users from paid search have a 2.3x higher churn hazard than organic desktop users, controlling for engagement depth (p < 0.001)'.

    The practical application: use survival curves to set realistic retention targets per segment, identify the critical period where most churn occurs (often the first 48 hours), and measure the true impact of re-engagement campaigns by comparing survival curves between treated and untreated groups.

    For web analytics specifically, define the event as churn — dated at the user's last visit, once they have been inactive for longer than a threshold you choose — and right-censor users who are still active. The resulting survival function gives you the probability that a user is still active at any point after acquisition, which is far more useful than a single retention percentage.

    Author

    Viktor Kvant

    Senior Web Analyst specialising in data ownership, advanced tracking implementations, and translating data into strategic business value.

    Connect on LinkedIn