SpinTheMic
Pro

Interview practice question

Survival analysis of customer churn in Python

Data Analyst · Python and Pandas · Experienced

How would you analyse time to churn for subscription customers in Python, accounting for customers who are still active?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Duration and event flag per customer.
  • lifelines KaplanMeierFitter for survival curves.
  • Compare groups (log-rank test).
  • CoxPHFitter for drivers.
  • Check proportional hazards assumption.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics