Giter VIP home page Giter VIP logo

dynamic_customer_analytics's Introduction

Dynamic Customer Analytics: Crafting & testing a dynamic Recency-Frequency-Monetary (RFM) model

Data engineering and panel data modelling of the online retail dataset covering transactions made from a UK online wholesaler between December 2010 and December 2011.

Using Python, I constructed a dynamic RFM model providing monthly Recency, Frequency and Monetary scores for each customer based on their evolving behavior. To do so, I aggregated the original intraday data into daily frequency initially, and then into monthly frequency. Monthly periodicity was identified as the optimal frequency for customer analytics in this case. The code for this are contained in "dynamic_rfm_I" and "dynamic_rfm_II".

I subsequently used panel data modelling to fashion RFM composite indicators, to target first customer spending and second the incidence of customer transactions. I then subjected the RFM model to hypothesis tests, which confirmed its usefulness in measuring the customer metrics of choice. The code for this is in "dynamic_rfm_III".

A detailed description of the research methodology and model findings are presented in: https://towardsdatascience.com/dynamic-customer-analytics-i-9135b2a8854b

dynamic_customer_analytics's People

Contributors

at-tan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yuanpei0208

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.