How Shopify Merchants can Measure Retention - Shopify
Nov 14, 2017

Summary
This post introduces the BG/NBD (Beta Geometric / Negative Binomial Distribution) model as a probabilistic approach to customer churn and retention analysis, moving beyond arbitrary time-limit based definitions. It details the model's parameters (rate of purchasing \(\lambda\), probability of churn event \(p\)), its sufficient statistics (Age, Recency, Frequency), and how these are used to estimate customer behavior and probability of being active. The post also mentions the use of the 'lifetimes' Python package and Apache Spark for large-scale merchant data processing.
More from the E-commerce Metrics Calculation trail
- ShopifyQL Notebooks: Simplifying Querying with Commerce Data Models - Shopify
- Double Entry Transition Tables: How We Track State Changes At Shopify - Shopify
- Bound to Round: 8 Tips for Dealing with Hanging Pennies - Shopify
- How to Make Dashboards Using a Product Thinking Approach - Shopify
- Defining Churn Rate (no really, this actually requires an entire blog post) - Shopify