Data Science··4 min read
MMM Case 5: Base Demand and Media Cuts: The Cost the Model Can't See
Base demand and long-term media effects: what a 30% media cut costs this year, what it could cost later if base demand erodes, and where to cut instead.
#Media Mix Modelling#MMM Casebook#case study#base demand#budget cuts
Data Science··3 min read
MMM Case 4: MMM vs Experiments: Why You Need Both
A business case on calibrating an MMM with geo experiments. Why tests can't replace the model. How test results tighten its ROIs, and how to pick the next test.
#Media Mix Modelling#MMM Casebook#case study#experiments#model calibration
Data Science··3 min read
MMM Case 3: Collinearity: Why Channel ROIs Flip Between Refits
A business case on collinearity: why ROIs flip between refits when channel budgets move together, and how ranges and experiments give numbers to plan with.
#Media Mix Modelling#MMM Casebook#case study#collinearity#model validation
Data Science··3 min read
MMM Case 2: Diminishing Returns: Why Doubling Spend Won't Double Revenue
A business case on diminishing returns: why doubling a channel's spend won't double its revenue, how to check the plan against profit, and the risk of spending beyond what the model has seen.
#Media Mix Modelling#MMM Casebook#case study#marginal ROI#response curves
Data Science··4 min read
MMM Case 1: Average vs Marginal ROI: Where the Next $1 Million Should Go
A business case on average vs marginal ROI: why the channel with the best ROI isn't where extra budget earns most, and how saturation and uncertainty shape the split.
#Media Mix Modelling#MMM Casebook#case study#marginal ROI#budget allocation
Data Science··7 min read
Meridian vs Robyn vs PyMC-Marketing: Choosing an MMM Tool
Part 5 of 5: How Google's Meridian, Meta's Robyn and PyMC-Marketing handle adstock, saturation, collinearity and calibration, and which suits your team?
#Media Mix Modelling#Google Meridian#Robyn#PyMC-Marketing#marketing measurement
Data Science··8 min read
How to Validate a Media Mix Model, and Why to Pair It with Experiments
Part 4 of 5: Five checks for an MMM with no ground truth, How matched market tests differ from MMM? and How to feed experiment results back into the model?
#Media Mix Modelling#model validation#matched market testing#calibration#marketing measurement
Data Science··7 min read
Collinearity in MMM: When TV and Search Rise Together
Part 3 of 5: Why channels that move together make MMM estimates swing? how to spot those channels with correlation and VIF?
#Media Mix Modelling#collinearity#VIF#ridge regression#marketing measurement
Data Science··8 min read
Adstock and Saturation Curves: How Ads Linger and Wear Out
Part 2 of 5: How adstock models carry-over? How to estimate a channel's decay rate. Why the next rupee always earns less than the last.
#Media Mix Modelling#adstock#saturation curve#marginal ROI#marketing measurement
Data Science··9 min read
What Is Media Mix Modelling? Base Demand, Incremental Sales and Why It's Back
Part 1 of 5: What is media mix modelling? Why losing cookies brought it back?
#Media Mix Modelling#marketing mix modelling#marketing measurement#base demand#privacy
Data Science··12 min read
Markov vs Rule-Based Attribution: How It Fixes the Gaps
Part 6: Compare Markov attribution vs 5 rule-based models credit to the same 50,000 journeys. Which gaps in last click and first touch it closes, and which remain?
#Data Driven Attribution#Markov Chains#Marketing Attribution#Rule-Based Attribution#Last Click
Data Science··11 min read
Markov Chain Attribution: Customer Journeys, Conversion and Null Paths
Part 5: Building a Markov chain, Why null paths matter?, and How the removal effect measures each channel?
#Data Driven Attribution#Markov Chains#Removal Effect#Customer Journey#Marketing Attribution
Data Science··10 min read
The Fundamental Matrix (F): Exact Absorption Probabilities and Removal Effects
Part 4 (optional, technical): a recap of Parts 1 to 3, then the matrix steps F = (I − Q)⁻¹ and FR that give exact absorption probabilities and removal effects.
#Data Driven Attribution#Markov Chains#Fundamental Matrix#Absorbing Markov Chain
Data Science··9 min read
First- vs Second-Order Markov Chains and the Removal Effect
Part 3: does a car's past route change its next move, and how much does each junction matter? The removal effect worked out by hand.
#Data Driven Attribution#Markov Chains#Second-Order Markov Chain#Removal Effect
Data Science··10 min read
The Transition Probability Matrix (TPM): Building It from Trip Data
Part 2: how to turn a log of journeys into a Transition Probability Matrix (TPM), read it, check it and use it to look several steps ahead.
#Data Driven Attribution#Markov Chains#Transition Probability Matrix#Sample Data
Data Science··11 min read
What is a Markov Chain?
Part 1: What is a Markov chain?, Explained with simple examples of Snakes & Ladders and City Traffic.
#Data Driven Attribution#Markov Chains#Removal Effect#Marketing Attribution
Data Science··7 min read
Population Stability Index (PSI): Spot Model Drift Before Your Metrics Do
What PSI measures, how to compute it bin by bin, the 0.10 and 0.25 rules of thumb, and where it is used in model monitoring, with a worked credit example.
#Model Evaluation#PSI#population stability index#model monitoring#data drift#credit risk
Data Science··7 min read
SHAP: Explaining the Model, Feature by Feature
What SHAP actually measures, a real customer's score broken down feature by feature, and three different views of what matters most.
#SHAP#explainable AI#model interpretability#machine learning#Model Evaluation
Data Science··8 min read
Brier Score: Model Evaluation for Probabilistic Predictions
A working example of the Brier score, why it punishes confident wrong answers, and how it helps in model comparison, calibration, and monitoring.
#Brier score#model evaluation#calibration#probability#machine learning#Model Evaluation
Data Science··6 min read
Model Calibration: When model score of 0.8 Doesn't Mean 80%
Why class-weighted scores lie about probability, and how Platt scaling and isotonic regression fix it.
#calibration#Platt scaling#isotonic regression#probability#machine learning#Model Evaluation
Data Science··12 min read
The Last-Click Trap: Why LC and LNDC Starve Top of Funnel
Part 3: Interpretation of each attribution model means in a budget review. Why LNDC or LC favours bottom-funnel channels and who it hurts most?
#Marketing Channel Attribution#last non-direct click#LNDC#marketing ROAS#multi-touch attribution
Data Science··9 min read
Attribution Models Explained: First Touch, Last Click & More
Part 2: Six rule-based attribution models applied to the same journeys, with a comparison of how much credit each channel earns under each rule.
#Marketing Channel Attribution#attribution models#first touch#last touch#last click#linear attribution
Data Science··8 min read
What Is Marketing Channel Attribution? A Practical Introduction
Part 1: How GA4 records a customer journey? What does first touch, last click and last non-direct click means? Why dashboards disagree on credit?
#Marketing Channel Attribution#marketing attribution#customer journey#marketing analytics
Data Science··6 min read
Context Windows Demystified: How Much Can Your AI Actually Remember?
The finale of our LLM tokenization series: what context windows are, how they relate to token limits, and how real AI products manage them.
#Tokenisation#NLP#Text Processing
Data Science··6 min read
Token Limits: Why Your AI Chatbot Suddenly Forgets Everything
A deep dive into how token limits affect the performance of large language models and what you can do about it.
#Tokenisation#NLP#Text Processing
Data Science··8 min read
Inside the Tokeniser: BPE, WordPiece, SentencePiece & Unigram Explained
An example-driven walkthrough of the four major tokenisation algorithms behind modern LLMs, with a step-by-step explanation.
#Tokenisation#NLP#Text Processing
Data Science··8 min read
Tokens 101: The Secret Language Your AI Actually Speaks
A beginner-friendly introduction to what tokens are, how they differ from words and characters, and why they matter when using LLMs like ChatGPT and Claude.
#Tokenisation#NLP#Text Processing
Data Science··12 min read
Clustering in Machine Learning: Finding Hidden Groups in Your Data
A simple introduction to clustering. What it is, how it differs from classification, and real retail examples.
#Clustering#Machine Learning#Unsupervised Learning