Bayesian VECM for Long-Term Brand Effects, Explained and Stress-Tested

A VECM can separate short-term activation from long-term brand effects. Simulated data shows where it works and where it breaks.

Bayesian VECM for Long-Term Brand Effects, Explained and Stress-Tested

1. Introduction

Have you ever successfully justified increasing brand spend? Yeah, me neither! Part of the problem is that brand works slowly. A campaign raises awareness, which builds consideration over time, and eventually that shows up as an increase in sales, often long after the campaign has finished. An MMM is built for the short-term lift after a burst of spend, and in most of the MMMs I’ve seen the effect is gone within a couple of months.

However, there is research we can lean on, and more and more people seem to be adopting similar approaches lately. It started with Les Binet and Peter Field’s The Long and the Short of It (2013), which made the case across the IPA databank. Peter Cain (2022) and Market Science then set out a way to measure it using a brand’s own data, with cointegration tying brand metrics to base sales. More recently, PyMC-Marketing and Recast have both built on the same idea.

Before we get into how these methods work, it helps to be clear about what they are trying to measure. Broadly, there are three ways sales can go after a campaign:

  • Adstock, where the lift fades to zero within weeks. Most MMMs assume this.
  • A lasting lift, where awareness moves to a new level and sales follow it up for good. Cain’s method assumes this one.
  • A fading lift, somewhere in between: awareness rises, then slowly drains back. My guess is that this is what happens for most brands.

Three sketches of sales after a 13-week burst of spend: adstock fading to zero, a lasting lift, a fading lift

Image by author.

Which one you assume makes a big difference. If a lift lasts, a campaign earns much more over five years than it does in the first year. If it fades, it earns less, but still far more than adstock gives it credit for. The difficult part is that the data doesn’t always tell you which one you have.

The aim of this article is to help you understand how these methods work and some of their pitfalls, so you can make up your own mind about whether to adopt them. In Part 1 we explain the method, a vector error correction model (VECM). In Part 2 we test it on the kind of data a real brand actually has: a few years of history, base sales taken from an MMM, and lifts that fade. Everything runs on simulated data, as this means we always know the right answer.


Part 1: The VECM

2. The problem with adstock

Let’s start by understanding the problem with using a long adstock in your MMM to capture long-term effects.

In an MMM, weekly sales are explained by spend, price, seasonality and a baseline. Spend goes in through adstock, where each week keeps a share of the previous week’s effect, so a burst of TV builds and then fades out over a few weeks. That works well for the question an MMM is usually asked, which is how this quarter’s spend moved this quarter’s sales.

However, it struggles with brand, as most of the effect comes long after the spend. The usual workaround is to give brand spend a second, much longer adstock, with a short decay for activation and a long one for brand building. Cain (2025) calls this the adstock illusion.

The problem with this is the trend. Over a few years sales usually drift up or down, and a slowly decaying spend series drifts too. If you regress one on the other they will line up whether brand is driving sales or not. In practice the long adstock ends up soaking up the drift in the baseline, which tells you very little about how brand building works.

To show this, we simulated a baseline with a slow upward trend and no link to spend at all. The long adstock of brand spend climbs alongside it anyway, and the regression gives brand the credit.

Five years of flighted brand spend, a baseline trend built with no link to spend, and the long adstock of spend fitted to it

Image by author.

Cain (2022) takes a different route using a VECM, which separates the two effects. Short-term activation is the week-to-week movement around base sales. Long-term brand building is the base itself: the level of sales that slowly moves with awareness and consideration.

To do this, the model needs the brand metrics alongside sales. It also has to treat the trends as information rather than something to strip out, and it needs a way for a change in awareness to carry through to consideration and then sales.

3. The brand funnel

Most of us will be familiar with the idea of a brand funnel. Marketing makes people aware of your brand, some of those people go on to consider it, and some of them eventually buy. Each step feeds the next, so if you get a lasting rise at the top of the funnel, you’d expect to see it further down too.

Brand trackers usually measure the middle of the funnel, with awareness (the share of people who know the brand) and consideration (the share who would think about buying it). Tracker data has a few problems of its own, which we come back to in section 11.

Awareness, consideration and sales together make up the system. By sales we mean base sales, so sales without the short-term lift from performance media and promotions.

Then there are the drivers. Brand spend, PR and sponsorship push on awareness, while things like interest rates and consumer confidence push on consideration from outside. None of these are moved by the brand in return.

Marketing moves awareness. Consideration and sales follow.

The simulated system. Drivers act from outside. The three brand series trend and are tied together. Image by author.

To walk through each step of the method, we simulated five years of weekly data for a brand like this. As we built it ourselves, we know the right answer at every step. The table below shows what we built in:

What we built inSetting
Funnel orderDrivers → awareness → consideration → sales
How far a lift carriesA lasting 1% rise in awareness ends up as about 0.9% in consideration and about 1.1% in sales
Who catches upSales close about a quarter of any gap to consideration each week, and consideration closes about a fifth of its gap to awareness. Awareness doesn’t catch up to anything, because it leads
Weekly surprisesNews and competitors hit all three series in the same week
Does a lift last?Yes, for good

In the rest of the article we will show how well the method recovers each of these from the data alone.

If you gave most analysts a brand tracker and a sales series, they’d probably start with a regression. Regression assumes each series is stationary, meaning it moves around a stable average and comes back to it after a shock.

Brand series usually aren’t stationary, as awareness, consideration and sales tend to trend up or down over several years rather than moving around a stable average. You can check this with the Augmented Dickey-Fuller (ADF) test. On our simulated data, sales, awareness, consideration and the interest rate come out as non-stationary, while brand spend, PR, sponsorship and consumer confidence are stationary.

The trouble is that if you regress one trending series on another, the two will often look related when they aren’t. This is known as a spurious regression, and it was first shown by Granger and Newbold (1974).

To show this, we built two random walks completely independently of each other. When you regress one on the other, the slope comes out highly significant, and the leftover gap between them wanders around just as much as the series themselves do.

Two unrelated random walks, and what is left over after regressing one on the other

Image by author.

You might think we got unlucky with that pair, but across 1,000 pairs of unrelated random walks of five years each, 84% gave a slope significant at the 5% level.

The usual fix is to difference the data, so you model the weekly change rather than the level. Weekly changes are stationary, so the regression is safe, but differencing throws away the levels, and the levels are where the long-run story is. A campaign that lifts awareness for good only shows up in the level.

Instead, we need a way to keep the levels without being fooled by them, which is where cointegration comes in.

5. Cointegration: the drunk and her dog

Some trending series are tied together. Each one wanders on its own, but a weighted gap between them keeps coming back to a stable level. Series like these are called cointegrated. The gap is the cointegrating relationship, and its stable level is the long-run equilibrium. The idea comes from Engle and Granger (1987), and it is often pictured as a drunk walking home with her dog on a lead. Each of them wanders unpredictably, so neither path is stationary, but the lead keeps them from straying far apart, and the distance between them stays stable.

Awareness, consideration and base sales behave in the same way. Each trends over the years, but consideration is tied to awareness and sales are tied to consideration, so the gaps between them keep returning to their usual level. That is what lets us keep the levels in the model without being fooled by them, and it is the foundation the VECM in the next section is built on.