A model that fits the past perfectly can still give terrible budget advice. Validation is the step that separates a model you can act on from a good-looking chart.

This guide covers five checks, from the cheapest to the most convincing, and gives a short code example for the one most teams skip.

The five checks

  • Out-of-sample accuracy. The model should predict weeks it never saw.
  • Convergence. The estimation should settle on a stable answer.
  • Stability. The answer should survive small changes in the data and setup.
  • Sanity. The effects should be plausible for the business.
  • Experimental agreement. The model should agree with an incrementality test where one exists.

Check 1: hold out the last weeks

Fit the model on all but the final 8 to 12 weeks, predict those weeks, and compare with actuals. A common summary is mean absolute percentage error.

import numpy as np

def mape(actual, predicted):
    actual, predicted = np.asarray(actual), np.asarray(predicted)
    return np.mean(np.abs((actual - predicted) / actual))

train, test = df.iloc[:-12], df.iloc[-12:]
# fit the model on `train` only, then predict the 12 held-out weeks
pred = fitted_model.predict(test)  # replace with your tool's prediction call
print(f"Holdout MAPE: {mape(test['revenue'], pred):.1%}")

There is no universal pass mark. A holdout error in the single digits to low teens is often considered good for weekly revenue, but a seasonal business with volatile weeks can sit higher. Compare against a naive forecast, such as last year's same week, and demand that the model beats it.

Check 2: convergence

Bayesian tools report diagnostics. Look for R-hat values close to 1 and a sufficient effective sample size. Poor values mean the sampler did not explore the model properly, so the media effects are not reliable regardless of how good the fit looks. Robyn offers its own diagnostics and Pareto-optimal model sets for the same purpose.

Check 3: stability

Refit with small changes: drop the first month, use a different seasonality setting, or remove one weak control. If channel ROI estimates swing widely, the data cannot support a confident answer, and you should report ranges.

Check 4: sanity

  • Effects should be positive for channels that cannot reduce sales.
  • Decay rates should match common sense, with fast carryover for search and slower carryover for television.
  • The baseline should not collapse to near zero or swallow almost everything.

Check 5: compare with an experiment

The strongest validation is an incrementality test. If a geo test shows a return on ad spend of about 2 for a channel and the model says 6, one of them is wrong, and the experiment is the safer bet. Feed the test back into the model as a calibration, which is covered in a separate guide.

A single weak validation result is not a reason to discard the model. Look at where it missed. Errors concentrated in holiday weeks point to a missing seasonal control, while errors scattered across ordinary weeks point to noise or a missing driver. The pattern tells you what to fix.

Check 6: reconcile with the business

Add up the modelled contributions and confirm they equal revenue. Then convert media returns into profit using margin, because a return of 2 on revenue can still lose money at a 40 percent margin. Finance will test this first, so test it before they do.

How often to validate

  • Every refresh. Run the holdout and convergence checks automatically.
  • After structural changes. A new channel, a pricing change or a tracking migration deserves a full review.
  • After each experiment. Compare the new test against the model and record the gap.

Keep a validation sheet for every model version: holdout error, diagnostics, stability range and experiment comparison. A model that passes these checks earns the right to guide budgets, and one that does not still teaches you where your data is weak.

Want a stronger data analyst role or a raise? Grab the FREE Product Analyst Playbook and get the exact roadmap to your next offer.