Modeling customer behavior with Markov chains

Manasa Gudimella16 May 2023

Problem

A cloud-service provider bills by monthly usage (in GB). Customers differ in how much they use and how that changes over time, and the team wants to predict a customer's usage, revenue and time to leave. For a customer who has just started a trial, the only known fact is the first month's usage level.

Example from the article: a cloud product with three usage states (low, moderate, high) and a "left for good" state, priced at $3, $7 and $10 per month.

Solution in brief

Bucket monthly usage into a few states and estimate the probability of moving from each state to each other state in one month. This transition matrix answers three questions with simple matrix algebra: expected revenue over a horizon, expected months until the customer leaves, and the long-run share of time spent in each state. The same setup covers a trial between two competing products.

Questions this case answers
  • How to forecast expected revenue and remaining lifetime of an individual customer when only the current usage level and month-to-month transition rates are known
  • How to estimate the long-run split of customers across usage levels and the revenue per customer in that stable state
  • How to forecast the revenue a new customer will bring over the next 12 months from their current usage level?
  • How to estimate how many months a customer will stay with a product, starting from low, moderate or high usage?

Tools and methods

  • Markov chain with stationary transition probabilities — next month's state depends only on this month's state, with probabilities that do not change over time.
  • Absorbing states and the matrix (I−Q)−1 — expected time to leave and probability of ending in each final state.
  • Steady-state distribution — long-run share of customers per usage state and expected revenue per customer.
Continue reading — it's free

Google or a one-time email code. No password.