Data analysis for retail: 4 examples
Here are four analyses I carried out to show how I work: start from a business owner's question, clean the data, measure, then say what to do.
These are personal projects, not client results. Each one states whether the data is public or synthetic.
RFM customer segmentation: who generates the revenue?
Public data: Online Retail II, a British e-commerce business, about 1 million rows.
Out of 5,878 customers, 20% (the “Champions”) generate 74% of revenue, and a third of the base accounts for only 3.6% of it. A quarter of the raw rows (25%) had to be discarded before any analysis: returns, cancellations, orders without a customer. Result: four named customer groups, with one action for each, protecting the best or reactivating those who have left.
Price elasticity: how far can you raise your prices?
Public data: Kaggle, 48 products, 7 categories.
A naive regression advises raising prices everywhere. Corrected for the “premium product” effect, it says the opposite: in the 4 categories where the result is significant, a 10% increase would reduce revenue by 16% to 38%. The limits are written up in the project: small sample, elasticities closer to those of promotions than of list prices.
Catchment area: where to open the next store?
Real geography (GeoNames cities), synthetic sales.
For a fictional chain of 4 stores, 80% of revenue comes from customers within 19 km of a store. A Huff model identifies the white zones: the South-West, more than 300 km from the nearest store, is the largest uncovered area, with Toulouse at the top.
dbt dashboard: running a convenience store
Synthetic data.
16 dbt models, 34 quality tests and a Streamlit dashboard: sales ranking (this week, the previous one, the same week last year), stock and losses, gap between theoretical stock and counted stock with alerts, replenishment list by supplier. The 3 products where thefts had been injected come out at the top of the gap ranking: the signal works.
And on your data?
A free 30-minute video call: you show me a file or a report, and I tell you honestly what can be done. No commitment. For a real client case, also read A real case in food processing: 5 reports for an SME.
To go further: Excel or Power BI: which one to choose, and when, Why your figures do not match from one tool to another and the frequently asked questions about the freelance data analyst profession.