Recency Frequency Monerary (RFM Analysis) - UCI Retail Dataset
Python
Data Information
Dataset Name: Online Retail
Dataset Link: https://archive.ics.uci.edu/dataset/352/online+retail
Code Link
Code: The link to my GitHub repository below contains the python code used to categorise segements (opens link in new tab).
GitHub Link: https://github.com/Broph-214/portfolio_project_list/blob/main/UCI_retail_rfm_analysis.ipynb
Rationale
Customer segmentation is a valuable tool for businesses to have as it can identify which customers are the most and least profitable. With this, personalised experiences can be delivered to customers, meeting their needs. As customer satisfaction improves, brand loyalty and revenue for businesses can also increase. Recency Frequency Monetary (RFM) analysis offers businesses an easily interpreted method of segmenting customers. While there are advantages for the use of clustering techniques such as K-means, clusters produced using this method may not yield actionable categories for customers. RFM analysis allocates scores for each of the customers for each of its components:
- Recency: Measuring how recent a customer has visited/made a purchase.
- Frequency: How often customers visit/make purchases.
- Monetary: How much is spent by the customer.
Analysis
Below is a heatmap of each of the customer segments. Each segment can be hovered over to display:
- The number of customers in that segment.
- Monetary: The average spend for customers in the segment.
- Recency: The average number of days since the last visit (09/12/2011 - Most recent visit).
- Frequency: The average number of visits for customers in that segment.
- Proportion: % of total customers in that segment.
Group Evaluation
Champions and Loyal Customers
The company's largest group is the Loyal Customers category (781 customers). It is typical for consumers in this group to purchase fairly often and spend a large amount. However, hovering over the heatmap, it can be seen that on average Loyal Customers (£3004.98) spent ~57% less than Champions (£6966.25).Higher value products could be pushed towards this group, possibly moving them into the Champion category.
Potential Loyalists
Potential Loyalists on average spent (£550.18) ~82% less than Loyal Customers and purchased less frequently (96 transactions). Other categories of products should be pushed towards this group to encourage more frequent purchases and an increase in spending.Can't Lose Them and At Risk
The "Can't Lose Them" category on average had not made a purchase in over 4 months (132 days). However, these customers spent ~26% more (£3790.63) than the Loyal Customers segment. There should be an effort to bring these customers back by listening to their feedback, or suggesting newer products.Similar strategies can also be used for the "At Risk" group (£935.49 average spend). However, the focus should be on "Can't Lose Them" who on average, brought in more revenue (~305% more), and purchased more frequently (an average difference of 73 transactions).