Sitemap
Classroom

Classroom by Alchemy Publications is a Medium publication focused on actionable knowledge sharing. Learn from real experiences in creativity, technology, and design on a new writing community where every story teaches something new.

Member-only story

Survival Analysis for Data Scientists

16 min readNov 2, 2026

--

Diogo Ribeiro is a mathematician, researcher and lecturer at the Faculdade de Media Artes e Design, Universidade Técnica do Porto.

Part 1, Part 2 and Part 3 were careful never to say anything about time nobody had observed. Every customer value was a restricted mean: expected paid months up to a horizon inside the data. Business questions are rarely that polite. A finance team planning acquisition spend for a product launched a year ago wants the value of a customer over five years, and a valuation wants it over a lifetime. Neither number is in the data.

This part introduces the models that answer anyway: parametric survival models, which describe the whole retention curve with a few parameters and can therefore be evaluated at any time, observed or not. It also introduces the accelerated failure time model, a way of describing the effect of a characteristic that is often more natural than a hazard ratio. The application is the…

--

--

Diogo Ribeiro
Diogo Ribeiro

Written by Diogo Ribeiro

Diogo Ribeiro is a Lead Data Scientist, mathematician, professor and researcher at Faculdade de Media Artes e Design, Universidade Técnica do Porto.

Classroom
Classroom

Published in Classroom

Classroom by Alchemy Publications is a Medium publication focused on actionable knowledge sharing. Learn from real experiences in creativity, technology, and design on a new writing community where every story teaches something new.