
How Marketing Mixed Modeling Can Improve Your ROI
How to plan your marketing spend while measuring the true effect of any marketing activity on your bottom line? The answer lies in Marketing Mix Modeling (MMM).

Regression analysis fits an equation describing how an outcome varies with one or more predictors. Each coefficient estimates the average change in the outcome per unit change in that predictor, holding the others in the model fixed.
Regression fits an equation to data: an outcome on the left, one or more predictors on the right, and coefficients chosen to make the errors as small as possible. Ordinary least squares picks the coefficients that minimise the sum of squared residuals, which has a closed-form solution and is why the method predates computers. Each coefficient is read as the average change in the outcome associated with a one-unit change in that predictor, with the other predictors in the model held constant.
That last clause is doing enormous work and is the source of most misreadings. "Holding constant" means holding constant *the variables in the model*. Anything omitted is not held constant — it varies freely and its influence gets absorbed into whichever included predictor it correlates with. So a regression coefficient is a conditional association, and it becomes a causal effect only under an assumption about what was left out. That assumption is not tested by any statistic in the output, which is why a regression can be beautifully specified and confidently wrong.
The standard assumptions are worth knowing by what they affect rather than as a list. Linearity in the parameters, and correct functional form, affect the estimates themselves — fitting a straight line through a curved relationship gives a coefficient that describes neither end of it. Independent errors and constant variance affect the standard errors rather than the coefficients, which matters because time-series and clustered data violate both routinely and produce confidence intervals several times too narrow. Normality of errors affects small-sample inference only and is the least important of the set.
Two diagnostics repay the time. Plot residuals against fitted values, which reveals curvature, changing spread and influential points more reliably than any test statistic. And check multicollinearity when predictors move together, since correlated predictors make individual coefficients unstable and hard to interpret even while the model as a whole predicts perfectly well. Neither of these is a test to pass; both are ways of finding out what the model is actually doing.
Regression is the engine underneath a great deal of applied work — marketing mix modelling is a regression with adstock and saturation transformations, difference-in-differences is a regression with an interaction term, and the analysis of a randomised experiment is a regression with one binary predictor. In that last case the causal claim comes from the randomisation rather than from the model, which is the cleanest illustration of the general rule: regression estimates associations, and it is the design that decides whether an association may be read as an effect.
The model, the estimator and the two quantities you read off the output. The matrix form is worth seeing because it makes the collinearity problem obvious.
Y = β₀ + β₁X₁ + β₂X₂ + … + βₖXₖ + εLinear in the parameters, not necessarily in the variables — X² and log(X) are both fine and keep it a linear model.
β̂ = (XᵀX)⁻¹ XᵀyThe inverse is what fails when predictors are collinear: XᵀX becomes near-singular, and the coefficients become wildly unstable.
t = β̂ⱼ / SE(β̂ⱼ), df = n − k − 1Report the confidence interval rather than the p-value — see the two-sample t-test calculator, which is a regression with one binary predictor.
R² = 1 − SS_res/SS_tot, adjusted R² = 1 − (1−R²)·(n−1)/(n−k−1)R² never falls when you add a predictor, so use the adjusted version when comparing specifications — and neither says anything about whether the model is causal.
An analyst regresses weekly revenue on weekly marketing spend across 104 weeks. The coefficient is 2.8 with a t of 9.4 and an R-squared of 0.71. They present it as a return of £2.80 per pound spent.
Adding seasonality and promotions cuts the coefficient from 2.8 to 1.1. A randomised geo test puts the true figure near 1.3.
The first model is not a bad fit — R-squared of 0.71 and a t of 9.4 look convincing — and it is wrong by a factor of more than two, because spend rises in the same weeks that promotions run and demand peaks. The omitted variables were absorbed straight into the spend coefficient, which is [confounding](/glossary/confounding-variable) doing exactly what the algebra predicts. The second model is much better and still not causal: it controls for the drivers that were measured, and only the geo test replaces that assumption with randomisation. Note too that R-squared rose while the coefficient of interest fell by 60%, which is the clearest possible demonstration that fit quality and coefficient credibility are unrelated.

How to plan your marketing spend while measuring the true effect of any marketing activity on your bottom line? The answer lies in Marketing Mix Modeling (MMM).


In today’s privacy-focused era, the different attribution models create many blind spots for marketing analysts and decision makers. However MMM & Geo Tests can help.

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.