Welcome back! This is a full code tutorial on customer lifetime value forecasting using R and my Modeltime forecasting R package. Inside, I share the BEST data science project I've done in 2024. Learn how I doubled performance of my CLV models with time series forecasting.
*** LIMITED TIME OFFER ***
💥 Learn R with Me: https://learn.business-science.io/r-track-career-bundle?el=youtube
*** JOIN LEARNING LABS PRO ***
💥 GET THE DATA + CODE IN THIS VIDEO: https://university.business-science.io/p/learning-labs-pro?el=youtube
Table of Contents:
00:00 Welcome to Customer Lifetime Value (CLV) in R
01:20 Agenda: The 4 things you'll learn
03:50 Why listen to me?
07:40 What is Customer Lifetime Value (CLV) Forecasting?
14:10 Full Code Demo: CLV Forecasting in R
19:38 Data Preparation (Time Series)
24:38 Exploratory Data Analysis (EDA)
27:52 Monthly CLV Forecasting
35:02 Split Data
36:52 Global Models
40:32 XGBoost Model
41:52 GLMNET Model
42:52 Window Model: 3-Month Median
44:02 Window Model: 6-Month Median
44:22 Modeltime Workflow
52:52 90-Day Performance Evaluation
57:13 Ensemble Model
59:53 Future Forecast
1:00:13 Feature Importance
1:01:33 Business Impact