MMM: Methodology
Bayesian estimation and model selection
Naukr AI MMM uses NumPyro on JAX and estimates continuous parameters with the No-U-Turn Sampler (NUTS). Warm-up adapts the sampler; retained draws represent the posterior distribution.
Candidate comparison
Discrete choices are compared as separate model candidates rather than sampled inside one posterior. These choices can include:
- additive versus multiplicative outcome form;
- baseline family;
- adstock family and lag length;
- saturation family; and
- use of the constrained neural correction.
Candidates are ranked on leakage-safe validation only after passing configured quality gates. The locked test remains untouched during tuning.
Runtime controls
Warm-up iterations, retained draws, chains, target acceptance, tree depth, and random seed are configurable. Smoke runs can use lighter settings for rapid iteration; an approved final specification should use production settings.
Validation, diagnostics, and uncertainty
Sampling diagnostics
| Diagnostic | Purpose | Default gate |
|---|---|---|
| R-hat | Checks whether chains converged to the same posterior | Maximum ≤ 1.01 |
| Effective sample size | Measures independent-equivalent posterior information | Minimum ≥ 200 |
| Divergences | Detects problematic sampler trajectories | Zero |
Weak diagnostics are mapped back to media nodes, groups, geographies, or controls where possible.

Predictive and business validation
The evaluation suite includes:
- chronological train, validation, and locked-test windows;
- expanding-window rolling-origin folds;
- RMSE, MAE, WMAPE, and R-squared;
- national and within-geography fit;
- posterior interval coverage and width;
- peak-capture checks;
- ROI reconciliation;
- prior-sensitivity checks; and
- contribution stability.
Accepted candidates are ranked primarily on validation performance, followed by peak capture, temporal and national fit, overall fit, interval quality, and deterministic tie-breakers.
Understanding uncertainty
Predictions, transformations, contributions, profit, ROI, and response curves are calculated for every posterior draw before being summarized. Reports usually show a mean or median and a credible interval.
A credible interval describes uncertainty under the selected model, priors, and data. It does not guarantee that the model structure or source data are complete.