Diagnosing and Stabilizing a Fragile Marketing Mix Model
Hard · Machine Learning · Data Scientist · Technical Screen
Prompt
You take over an existing weekly Marketing Mix Model (MMM / MMX) fitted on three years (156 weeks) of historical retail data. Weekly revenue is modeled using seven explanatory series: linear television ratings (TV GRPs), Paid Search Spend, Display Spend, Email Sends, retail Price, Promotions, and an external Competitor Index. Inspection of the inputs reveals two acute statistical hazards: weekly television volume and paid search investment co-move with a 0.90 correlation, and the time series crosses a severe pandemic regime shift at week 70.
Explain why a baseline model estimated directly on this history is statistically fragile, and present a concrete methodology to repair, calibrate, validate, and use it for budget decisions.
Scope & Expectations
- Fragility diagnosis, causal confounding, and collinearity: Identify why unregularized estimation breaks down here, address demand-driven endogeneity and omitted-variable bias, and contrast approaches to the
0.90TV-versus-Search correlation (informative Bayesian priors, Ridge vs. LASSO regularization, and hierarchical geo-level pooling). - Carryover curves, saturation shapes, and regime breaks: Select defensible lag/adstock kernels and diminishing-returns curves across upper- and lower-funnel channels, and handle non-stationary trends alongside the week-
70structural change point. - Promotional dynamics, privacy loss, and experimental anchoring: Correct for promotional stockpiling/cannibalization and tracking degradation from privacy interventions such as App Tracking Transparency (
ATT), and incorporate randomized geo-lift experiments to calibrate channel attribution. - Validation protocol and uncertainty-aware optimization: Define an evaluation suite (rolling out-of-time error, experimental lift agreement, and posterior predictive checks) and show how to generate ROI estimates and budget reallocations that account for parameter uncertainty.
Step-by-step walkthrough
Diagnose why a 156-week specification is fragile
Marketing Mix Modeling (MMM / MMX) is a time-series regression framework that decomposes aggregate weekly sales into baseline demand plus incremental contributions from media channels, pricing, and promotions. Before changing a single equation, count what
156weekly rows can and cannot identify:- Severe degrees-of-freedom crunch. Four media channels (
TV GRPs, where one Gross Rating Point equals1%of the target population exposed once;Paid Search;Display;Email) each carry a slope, an adstock carryover parameter, and two saturation shape parameters (4 * 4 = 16), plusPrice,Promotionswith post-promo lags, andCompetitor Index(5), plus intercept, trend, ~6Fourier seasonality terms,5major holidays, and3+pandemic break parameters: roughly 35 non-linear parameters fitted on156weeks (~4.5observations per parameter!). - High multicollinearity (
r = 0.90). Because TV and Paid Search co-move atcorr = 0.90, each channel's Variance Inflation Factor (VIF) — the factor by which collinearity multiplies coefficient variance,1 / (1 - R^2)— is at least1 / (1 - 0.90^2) = 5.26, inflating standard errors bysqrt(5.26) = 2.29x. - Demand-driven endogeneity. Paid Search spend, Promotions, Email blasts, and Price are actively cranked up in weeks when management already expects strong consumer demand.
- Pandemic regime break at week 70. Weeks
1–69(pre-pandemic) and weeks70–156(87post-break weeks, less than two full52-week seasonal cycles) reflect fundamentally different store traffic, online conversion habits, and media consumption. - Privacy shifts and panel noise. Apple's App Tracking Transparency (ATT) altered digital ad targeting and conversion reporting mid-series, while TV GRPs and the Competitor Index are noisy panel estimates.
- Autocorrelated residuals. Unmodeled multi-week demand waves correlate weekly errors, making standard OLS confidence intervals deceptively narrow.
- Severe degrees-of-freedom crunch. Four media channels (
Fix endogeneity without accidentally conditioning on mediators
Endogeneity occurs when a predictor (such as Paid Search spend) is correlated with unobserved sales drivers in the error term, causing regression to confuse pre-existing consumer demand with ad-driven lift. Suppose true standardized sales follow
Sales = beta_S * Search + gamma_D * Demand + eps, where unobservedDemanddrives people to search on Google (corr(Search, Demand) = 0.80):Omitted-variable bias formula: E[beta_S_hat] = beta_S + gamma_D * Cov(Search, Demand) / Var(Search) Worked numeric example (standardized): True Search effect beta_S = 0.20, Demand effect gamma_D = 1.00, corr(Search, Demand) = 0.80 Naive MMM estimate = 0.20 + 1.00 * 0.80 = 1.00 (5x overestimate of Paid Search!)However, fixing endogeneity requires drawing the causal graph so we control for confounders (common causes of spend and sales) without controlling for mediators (intermediate steps caused by an upper-funnel channel):
Unobserved Seasonal / Health Demand (Confounder: CONTROL for this!) | \ v v TV GRPs ----------------> Organic Brand/Category Queries ---> Paid Search Spend ---> Sales (Mediator of TV: DO NOT control when reading TV's total lift!)Concrete remedies in priority order:
- Randomized geo-holdout experiments (e.g., turning off Paid Search in matched markets for 4 weeks) break the link between demand and spend completely and anchor the model (Step 7).
- Exogenous demand controls + structural separation of TV and Search. Add external demand shifters that marketing does not cause: regional illness/flu indices (for a retail pharmacy chain), weather, macroeconomic indicators, and open store count. Following Chen et al. (2018), organic category/brand query volume closes the
Demand -> Searchback-door path when estimating Paid Search, but because TV ads trigger brand searches (TV -> Queries -> Sales), conditioning on brand queries in a single flat equation steals TV's credit! Either model a two-equation structural system (TV -> QueriesandTV + Queries + Search -> Sales) so TV gets credit for both its direct and search-mediated paths, or estimate TV's total effect without conditioning on brand search volume. - Credible instrumental variables (IVs). Where experiments are unavailable, exploit exogenous supply shocks that move ad delivery without touching consumer demand — such as ad-platform outages, billing caps unrelated to demand, or locked upfront TV rate differences — never auction CPC spikes, which rise because demand rose.
Resolve the 0.90 TV-Search multicollinearity
When two standardized channels have correlation
r = 0.90acrossnweeks, ordinary least squares (OLS) yields a stark contrast between their sum and their difference:Var(b_TV) = sigma^2 / [n * (1 - r^2)] --(r = 0.90)--> 5.26 * sigma^2 / n Var(b_TV + b_S) = 2 * sigma^2 / [n * (1 + r)] --(r = 0.90)--> 1.05 * sigma^2 / n (tight!) Var(b_TV - b_S) = 2 * sigma^2 / [n * (1 - r)] --(r = 0.90)--> 20.00 * sigma^2 / n (19x larger variance!) Corr(b_TV, b_S) = -r --(r = 0.90)--> -0.90Because
Corr(b_TV, b_S) = -0.90, whenever noise pushes TV's estimated slope up, it pushes Search's slope down by almost the exact same amount:import numpy as np rng = np.random.default_rng(0) n_weeks, corr = 156, 0.90 true_tv, true_search = 2.0, 1.0 fits = [] for _ in range(1000): tv = rng.standard_normal(n_weeks) search = corr * tv + np.sqrt(1.0 - corr ** 2) * rng.standard_normal(n_weeks) sales = true_tv * tv + true_search * search + 3.0 * rng.standard_normal(n_weeks) beta_hat, _, _, _ = np.linalg.lstsq(np.column_stack([tv, search]), sales, rcond=None) fits.append(beta_hat) fits = np.array(fits) print(round(fits[:, 0].std(), 2), round(fits[:, 1].std(), 2)) # 0.57 0.57 (wide individual swings) print(round(fits.sum(axis=1).std(), 2)) # 0.25 (tight combined lift!)How each multicollinearity remedy behaves:
- Informative Bayesian priors (best in national MMM). Half-normal or log-normal priors on channel ROI centered on past lift studies let the time series pin down
b_TV + b_Swhile experimentally grounded priors resolve the split and enforce non-negativity (beta >= 0). - Ridge regression (L2 penalty
lambda * ||beta||_2^2). Shares credit smoothly between correlated channels instead of dropping one, mathematically matching symmetricNormal(0, sigma^2 / lambda)priors. Caveat: centering priors at0shrinks total media ROI downward, so pair L2 regularization with non-negativity constraints and time-series cross-validation. - Why LASSO (L1 penalty
lambda * ||beta||_1) fails here. On correlated pairs (r = 0.90), LASSO arbitrarily zeroes out either TV or Search depending on tiny sample noise — fine for pure black-box forecasting, disastrous for causal budget attribution. - Hierarchical Bayesian geo-level MMM. Disaggregating national data into weekly DMA/state panels unlocks cross-market variation in the TV-to-Search ratio, while partial pooling (
beta_{geo, c} ~ Normal(mu_c, tau_c^2)) stabilizes noisy smaller markets toward the national distribution. - Deliberate flighting variation. Staggering future TV bursts and Search pulses across weeks or regions breaks
r = 0.90directly in new data.
- Informative Bayesian priors (best in national MMM). Half-normal or log-normal priors on channel ROI centered on past lift studies let the time series pin down
Choose identifiable adstock and saturation transforms
Media rarely acts instantaneously or linearly, so each raw series
x_tpasses through adstock (carryover memory of past ads into subsequent weeks) followed by saturation (diminishing marginal returns as weekly pressure rises):- Adstock choice by funnel role. Geometric adstock
a_t = x_t + theta * a_{t-1}(0 <= theta < 1) peaks immediately in weektwith half-lifeln(0.5) / ln(theta)and long-run multiplier1 / (1 - theta)(theta = 0.70->1.94-week half-life and3.33xtotal exposure mass). That immediate peak fits lower-funnel Paid Search and Email (theta ≈ 0.05–0.25). Upper-funnel TV often peaks 1–2 weeks after airing as awareness converts into store visits, so test a Weibull or delayed-geometric adstock kernel (capped at e.g.8lag weeks) for TV. - Hill saturation. Apply
Hill(a) = a^alpha / (a^alpha + K^alpha)after adstocking (K= half-saturation adstock level where50%of maximum lift is reached;alpha > 1gives an S-curve with a threshold,0 < alpha <= 1gives strictly concave diminishing returns). - Avoiding non-identifiability. If historical spend stayed entirely in the linear toe of the curve (
a_t << K),beta(height) andK(half-saturation) trade off almost perfectly, while highthetatrades off with trend and seasonality. Do not grid-search hundreds of(theta, alpha, K)combinations with OLS (which severely overfits156points and hides transform uncertainty). Instead, place channel-specific priors ontheta(tight near0for Search, wider for TV) and anchorKnear observed spend quantiles inside one joint Bayesian model, and never extrapolate the fitted curve outside observed[min_spend, max_spend].
- Adstock choice by funnel role. Geometric adstock
Model non-stationarity and the week-70 pandemic break
Pooling weeks
1–69and70–156with constant parameters averages two different worlds, yet discarding weeks1–69leaves only87post-break weeks (1.67years — barely enough to separate annual seasonality from holiday flighting).First, confirm what broke at week
70. A Chow test compares pooled residual sum of squares (RSS_pooled) against separate pre/post fits (RSS_pre + RSS_post) acrosskparameters:Chow F = [ (RSS_pooled - (RSS_pre + RSS_post)) / k ] / [ (RSS_pre + RSS_post) / (n - 2k) ] Example (n = 156, k = 10, RSS_pooled = 1200, RSS_pre + RSS_post = 900): F = ((1200 - 900) / 10) / (900 / 136) = 30 / 6.618 = 4.53 > F_0.95(10, 136) = 1.90 (break confirmed!)Because weekly retail residuals are serially correlated, compute the break test using HAC (Newey-West) standard errors (heteroskedasticity- and autocorrelation-consistent covariance estimates) and scan for secondary post-lockdown reopening shifts (
sup-F/ Bai-Perron multiple change-point tests).Model the break cleanly in three layers:
- Explicit baseline regime shift: allow a step + slope change at week
70plus continuous mobility / e-commerce share covariates to absorb pandemic shock waves cleanly. - Hierarchical partial pooling of pre/post media slopes: parameterize
beta_{c, post} = beta_{c, pre} + delta_cwithdelta_c ~ Normal(0, tau_c^2). Current budget decisions usebeta_{c, post}(driven by post-week-70 responsiveness), while pre-break data still regularizes shared seasonality and carryover shapes. - Time-correlated error structure: use AR(1) errors or a lightly regularized state-space local level, checking residual autocorrelation plots (
ACF). Avoid unregularized random-walk baselines, which soak up short media bursts and bias channel ROIs toward zero.
- Explicit baseline regime shift: allow a step + slope change at week
Separate net promo lift and post-ATT signal loss
Promotion cannibalization. A promotional week's raw sales spike overstates net incremental profit for two reasons: stockpiling / pull-forward (loyal shoppers buy forward, depressing sales in weeks
t + 1andt + 2) and cross-SKU cannibalization (shoppers switch from full-price sizes/brands to the discounted item):Week t promotion spike on promoted SKU: +1,000 units Post-promo dip (lag 1 = -300, lag 2 = -150): -450 units (pull-forward / stockpiling) Switch from non-promoted sister SKUs: -200 units (cross-product cannibalization) -------------------------------------------------------- True net incremental category lift: +350 units (only 35% of the visible +1,000 spike!)Model total category sales (absorbs cross-SKU switching automatically), encode promotions by continuous percentage discount depth rather than a binary dummy, include explicit post-promotion lag terms
promo_{t-1}, promo_{t-2}(expecting negative coefficients), and separate regular base-price changes from temporary promo discounts.Privacy-induced measurement error (ATT). Classical additive noise in a predictor
x_measured = x_true + noiseshrinks its own slope toward zero (attenuation bias):beta_hat -> beta_true * Var(x_true) / (Var(x_true) + Var(noise)) (If 30% of measured predictor variance is noise, beta_hat shrinks to 0.70 * beta_true, and in correlated multi-channel regression the "missing" 30% leaks onto correlated channels!)In a
156-week dataset spanning the pandemic, Apple's App Tracking Transparency (ATT, iOS 14.5) hits the MMM in two distinct ways:- Corrupted platform-reported metrics: opted-out iOS conversions disappeared from ad-platform dashboards, while Apple Mail Privacy Protection artificially inflated email "open" counts. Never use platform-attributed conversions as the MMM outcome or email opens as the input — use verified first-party sales as the outcome, and audited invoice Display/Search Spend, TV GRPs, and Email Sends as inputs.
- Real shift in Display effectiveness per dollar: losing cross-app identifiers degraded ad-network retargeting and conversion optimization, meaning
$1of Display Spend after ATT genuinely bought lower-converting impressions! Treat the ATT rollout week as a channel-specific regime shift onbeta_Display(or recalibrate Display with a post-ATT geo lift test), and use Bayesian errors-in-variables latent priors if noisy panel indices (Competitor Index, niche GRPs) remain.
Calibrate with geo-tests, validate, and optimize marginal ROI under uncertainty
Geo-test calibration. Randomized geo-lift experiments (e.g., a 4-week Paid Search holdout or local-spot TV heavy-up across matched DMAs) provide gold-standard causal anchors. Rather than overriding parameters crudely, add each experiment to the Bayesian MMM as an exact counterfactual likelihood term: evaluate the model's predicted lift
Delta_hatfor that experiment's exact weeks, markets, and spend delta along the Hill-adstock curve, and scoreDelta_exp ~ Normal(Delta_hat, SE_exp^2). When two estimates measure the exact same scalar ROI, Bayesian updating matches inverse-variance (precision) weighting:Observational MMM TV ROI: 1.75 +- 0.75 (precision weight = 1 / 0.75^2 = 1.78) Randomized geo-test ROI: 0.85 +- 0.25 (precision weight = 1 / 0.25^2 = 16.00) Calibrated posterior ROI: (1.75*1.78 + 0.85*16.00) / 17.78 = 0.94, SD = sqrt(1 / 17.78) = 0.24Five-step validation plan:
- Rolling out-of-time forecast on post-break weeks (e.g., fit weeks
1–143, predict held-out weeks144–156): check WMAPE,80%/95%predictive interval calibration, and improvement over a baseline-only seasonal model. - Out-of-sample lift alignment: hold one geo experiment out of training and verify the model's 90% credible interval covers the experimental lift.
- Prior and Posterior Predictive Checks (PPCs): simulate synthetic sales trajectories from priors alone (ensuring plausible ROI ranges before seeing data) and from the fitted posterior (checking seasonal peaks, post-week-70 variance, and residual autocorrelation).
- Synthetic parameter recovery: simulate known ground-truth channel lifts on top of the actual
0.90-correlated spend matrix and verify the pipeline recovers true ROIs inside credible intervals. - MCMC convergence & stability: check
R-hat < 1.01, high effective sample size (ESS), zero divergent transitions, and ROI ranking stability when dropping 4-week blocks.
Robust budget allocation uses marginal ROI (
mROI) across all posterior draws. Average ROI (total lift / total spend) measures historical payback, whereas marginal ROI (d(lift) / d(spend)at current spend) measures what the next dollar earns. Onlift(x) = 500,000 * x / (x + 200,000)at$200,000spend, average ROI is250,000 / 200,000 = 1.25, yet marginal ROI is500,000 * 200,000 / 400,000^2 = 0.625(62.5cents per extra dollar!). Evaluate any proposed budget shift across allMjoint posterior draws (staying within observed spend bounds):import numpy as np def hill(spend, half_sat): return spend / (spend + half_sat) rng = np.random.default_rng(0) # Posterior draws of max weekly lift [TV, Search]; negative correlation (-0.6) from r = 0.90 collinearity! cov = [[100_000 ** 2, -0.6 * 100_000 * 120_000], [-0.6 * 100_000 * 120_000, 120_000 ** 2]] draws = rng.multivariate_normal([500_000, 400_000], cov, size=4000) beta_tv, beta_search = draws[:, 0], draws[:, 1] # Shift $50k/week from TV ($200k -> $150k) into Search ($100k -> $150k): net_gain = ( beta_tv * (hill(150_000, 200_000) - hill(200_000, 200_000)) + beta_search * (hill(150_000, 100_000) - hill(100_000, 100_000)) ) print(round(net_gain.mean()), np.round(np.percentile(net_gain, [5, 95])), round((net_gain > 0).mean(), 2)) # Output: 4259 [-24432. 33130.] 0.59 -> +$4.3k expected gain, but only 59% probability of helping!Notice why the
90%interval[-$24.4k, +$33.1k]is so wide: becauseCov(beta_tv, beta_search) < 0, draws where TV was stronger than average are simultaneously draws where Search was weaker than average, magnifying the variance of(-loss_TV + gain_Search). Commit large budget shifts only whenP(net_gain > 0) >= 0.90(or optimize risk-averseE[gain] - lambda * SD[gain]), and commission a targeted TV-vs-Search geo experiment whenever high-stakes reallocations sit near a coin flip.- Rolling out-of-time forecast on post-break weeks (e.g., fit weeks
Intuition & how it works
Imagine sitting in the back of a concert hall with a single volume meter across 156 weekly performances, trying to figure out how loud each musician plays solo so you can adjust their microphones. Two of the loudest players — the violinist (TV) and the cellist (Paid Search) — follow the exact same sheet music 90% of the time (corr = 0.90), the conductor waves everyone louder right when the crowd is already cheering on holidays (endogeneity, demand driving spend), heavy velvet curtains were hung halfway through week 70 changing the hall's acoustics (pandemic structural break), and one microphone cable started dropping signal mid-run (privacy measurement error like Apple's ATT).
Why does a naive linear or OLS grid-search MMM fail here? First, fitting ~35 non-linear carryover, saturation, seasonal, and holiday parameters on 156 rows (~4.5 weeks per parameter) lets dozens of wildly different channel attributions achieve nearly identical R^2. Second, at corr(TV, Search) = 0.90, the variance of how credit splits (b_TV - b_S) is 19 times larger than the variance of their combined lift (b_TV + b_S), while demand-driven Search spend and unlagged promotion spikes severely overstate short-term lower-funnel channels. Third, pooling weeks 1–69 and 70–156 averages pre-pandemic and post-pandemic behavior, and optimizing budgets on point-estimate average ROI instead of posterior marginal ROI (the return on the next dollar) chases statistical mirages. Instead, a production-grade Bayesian MMM isolates exogenous variation via causal graphs, anchors channel splits and post-ATT efficiency with randomized geo-lift experiments, partially pools parameters across the week-70 regime break, nets out post-promotion dips, and evaluates every budget shift across full posterior draws.
Let's walk through a concrete 3-step numeric trace showing how collinearity, geo-test calibration, and marginal-ROI uncertainty interact on TV vs. Search:
1. Collinearity split vs. sum (n = 156 weeks, corr(TV, Search) = 0.90):
Var(b_TV + b_S) = 1.05 * sigma^2 / n (total lift of TV + Search is tightly pinned down)
Var(b_TV - b_S) = 20.00 * sigma^2 / n (split between TV and Search has 19x higher variance!)
2. Geo-test Bayesian calibration (anchoring TV with a randomized market holdout):
Observational MMM TV ROI: 1.75 +- 0.75 (precision 1/0.5625 = 1.78)
Randomized Geo-Test ROI: 0.85 +- 0.25 (precision 1/0.0625 = 16.00)
Calibrated Posterior ROI: (1.75*1.78 + 0.85*16.00) / 17.78 = 0.94 +- 0.24
3. Average vs. Marginal ROI on TV Hill curve lift(x) = 500k * x / (x + 200k) at x = $200k/wk:
Average ROI = $250k / $200k = 1.25 (looks profitable overall!)
Marginal ROI = d(lift)/dx = 0.625 (next $1 only returns 62.5 cents -> trim TV!)
Shifting $50k/wk TV -> Search across negatively correlated posterior draws:
Mean gain = +$4.3k/wk, 90% CI = [-$24k, +$33k], P(gain > 0) = 59% -> run a 2x2 geo test first!
Key points
- Audit identifiability before fitting.
156weeks across ~35parameters,0.90TV/Search correlation (VIF1 / (1 - r^2) = 5.26), endogenous demand-driven spend, <2post-pandemic seasonal cycles, and autocorrelated errors mean regularization and experimental priors are mandatory for causal attribution. - Control for confounders, never mediators. Demand shocks inflate Paid Search (
0.20true effect ->1.00naive estimate in our worked example). Add external demand proxies (illness/flu activity, weather, macro trends); use organic search query volume to close the demand back-door for Paid Search, while modelingTV -> Brand Queries -> Salesstructurally so conditioning on queries does not strip away TV's upper-funnel credit. - Resolve multicollinearity with experimental priors and geo hierarchies, never LASSO. Informative Bayesian priors and geo-level Hierarchical Bayesian MMMs (which exploit cross-DMA spend-ratio differences via partial pooling) resolve the TV/Search split; Ridge (
L2) shares credit smoothly while shrinking toward zero; LASSO (L1) arbitrarily drops one correlated channel and destabilizes budget plans. - Constrain adstock and saturation jointly. Match adstock (carryover memory) to channel mechanics — short geometric decay for Search/Email, delayed/Weibull decay for TV — followed by Hill saturation (
a^alpha / (a^alpha + K^alpha)), estimating transform parameters with informative priors in one Bayesian model rather than overfitting via OLS grid search. - Model the week-70 pandemic break explicitly. Confirm structural change using a HAC (Newey-West) Chow test (robust to weekly residual autocorrelation), allow baseline level/trend shifts at week
70, and partially pool pre- and post-break media slopes (beta_post = beta_pre + delta) so post-break behavior governs current ROI without discarding seasonal signal. - Net out promotions and post-ATT shifts. Model category-wide sales with continuous discount depth and
1–2post-promotion lags so stockpiling and cross-SKU cannibalization are subtracted (+350net vs+1,000raw spike), use clean first-party sales and invoice spend/sends to avoid attenuation bias (noisy predictors shrinking toward zero), and allow a post-ATT Display effectiveness shift where loss of cross-app tracking weakened ad-network targeting. - Validate rigorously and optimize marginal ROI under uncertainty. Validate with rolling post-break out-of-time forecasts, held-out geo-lift alignment, prior/posterior predictive checks, and synthetic parameter recovery on the real
0.90-correlated spend matrix; allocate budgets using marginal ROI within historical spend bounds and act aggressively only where posteriorP(gain > 0)is high.
Common mistakes
- Interpreting individual OLS coefficients on
0.90-correlated channels at face value. BecauseCorr(b_TV, b_S) = -0.90, an apparent "TV ROI = 3.0, Search ROI = 0.1" split is often pure estimation noise around a well-identified sum. - Using LASSO feature selection to "clean up" collinear media channels. Zeroing out Search or TV because L1 arbitrarily picked its correlated twin confuses prediction sparsity with causal zero lift.
- Adding brand search volume as a flat control variable when reading TV ROI. Brand search is a mediator of TV advertising; controlling for it blocks the
TV -> Brand Search -> Salespathway and severely understates TV. - Grid-searching adstock decays and Hill
Kvalues with OLS and reporting final-fit standard errors. Selecting the best of hundreds of non-linear transforms on156weeks overfits noise and pretends transform parameters were known with certainty. - Pooling all 156 weeks with static slopes or using an unconstrained random-walk baseline. Static pooling lets pre-pandemic weeks dominate today's budget, while an overly flexible state-space baseline absorbs real short-term media spikes.
- Modeling promoted-SKU volume with a
0/1promo dummy and no lags. Ignoring post-promo pantry-loading dips and sister-SKU switching makes Margin-destroying promotions look wildly profitable. - Feeding platform-attributed conversions or email "opens" into the MMM across iOS 14.5 / iOS 15. Mid-series tracking breaks create phantom drops (ATT) or phantom spikes (Mail Privacy Protection) that corrupt slopes across correlated channels.
- Optimizing budgets using point-estimate average ROI or extrapolating beyond historical spend. Average ROI hides steep saturation at current spend, and posterior mean optimization ignores the huge variance of
(-loss_TV + gain_Search)under negative posterior correlation.
Follow-up questions
- Suppose a randomized geo-holdout study estimates television ROI at 0.85 +/- 0.25, whereas your historical MMM reports 1.75 +/- 0.75. How do you reconcile that gap? First enforce an apples-to-apples comparison: run the geo study's exact market footprint, flight weeks, carryover window, and spend change through the MMM's Hill-adstock response function so you compare incremental lift at the same operating point rather than historical average ROI. If the gap persists, treat the randomized experiment as the causal benchmark — in observational time series, linear TV routinely absorbs credit from unmodeled seasonal surges or
0.90-correlated Paid Search. Refit the Bayesian MMM with the geo study (0.85 +- 0.25) entered as an exact counterfactual likelihood term (pulling the calibrated posterior to roughly0.94 +- 0.24) and verify where the displaced credit lands across baseline seasonality and Paid Search. - What experimental design would let you directly untangle the 0.90 correlation between linear TV and paid search? Group comparable, geographically separated DMAs into matched blocks of
4and randomize within each block across a 2x2 factorial geo experiment over a6-week flight (plus a carryover readout):(Baseline vs. Heavy-up Local Spot TV) x (Baseline vs. Holdout Paid Search). Across those four treatment cells, TV and Paid Search variations are strictly orthogonal (corr = 0.0by construction), isolating TV's standalone effect, Paid Search's standalone effect, and their multiplicative interaction / halo term (TV * Search) while powering on pre-period-adjusted market variance. - On what cadence would you refit this model, and how do you keep quarterly budget guidance from swinging wildly between refreshes? Refit on a quarterly or post-season schedule (or when a major geo lift study concludes) rather than running weekly refits that chase short-term noise. Ground informative priors in cumulative experimental lift studies — never feed last quarter's posterior directly in as next quarter's prior over overlapping weeks, which double-counts history and artificially shrinks credible intervals. Version-control data snapshots, priors, and curve specifications, and publish an attribution bridge (
new weekly datavs.new geo-experiment calibrationvs.specification changes) so stakeholders understand every shift in recommended spend.
Follow-up questions
- Suppose a randomized geo-holdout study estimates television ROI at 0.85 +/- 0.25, whereas your historical MMM reports 1.75 +/- 0.75. How do you reconcile that gap?
- What experimental design would let you directly untangle the 0.90 correlation between linear TV and paid search?
- On what cadence would you refit this model, and how do you keep quarterly budget guidance from swinging wildly between refreshes?
Similar questions
- Leak-Free Subscription Classification Pipeline
- 30-Day Readmission Modeling with Sparse Features and Rare Positives
- NumPy R-Squared Scorer and Unscaled vs. Standardized PCA
- Grounding Clinical Note Summaries and Detecting Rare Hallucinations
- Cost-Sensitive Fraud Cutoff Tuning and Loss Modeling
- Summarizing Imaging Claims Spend and Fiscal Months
More CVS Health interview questions
- Multi-Channel Flu Vaccination Experiment Design Hard
- Designing and Measuring a Geo-Targeted TV Vaccination Campaign Hard
- Customer Order Joining, Pivoting, and High-Value Tagging Medium Pro
- User and Order Deduplication with Purchase Bucket Shares Medium Pro
- Summarizing Imaging Claims Spend and Fiscal Months Medium Pro
- Leak-Free Subscription Classification Pipeline Medium Pro
- Annual Subscription Share and Cohort YoY Metrics Medium Pro
- A/B Conversion Inference and Power Sizing Medium Pro
- Specialty Claim Shares and Top Age Bands Easy Pro
- Seven-Day Customer Spend View and Catalog Updates Medium Pro