← All articles

Complete guide to MMM in 2026: Meridian vs Robyn vs PyMC-Marketing

Marketing mix modeling (MMM) estimates how much each advertising channel really adds to your sales, using your own spend and sales history instead of the ad platforms' reports. The three main free tools for it are Google Meridian, Meta Robyn and PyMC-Marketing. They do the same job in different ways, and they don't always agree.

We tested all three on the same data, where we knew the right answer in advance. Each one followed the sales history closely. Each one also got some channels wrong, and on one channel their advice ranged from "cut it" to "spend much more".

This guide starts with the basics: what MMM is, the three platforms side by side, and what we found. Then it goes deeper: how the models work, where each one breaks, and how to check a model before you trust it with your budget.

Contents
  1. What is MMM?
  2. The three main platforms
  3. Side-by-side comparison
  4. What our test found
  5. How an MMM works
  6. Google Meridian in depth
  7. Meta Robyn in depth
  8. PyMC-Marketing in depth
  9. How we tested
  10. Detailed results
  11. Why every MMM overstated ads
  12. Why the platforms disagree
  13. Limitations of MMM
  14. Making an MMM trustworthy
  15. Other MMM tools
  16. Open-source vs commercial cost
  17. Which platform to choose
  18. Before you trust an MMM
  19. FAQ

What is marketing mix modeling?

Picture your daily sales over the last two years as one line. Some of those sales would have happened anyway: returning customers, word of mouth, the Christmas peak. The rest came from advertising. An MMM splits the line into layers: one layer for the sales you'd make anyway (the baseline), plus one layer for each channel, such as Google, Meta, TV or affiliates.

Once you know how thick each channel's layer is, you can work out what each one returns per euro spent, and where the next euro should go.

MMM only needs totals: how much you spent per channel per day or week, and how much you sold. It doesn't need cookies, clicks or user tracking. That is why it has come back since privacy changes (iOS App Tracking Transparency, cookie loss, consent mode) made platform tracking less reliable, and why it can measure offline channels like TV and podcasts.

Platform attribution (GA4, Meta, Google Ads)Marketing mix modeling
DataUser-level clicks and viewsSpend and sales totals over time
Needs tracking or cookiesYesNo
Covers offline channels (TV, podcasts, out-of-home)NoYes
AnswersWho saw or clicked an ad before buyingWhat sales would have been without the channel
Typical biasEvery platform claims credit for the same saleMistakes demand for ad effect (more on this below)
DetailCampaign, ad, keywordChannel, sometimes campaign type

For one of our clients, Ecosh, Meta's own reporting credited Meta with 54% of revenue and GA4 credited it with 5.89%. A Bayesian MMM showed that each extra euro on Meta brought in almost 2.5× as much additional revenue as an extra euro on Google Ads. With the model guiding the budget, revenue from September to December 2024 grew 56% on the same months a year earlier. That is why people want MMM. The rest of this guide is about why you shouldn't trust one blindly.

What are the three main MMM platforms?

Google Meridian
Built by Google · Bayesian

Starts with a belief about each channel's return and updates it with your data. Gives a range for every number. Strongest with regional data and Google or YouTube spend.

Meta Robyn
Built by Meta · Search-based

Tries thousands of model settings and keeps the ones that fit best. Gives one number per channel and several candidate models to choose from. Fastest of the three.

PyMC-Marketing
Built by PyMC Labs · Bayesian

Starts with a belief about each channel's response and updates it with your data. Gives a range for every number. You assemble the model from parts, so it is the most flexible.

All three are free and open source. All three need a data analyst or data scientist to run them well. The main difference is how each one fills the gaps when your data can't answer a question on its own, and that difference decides a lot of the results.

Google Meridian

Meridian is Google's MMM, announced in 2024 and open to everyone since January 2025. It replaced Google's earlier LightweightMMM. You tell it roughly what return you expect from each channel before it sees your data, and it combines that expectation with the data. If a lift test has already measured a channel, you can feed that result straight in. It is best for businesses with sales data by region and meaningful Google, YouTube or TV spend. Watch out for its fixed default curve shape and its generic default settings.

Meta Robyn

Robyn is Meta's MMM, released in 2021 as an R package. Instead of starting from expectations, it tries thousands of settings and scores each on two things: how well it predicts sales, and how close each channel's credit stays to its share of the budget. It is best for teams that work in R and want a fast first read with ready-made reports. Watch out for the budget-share rule, which can make every channel look equally good.

PyMC-Marketing

PyMC-Marketing is an open-source Python library from PyMC Labs, first released in 2023. Like Meridian, it starts from expectations and updates them with data, but you choose each part of the model yourself. It is best for teams with a data scientist who wants full control: several regions or products, effects that change over time, custom curve shapes. Watch out for very wide default settings and the extra work of building the model piece by piece.

How do Meridian, Robyn and PyMC-Marketing compare?

MeridianRobynPyMC-Marketing
Built byGoogleMetaPyMC Labs and community
ApproachBayesian: expectations updated by dataSearch: tries many settings, keeps the bestBayesian: expectations updated by data
LanguagePythonR (Python versions exist)Python
Where its expectations sitOn each channel's returnNo expectations; a rule that credit follows budget shareOn how far each channel's effect can grow
What you getOne model, with rangesSeveral candidate models, single numbersOne model, with ranges
Diminishing-returns curvesFixed shape by defaultFlexible by defaultFixed shape by default, flexible option
Uses lift test resultsYesYesYes
Speed in our test (CPU)37 minutes16.5 minutes65 minutes
Effort to set upMediumMedium (needs R even from Python)Highest
Best forRegional data, Google and video spendFast first read, R teamsCustom models, full control
Main weakness in our testOverstated Search, Social and Display, up to 5.7×Gave every channel almost the same returnOverstated every channel, one by 9×

What happened when we tested all three?

On real data you can't check an MMM, because the true effect of a channel is exactly what nobody can see. So our data scientist, Chinmay Kulkarni, built a pretend retailer, Marlow & Finch, with 680 days of sales and five channels: Search, Social, Display, Affiliate and CTV. He wrote down each channel's true return in advance, hid it from the tools, and then asked each tool to find it.

The true returns were all low, between €0.88 and €1.38 of revenue for every euro spent. Here is what each tool reported:

Every platform overstated what the ads returned
Revenue per €1 of ad spend (incremental ROAS). The true returns all sit close to 1, but the estimates landed up to 9 times higher.
True returnTrue range (0.88 to 1.38)EstimateMeridian: far too high on Social and Display, close on Affiliate and CTVMeridian, Search: estimated 2.07, true 0.88Search2.1Meridian, Social: estimated 5.36, true 1.20Social5.4Meridian, Display: estimated 5.41, true 0.95Display5.4Meridian, Affiliate: estimated 1.13, true 1.38Affiliate1.1Meridian, CTV: estimated 0.90, true 0.88CTV0.9PyMC-Marketing: too high on every channel, Affiliate most of allPyMC-Marketing, Search: estimated 3.19, true 0.88Search3.2PyMC-Marketing, Social: estimated 2.18, true 1.20Social2.2PyMC-Marketing, Display: estimated 3.45, true 0.95Display3.5PyMC-Marketing, Affiliate: estimated 12.79, true 1.38Affiliate12.8PyMC-Marketing, CTV: estimated 1.17, true 0.88CTV1.2Robyn: about 3 for every channel, whatever the true returnRobyn, Search: estimated 3.07, true 0.88Search3.1Robyn, Social: estimated 3.01, true 1.20Social3.0Robyn, Display: estimated 2.97, true 0.95Display3.0Robyn, Affiliate: estimated 3.09, true 1.38Affiliate3.1Robyn, CTV: estimated 3.04, true 0.88CTV3.0024681012↑ 1 = €1 of revenue for every €1 spent
Synthetic data with a known answer. These are outputs of single runs, and two did not fully converge: Meridian on its carryover parameters, Robyn on its own search diagnostic. Exact numbers are in the detailed results further down.

In plain terms:

The tools weren't careless. The main cause is in the data, and it affects every MMM, free or paid. The rest of this guide explains why, starting with how the models work.

How does a marketing mix model work?

From here on the guide gets more technical. Every major MMM, open source or commercial, is built from the same four parts.

1. A baseline

The baseline is the revenue you would have made with no advertising: brand, word of mouth, repeat customers, seasonality, trend. Everything the model doesn't credit to media lands here. It is also where every platform in our test went most wrong.

2. Adstock (carryover)

An ad seen today still sells something tomorrow. Adstock models that carryover. The most common form is geometric decay, where each day keeps a fixed share of yesterday's effect:

LaTeX
a_t = x_t + \lambda \, a_{t-1}

Here is spend on day and is the decay rate. A decay of 0.35 means a search ad's effect fades within days; 0.75 means a TV flight keeps working for weeks.

3. Saturation (diminishing returns)

The tenth thousand euros on a channel buys less than the first. Saturation curves bend the response so it flattens as spend grows. The Hill curve is the most common (both formulas follow Jin et al., 2017, the Google paper most MMMs build on):

LaTeX
H(a) = \frac{a^{\alpha}}{a^{\alpha} + \theta^{\alpha}}

is the half-saturation point (where the channel reaches half its maximum effect) and is the shape. With the curve is concave from the first euro. With it is S-shaped: returns accelerate before they flatten. That one parameter matters a lot, as the Meridian results show.

4. A way to pick the numbers

Revenue is modeled as baseline plus each channel's saturated adstock times its effect size, plus noise. The model has to recover four unknowns per channel (effect size, decay, half-saturation and shape) from spend and revenue alone. With five channels that is twenty unknowns plus the baseline, from a couple of years of data. That is too little information to pin them all down, so every platform adds something to steady the answer:

Whatever steadies the answer also shapes it. That is the most important thing to understand about MMM platforms.

Once fitted, the model gives you channel contributions, ROI per channel, response curves (revenue at different spend levels) and a budget optimizer that reallocates spend along those curves.

Google Meridian in depth: how it works and where it breaks

How it works. You load spend, revenue and controls into one data object, set priors (or accept the defaults), and Meridian samples the posterior with the NUTS algorithm on TensorFlow Probability (newer versions also run on JAX). Its main prior sits directly on ROI per channel, so lift test results translate directly: if a test says YouTube returned 1.4, you centre the YouTube ROI prior near 1.4.

Strengths:

Limitations we found:

Meta Robyn in depth: how it works and where it breaks

How it works. Robyn first uses Prophet, Meta's forecasting library, to estimate trend, seasonality and holidays, and adds them to the model as predictors. It then runs an evolutionary search (Nevergrad) over thousands of combinations of decay and saturation settings. At each candidate it fits a ridge regression and scores it on two goals at once:

The output is a Pareto front of models that trade the two goals off differently, grouped into clusters. The analyst picks the final model. Lift test results can be added as a third score (agreement with the experiments).

Strengths:

Limitations we found:

PyMC-Marketing in depth: how it works and where it breaks

How it works. You assemble the model from parts: an adstock function, a saturation function, controls and seasonality, each with its own priors. The prior on media sits on the ceiling of each channel's response curve, not on ROI directly. It samples the posterior with NUTS on PyMC, like Meridian does on its own stack.

Strengths:

Limitations we found:

How did we test the MMM platforms?

We generated Marlow & Finch with code, wrote down every true effect in advance and hid it from the models. We built it to be hard in the ways real markets are hard:

We installed each platform the way it actually installs and fitted it the way its own documentation recommends, with the same data and the same demand control. Where a default failed its own diagnostic (for example, priors that predicted negative revenue), we fixed it using only what any analyst could see, never the answer key. The versions tested were Meridian 1.0.6, PyMC-Marketing 0.19.2 and robynpy 0.3.6, on a CPU-only machine. Newer versions exist and may behave differently.

Detailed results: what did each platform get right and wrong?

ROI here (also called incremental ROAS) is the extra revenue a channel caused divided by what was spent on it. Above 1 the channel brings back more revenue than it costs, but whether it makes a profit depends on your margin: at a 40% margin, a channel needs a return of 2.5 to break even.

ChannelTrue ROIMeridianPyMC-MarketingRobyn
Search0.882.073.193.07
Social1.205.362.183.01
Display0.955.413.452.97
Affiliate1.381.1312.793.09
CTV0.880.901.173.04
MeridianPyMC-MarketingRobyn
Holdout R²0.9130.9770.920
Share of the true baseline it found36.5%24.3%30.4%
Channels overestimated3 of 5 (CTV within 0.02)5 of 55 of 5
Converged (own diagnostic)All but adstock decayYes, all parametersNo
Fit time (CPU)37 min65 min16.5 min
Uncertainty intervalsYesYesNot for a single model
S-shaped curves by defaultNoNoYes

Three findings stand out.

The best fit had the worst attribution. PyMC-Marketing reached R² 0.977 and overstated every channel, Affiliate by more than 9×. Total revenue is mostly trend and seasonality, so a model can track it closely while splitting it between channels quite wrongly. A high R² tells you the model fits, not that its ROIs are right.

Every platform lost most of the baseline. The true organic baseline averaged €22,592 a day. The models found between a quarter and just over a third of it (24.3% to 36.5%). The missing revenue had to go somewhere, and it went to the ad channels. A planner reading any of the three would conclude the business has little demand of its own and that advertising carries it.

CTV was the control case. It barely chases demand and has an ordinary concave response curve. Meridian estimated it at 0.90 against a true 0.88, the closest result in the test. PyMC-Marketing said 1.17, and Robyn's spend-share penalty pulled it to 3.04. Where nothing pushes an estimate off, a model can get it right. The errors come from specific, nameable mechanisms.

Why did every MMM overstate what the ads did?

Because of omitted-variable bias, and no platform fixes that on its own.

When demand is high, the business spends more and sells more at the same time, whether or not the ads did anything. If the model can't see demand, it reads the shared rise as the ads working. Google's own researchers describe this problem in Chan and Perry, 2017. The demand proxy the models were given (a coarse category trend index) barely helped. A finer version moved some estimates, but none reached the truth.

We checked this with the simplest possible model: an ordinary regression of revenue on spend. Its answer sits close to the three platforms' answers and far from the truth. Scored by how well they explain the data, the three platforms land between 30 and 220 log-likelihood points below that simple fit. The true values land more than 1,000 points below it. The data themselves prefer the wrong answer, so a better sampler, a cleverer search or a different prior will mostly end up near the same wrong place.

What helps is new information: a real measure of demand, or an experiment.

Why do MMM platforms disagree with each other?

On channels where the data are firm, all three are pulled to the same (wrong) place. On channels where the data are weak, the platform's own anchor decides the answer. In our data, Affiliate's ROI could slide from about 0 to 6 with almost no change in fit, so the data said almost nothing about it, and each platform filled the gap with its own assumption:

Two Bayesian models with different priors, baselines and curves aren't one model estimated twice. They are two different models. Running a second MMM to "check" the first can't tell you which is right.

One more mechanism is worth knowing: small channels have the most fragile ROIs. ROI is contribution divided by spend, so the same misplaced euro moves a small channel's ROI far more than a big one's. If the baseline is too low, check your smallest channels first.

What are the limitations of marketing mix modeling?

These apply to every platform, open source or commercial:

How do you make an MMM more trustworthy?

  1. Run the prior predictive check. Before fitting, simulate revenue from the priors alone. If it predicts negative revenue or ten times your real sales, fix the priors using only your own observed revenue range.
  2. Look at the baseline, not just the ROIs. Does it rise and fall with your season? If the model says almost all revenue comes from ads, ask whether that's believable for your brand. A flat, low baseline means the channels have absorbed revenue that isn't theirs.
  3. Give it better demand data. Search query volume for your category, competitor activity, pricing and distribution. The better the demand control, the less bias leaks into ROIs.
  4. Use geo-level data if you have it. Regions add many more data points and some natural variation.
  5. Calibrate with experiments. A geo holdout or lift test measures one channel's true effect by changing it on purpose. All three platforms can take test results in: Meridian as ROI priors, PyMC-Marketing in its likelihood, Robyn as a calibration score. Test the channels the model is least sure about and spends the most on first.
  6. Vary spend on purpose. Planned pulses, pauses and switchbacks give the model information that business-as-usual never will. Only spend combinations history never visited can reveal how channels interact.
  7. Compare models, but don't average them. Disagreement between platforms tells you where the data are weak. It doesn't tell you which answer is right.
  8. Refresh regularly (monthly or quarterly), and treat sudden ROI jumps as questions, not findings.

At ePPC we do this in practice. In a US geo holdout, we paused Google App Campaigns in 28 states for six weeks and detected no clear change in first-purchase revenue. In the UK, a synthetic control test estimated that pausing the same ads reduced the number of first purchases by about 13%. Both results went back into the client's model.

What other MMM tools are there?

ToolBuilt byMethodCost
LightweightMMMGoogleBayesian (NumPyro)Free; superseded by Meridian, with a migration guide
Commercial MMM platformsFor example Recast, Mutinex, Measured, Haus, Sellforte, CassandraMostly Bayesian, often combined with experimentsAnnual licence, usually tens of thousands per year and up
Consultancy MMMFor example Analytic Partners, Nielsen, agenciesVariesProject or retainer

Most commercial platforms run models built on the same ideas as the open-source three, adding data pipelines, a dashboard, experiment design and people to run it. The limitations above apply to them as much as to the free tools.

Open-source or commercial MMM: which is cheaper?

The open-source platforms are free to download, not free to run. Budget for:

Commercial platforms bundle much of that, at a licence cost that usually starts in the tens of thousands per year. The trade-off is transparency: with open source you can inspect every prior and assumption; with a vendor you have to ask.

Which MMM platform should you choose?

If you…Start withWhy
Spend heavily on Google and YouTube, have regional dataMeridianGeo hierarchy, reach and frequency, search query volume, ROI priors that take test results directly
Want full control and a team that writes PythonPyMC-MarketingModular, time-varying and multi-geo options, lift tests in the likelihood
Need a fast first read and work in RRobynFastest fit, flexible curves, mature reporting; read ROIs knowing the spend-share penalty pulls them together
Have no data scientistA managed service or vendorThe open-source tools need expert judgment at every step
Have channel budgets that barely change, or always move togetherExperiments firstAn MMM can't separate channels whose spend never varies on its own; geo tests answer the big questions directly

Whichever you choose, the platform matters less than the data you give it and whether you check it against experiments.

What should you ask before trusting an MMM?

If nobody can answer these, the ROIs in the dashboard are a guess with decimals.

FAQ

What does MMM mean in marketing?

MMM stands for marketing mix modeling, also called media mix modeling. It is a statistical model that uses your spend and sales history to estimate how much each channel, such as Google, Meta or TV, adds to sales. It needs no cookies or user-level tracking, and it can measure offline channels.

What is the best marketing mix modeling software?

There is no single best one. Google Meridian, Meta Robyn and PyMC-Marketing are the leading open-source options, and in our test on a synthetic retailer with known answers, none recovered the true channel ROIs out of the box. Meridian was closest on weak channels, PyMC-Marketing converged most cleanly, and Robyn was fastest with the most flexible curves. Choose by your data, team and channels, then calibrate with experiments.

What is the difference between Meridian and Robyn?

Meridian is Google's Bayesian MMM: it samples a posterior with MCMC, puts priors directly on channel ROI and gives credible intervals. Robyn is Meta's MMM: it searches thousands of model settings with an evolutionary algorithm, fits ridge regression and returns a set of candidate models with point estimates. Robyn also penalizes channels whose credit strays from their spend share, which pulls ROIs together.

What is the difference between Meridian and PyMC-Marketing?

Both are Bayesian and both sample with NUTS. Meridian is one integrated model with its prior on each channel's ROI and strong support for regional data, reach and frequency. PyMC-Marketing is assembled from parts, puts its prior on each channel's maximum effect and offers more ways to customise the model. In our test their Affiliate estimates were 1.13 and 12.79. The different priors are the likeliest reason, though the two models also differed in baseline and curve shape.

Is Google Meridian biased toward Google channels?

We found no sign of that in the model itself; it treats every channel with the same prior by default. It does make good use of data Google supplies, such as YouTube reach and frequency and Google search query volume, though it accepts reach and frequency from any channel that has it. Our test used generic channels, so it can't rule out effects specific to Google data.

How much data do you need for marketing mix modeling?

Plan on about two years of daily or weekly data, so the model sees each season at least twice. Each channel also needs real variation in spend. A budget that never moves gives the model nothing to learn from. Regional data helps by multiplying the data points.

Is a high R² proof that an MMM is right?

No. In our test, the model with the highest holdout R² (0.977) had the worst channel attribution, overstating every channel. R² measures how well a model tracks total revenue, which is mostly trend and seasonality. It says little about how that revenue is split between channels.

Can MMM replace incrementality tests?

No, it works best with them. MMM covers every channel continuously but can confuse demand with ad effect. Experiments such as geo holdouts measure one channel's true effect at a time. Feeding test results into the MMM corrects it where it is least certain.

How often should a marketing mix model be updated?

Monthly or quarterly for most businesses, and whenever something structural changes: a new channel, a tracking change, a big shift in strategy. Compare each refresh with the last one; large swings usually point to weak data rather than real change.

Method: all results come from our fits of google-meridian 1.0.6, pymc-marketing 0.19.2 and robynpy 0.3.6 on a synthetic dataset (680 days, five channels) with a known data-generating process, following each project's documented workflow. Newer versions may give different results. Logos belong to Google, Meta and PyMC Labs.

Do you know which channels actually drive revenue?