What it looks like
| Goes in | Comes out |
|---|---|
| Two years of weekly sales, plus weekly spend in five channels: search, social, TV, email and affiliate. Also holidays, price changes and promotions. | A table that shows, for each channel, the estimated sales it added and its return per dollar. It also shows a suggested budget split, with a range of uncertainty around each number. |
Illustrative example.
How to test AI on this job before you buy
- Hold back the most recent three months of data. Build the model on the earlier data only. Then check whether it predicted those last three months of sales well.
- Compare the model's advice to a real experiment. Turn one channel down in one region for a few weeks. Check whether sales moved the way the model said they would.
- Run the model twice with slightly different settings or time windows. If the channel rankings flip, do not trust the advice yet.
- Ask the builder to list every non-marketing factor in the model, such as seasons, price and promotions. Missing factors are the most common reason an MMM misleads.
Buy or build
Buy: Buy if you have no analyst who knows statistics. A vendor or consultant can set up the data feeds, run the model and explain the results. Ask what they will hand over, so you can reuse the model later and are not locked in.
Build: Build if you have an analyst and clean weekly data. Meta's Robyn and Google's Meridian are free, open-source tools made for this. The software costs nothing. The real cost is the analyst's time and the work of cleaning the data.
What goes wrong
- The model finds patterns in totals. It cannot prove cause. Two channels that always move together are hard to tell apart.
- Too little history gives weak answers. Check how many weeks of data the model used before you act on it.
- A tool built by an ad platform is free to use, but check what it assumes. Test its advice against an experiment before you move a large budget.
- Results describe the past. A big change, such as a new product or a new competitor, can make old patterns stop holding.
Useful resources
- Robyn, from Meta Marketing Science: A free, open-source marketing mix modeling package from Meta. Its page describes it as experimental and semi-automated, and it carries an MIT license.
- Meridian, from Google: A free, open-source framework that lets advertisers run their own marketing mix models in-house. It uses Bayesian methods, needs Python, and carries an Apache 2.0 license.
Sources
| Source | What it says |
|---|---|
| Meridian README on GitHub | Defines marketing mix modeling, says it uses aggregated data with no cookies or user-level information, and lists the questions it answers: channel contribution, return on investment and budget allocation. |
| Robyn README on GitHub | Describes Robyn as a semi-automated, open-source MMM package and explains that MMM was once affordable only to large companies. |
Related: Predictive maintenance: fix machines before they fail ยท How to choose an AI consulting company