What is Marketing Mix Modeling?

Sep 1, 2023

Marketing Mix Modeling
Marketing Mix Modeling


Marketing Mix Modeling (MMM) is a type of statistical analysis that provides valuable insights into the effects of marketing activities on sales performance. MMM gives marketers a comprehensive view of which channels are driving business growth by applying advanced statistics and machine learning. When combined with experimentation, it provides a strong foundation to understand the incremental value of marketing investments.

In this blog post, we'll explore the ins and outs of MMM, from what it is, how it works, what data is required, and how it can be used to optimize your marketing investments. By the end of this blog post, you'll have a complete guide to MMM that'll help you go beyond the basics and make better decisions about your marketing strategy.

Why consider Marketing Mix Modeling?

As marketing leaders, you're likely trying to answer the following questions:

  1. What's the return on marketing investment?

  2. Where should we invest the next dollar?

  3. How much of marketing's contribution is truly incremental?

  4. How do we adjust investments in real time?

  5. How much should we be investing in marketing?

  6. How confident are we about hitting our business goals?

Many marketers rely on touch-based attribution to answer these questions. However, as we discussed in this article, this approach is highly limited and unreliable.

This is where Marketing Mix Modeling comes in. It's one of the only marketing measurement methodologies that are based on proven statistics. Through MMM, we can gain insight into which channels drive the highest ROI, and forecast future performance of campaigns and initiatives.

There are three reasons it's better than touch-based attribution to answer these questions:

  1. Universal. MMM can tackle indirect marketing channels (e.g., paid social, video) and offline channels (e.g. TV) in addition to digital direct response (e.g. search engine advertising).

  2. Future proof. Unlike touch-based attribution, MMM doesn't suffer from the impact of privacy changes.

  3. Unbiased. MMM is free of bias towards any specific marketing channel, instead of touch-based attribution, which favors channels that generate digital touches.

How does Marketing Mix Modeling work?

At it's core, MMM is an advanced statistical analysis. In recent years, machine learning techniques have further improved their strength and accuracy.

MMM starts by interpreting one to two years of historical data to find a statistical correlation between each marketing channel and your chosen target metric (e.g. sales). Depending on whether you have data on other variables (e.g., price, competition, or macro-economic data), it can also find the correlation between those variables and your target metric.

It then splits your target metric into the baseline (sales without any marketing investments) and the estimated incremental impact from marketing. It does so at both the overall level and at the channel/strategy/campaign level depending on the granularity of the source data. Finally, it creates a statistical model that enables both historical exploration and predictive forecasting.

This model enables you to compare marketing's estimated incremental impact in one period to another period (e.g., month over month). It also enables you to compare various scenarios of marketing spending in future months.

There are four steps in building an MMM:

  1. Choosing the right target metric

  2. Collecting the right data to build the model

  3. Choosing the right period for your input data

  4. Building and interpreting the results of your model

1. Choosing the right target metric

The data you use for MMM will have a much bigger impact on the results you get than the model itself. The target metric is the most important choice of all. If you want to get the best results, make sure to focus on the target metric.

Your target metric

  • Should be directly influenced by marketing activities

  • Should follow marketing activities as soon as possible

  • Should be how you measure marketing's impact on the business

Businesses with longer sales cycles or slow velocity where there's a long lag time between marketing activity and the eventual sale/conversion, it's important to pick a target metric that's relatively higher up in the funnel. This recommendation ensures that you remove any potential noise from your model (e.g., the effect of the product onboarding or sales/distributor experience).

You can still track the conversion rate from this higher-funnel-metric to the eventual sale and report on that separately.

Furthermore, it's important to understand the underlying trends of the data you are using, as well as any seasonal or cyclical patterns, to ensure the model is accurately capturing the data.

For a consumer mobile business, a good target metric is the number of users who install your app. A bad target metric is the number of transactions made by a mobile user 60 days after their account is created.

2. Collecting the right data

Once you've picked a target metric, you need to start collecting all the marketing and other variables that may have an impact on that target metric. The data you use for MMM will have a much bigger impact on the results you get than the model itself.

Consider all your paid, owned, and earned marketing channels. E.g., advertising (online and offline, brand and performance), events, organic social, email, content marketing, sales outreach, partners.

Start with one input metric per channel, but consider merging or splitting them as you iterate. This decision should be based on the underlying marketing strategy. For example, it's possible you have both audience building (reach focused) and conversion (activation-focused) ads on Facebook. In this case, it's useful to split those into separate input metrics.

Collect two data points for each input metric - impressions and costs. We recommend using impressions as the core input metric. Costs are used for all the return on investment calculations. In some cases, e.g., where impressions data isn't unavailable, it's possible to use cost data in the place of impressions data.

Collect at least two years of data with daily or weekly aggregation. Monthly aggregations reduce the number of data points and will necessitate a longer period (four to five years).

In addition to your marketing input variables, consider including other variables that might impact your target metric. For e.g., a financial services firm might want to include interest rates and an ecommerce firm might want to include an index of prices. Think deeply about potential relationships between those variables and your target metric before including or excluding them.

For advanced businesses with multiple geographies, products, or brands, it's worth developing multiple models to get a more fine grained understanding of marketing investments and their impact on your target metric.

In conclusion, accurate, comprehensive, and up-to-date data is vital for effective Marketign Mix Modeling. In today's environment, with a modern data stack, it's possible to automate data pipelines to ensure near-real-time data collection.

3. Choosing the right time period

Choosing the right time period is another important detail to consider while building a marketing mix model.

Begin with all your data and think about narrowing it down. Is 2021 data so different from 2022 that it may be beneficial to have two models instead of one? Is there a particular timeframe where the transformation in the target metric was likely due to elements unrelated to marketing?

Consider daily and weekly rollups, and try both. Weekly rollups lead to less data, but if you're not interested in mid-week variation, it may be more useful to the model. Weekly rollups are also easier to interpret for business teams.

4. Building, interpreting the results of, and improving your model

Once you've collected all the data, it's time to start building the model. Given the technical nature of this step, it's best left to a data scientist or a marketing analyst with prior experience with Marketing Mix Modeling.

Even before the actual process of model building starts, you'll want to run a variety of checks on your source data to ensure the input data lends itself well to this exercise. For example, you want to check for multi-collinearity in your data, the presence of which might require you to group those channels. Another example is conducting outlier detection and removal.

We're finally ready for the modeling. There are various data science techniques and open source libraries (Google's LightweightMMM, Meta's Robyn, Uber's Orbit) that can be good starting points. If you work with Paramark, we take care of this step entirely. In a future blog post, we'll share more about the pros and cons of various technical approaches.

Assessing the performance of a marketing mix model is critical for gaining an accurate understanding of its effectiveness. We recommend using a variety of ways to interpret how well the model "fits". Fit is a way to understand how well the model predicts outcomes. Mean absolute percentage error (MAPE) is a good yardstick for this assessment.

The process doesn't stop there. If your MAPE is relatively high, we recommend studying the results and the raw data to find ways to improve your model.

  • Stare at your target metric and ask yourself, what else might explain this?

  • Look for patterns in your residuals, which are calculated by excluding your predicted outcome metric from the actual outcome metric.

    • Do they spike around the holidays?

    • Are they higher for days where you spend more / less on a given channel?

  • Come up with ideas to test

    • Adding extra variables that can explain the residuals might help

    • Merging / splitting media channels

Once you've built the model, the predictions from the model can also be used to plan scenarios and create forecasts. We recommend refreshing the model every week or month as you consume new data.

How is MMM related to experimentation?

It's important to understand that Marketing Mix Modeling generates correlational insights. Said another way, think of it as an estimate of incrementality or a hypothesis of a potential causal relationship. Additionally, the insights should be considered broadly across the time period and not specific to a point in time.

Experimentation, on the other hand, is truly causal. We recommend combining experimentation with MMM to get a more robust and precise understanding of incrementality.

Read more about marketing experimentation here.

How do you get started with MMM?

As you can probably see, Marketing Mix Modeling is a specialized skillset.

While its entirely possible to take a Do-It-Yourself (DIY) approach, it requires significant investment and commitment to build and maintain. If you go down that path, consider the open source libraries mentioned in this article, and hire a data scientist to lead the execution along with your marketing analytics and marketing leaders.

MMM is a core pillar of Paramark's solution. If you need help, please reach out.

Get access to Paramark


© 2023 FasTrak, Inc. dba Paramark

Get access to Paramark


© 2023 FasTrak, Inc. dba Paramark