RFM (Recency, Frequency, Monetary) Analysis is an empirically proven behavioral segmentation framework used by premier e-commerce, banking, and retail enterprises. By transforming transactional purchase histories into three quantitative pillars, businesses can identify top VIP spenders, churn-risk accounts, and reactivation targets for precision marketing campaigns.
| Dimension | Definition | Calculation | Strategic Business Meaning |
|---|---|---|---|
| Recency ($R$) | Days since customer's last purchase | $\text{Reference Date} - \text{Last Purchase Date}$ | Customers who bought recently are vastly more responsive to promotions. |
| Frequency ($F$) | Total number of completed orders | $\text{COUNT(DISTINCT Order ID)}$ | Measures customer loyalty, habituation, and brand affinity. |
| Monetary ($M$) | Cumulative gross revenue spend | $\text{SUM(Order Value)}$ | Identifies top revenue drivers and high-margin accounts. |
pd.qcut)Segment customers by assigning quintile scores from 1 to 5:
max_order_date + 1 day rather than today's actual system date when analyzing historical datasets?Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| K-Means Clustering & The Elbow Method | Business Problem Definition & KPI Scoping |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.
Combine 15 complete courses, 150 chapters, 541 topics, live SQL/Power BI/Tableau dashboards, and Scikit-Learn capstones at MSK Institute Shikohabad or Live Online.