Skip to content

Dealing with returning customers in a subscription business #1296

Discussion options

You must be logged in to vote

Hi @karl-mp, the google-able term is called "recurrent events". It requires more general models than what's provided in lifelines. A few shortcuts though:

  1. Treat them as multiple observations. If you are doings statistical analysis, and care about std. errors, I suggest clustering std. errors. See https://lifelines.readthedocs.io/en/latest/Examples.html#correlations-between-subjects-in-a-cox-model
  2. If the "break" is short, like a month or two, just combine them into a single duration.
  3. Reframe the question: maybe you scope to "time to first churn".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@megaport-datasci
Comment options

Answer selected by megaport-datasci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants