Executive summary
Choosing a model from the Pareto front
Robyn fits thousands of candidate models and keeps the ones nobody beats on both accuracy (NRMSE) and business sense (DECOMP.RSSD: how far each channel's share of effect strays from its share of spend). We cluster those and pick one with you. Click a highlighted model to switch.
Response decomposition
Total revenue over the window, built up from the intercept, trend, seasonality, holidays, context variables, email and each paid channel
Share of spend vs share of effect
Paid channels only. A channel whose effect share beats its spend share is pulling more than its weight.
Actual vs fitted
Weekly. Robyn trains on the first 70% and checks itself on the validation and test weeks.
Trend, seasonality and holidays
Weekly baseline components from Robyn's Prophet decomposition
Carryover (geometric adstock)
θ = the share of this week's ad effect still working next week
ROAS with bootstrapped intervals
Total ROAS for the selected model, with 95% intervals bootstrapped from the other models in its cluster
Channel summary
Marginal ROAS (mROAS) is the return on the next dollar at today's spend
Response curves
Hill saturation on adstocked spend. Dots mark average weekly spend; flatter curves mean diminishing returns.
Calibration with a lift test
Robyn adds a third objective, MAPE.LIFT: how far each candidate's predicted YouTube lift is from what a matched-market test measured. Uncalibrated models are free to under-credit YouTube.
Test: YouTube doubled in 14 matched regions for 6 weeks, 14 control regions unchanged. How matched-market tests work →
Budget allocator
Robyn's allocator finds the spend mix with the highest response for a given budget, within limits per channel (here 50%–150% of today, as in a typical brief). Move the sliders to try your own plan.
Method and caveats
Data
- 104 weeks of national revenue and spend from Shopify, Shopify POS, Google Ads, Meta, Microsoft Ads and TikTok, prepared in BigQuery.
- Context variables: promotion calendar and consumer confidence. Organic variable: email and SMS sends.
- Prophet supplies trend, yearly seasonality and Canadian/US holidays.
Model
- Ridge regression with geometric adstock and Hill saturation per channel. Nevergrad searched the hyperparameters: 2,000 iterations × 5 trials.
- Three objectives: NRMSE, DECOMP.RSSD and MAPE.LIFT. Pareto-optimal models were clustered into 5 groups; intervals are bootstrapped within the selected cluster.
- Time-series validation: 70% train, 15% validation, 15% test.
Caveats
- Robyn gives several good models, not one answer. The channels where the candidates disagree are the ones worth testing next.
- Ridge regression has no priors, so small channels like TikTok and Microsoft Ads swing between candidates. Read their ROAS as a range.
- Curves are reliable near today's spend; far beyond it they're extrapolation. The model is refreshed quarterly.