Treten Sie der neuen
Discord-Community bei. Sie können sich dort in Echtzeit austauschen, Unterstützung von anderen Nutzern erhalten und direkt mit dem Meridian-Team interagieren.
Media – Übersättigung und Verzögerung
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In der Regel ist die Wirkung eines Media-Channels auf den Umsatz verzögert und nimmt mit der Zeit langsam ab. Die Modellarchitektur von Meridian ist darauf ausgelegt, diesen Effekt mithilfe einer geometrischen Abklingfunktion (Adstock-Funktion) zu erfassen. Weitere Informationen finden Sie unter A Hierarchical Bayesian Approach to Improve Media Mix Models Using Category Data und Bayesian Methods for Media Mix Modeling with Carryover and Shape Effects.
Adstock-Funktion
Die Adstock-Funktion ist so definiert:
$$
\text{AdStock}(x_t, x_{t-1}, \cdots, x_{t-L};\ \alpha)\ =
\dfrac{\sum\limits_{s=0}^L\ \alpha^sx_{t-s}}
{\sum\limits _{s=0}^L\ \alpha^s}
$$
Dabei gilt:
\(x_s \geq 0; s = t, t-1, \cdots, t-L\)
\(\alpha\ \in\ [0, 1]\) ist die geometrische Abklingrate.
\(L\) ist die maximale Verzögerungsdauer.
Es ist auch intuitiv, dass mit steigenden Ausgaben für einen bestimmten Media-Channel in einem bestimmten Zeitraum der Grenz-ROI mit der Zeit sinkt, z. B. aufgrund von Sättigung. Meridian modelliert diesen Sättigungseffekt mit einer Funktion mit zwei Parametern, der sogenannten Hill-Funktion.
Hill-Funktion
Die Hill-Funktion ist so definiert:
$$
\text{Hill}(x; ec, \text{slope}) = \frac{1}{1+\left( \frac{x}{ec} \right)^
{- \text{slope}}}
$$
Dabei gilt:
\(x \geq 0\)
\(ec > 0\) ist der Halbsättigungspunkt, was bedeutet, dass\(\text{Hill}(x=ec; ec, \text{slope}) = 0.5\)
\(\text{slope} > 0\) ist ein Parameter, der die Form der Funktion steuert:
- \(\text{slope} \leq 1\) entspricht einer konkaven Form.
- \(\text{slope} > 1\) entspricht einer S-förmigen Funktion, die für \( x < ec \) konvex und für \( x > ec \)konkav ist.
Wichtig: Die Schätzung der Hill-Funktionsparameter durch das Modell basiert auf dem beobachteten Bereich der Media-Daten. Die angepasste Reaktionskurve kann außerhalb dieses Bereichs extrapoliert werden. Ergebnisse, die auf Extrapolation beruhen, sollten jedoch mit angemessener Vorsicht interpretiert werden.
Die Hill-Funktion kann je nach booleschem hill_before_adstock
-Argument der ModelSpec
entweder vor oder nach der Adstock-Transformation angewendet werden. Die Standardeinstellung ist hill_before_adstock = False
. In diesem Fall ist der Media-Effekt von Channel \(m\) in der geografischen Einheit \(g\) im Zeitraum \(t\)gleich\(\beta_{g,m} \text{Hill}(\text{Adstock}(x_t,x_{t-1},\cdots,x_{t-L};\ \alpha_m)
;ec_m, \text{slope}_m)\).
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-04 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-04 (UTC)."],[[["\u003cp\u003eMeridian utilizes an Adstock function to model the lagged and tapering effects of media channels on sales.\u003c/p\u003e\n"],["\u003cp\u003eThe Hill function is employed to capture the diminishing marginal returns, or saturation, of media spending.\u003c/p\u003e\n"],["\u003cp\u003eThe Hill function can be applied before or after the Adstock transformation, offering flexibility in modeling media effects.\u003c/p\u003e\n"],["\u003cp\u003eThe model estimates parameters based on observed data, and extrapolation beyond this range requires caution in interpretation.\u003c/p\u003e\n"],["\u003cp\u003eDetails on the Adstock and Hill functions, including formulas and parameter explanations, are provided within the content.\u003c/p\u003e\n"]]],["Meridian's model captures the lagged effect of media on sales using a geometric decay Adstock function, defined by decay rate (α) and maximum lag (L). It also accounts for diminishing returns through the Hill function, characterized by half saturation point (ec) and slope. The Hill function can be applied before or after the Adstock transformation, defaulting to after. The model estimates Hill function parameters based on the observed media data range.\n"],null,["The effects of media execution on KPI are governed by two mechanisms: a lagged\neffect and a saturation effect. Lagged effects refer to the way in which the\neffect of a media channel on KPI has a lagged effect that tapers off slowly\nover time. Saturation effects refer to diminishing marginal returns with\nincreased media execution.\n\nAdstock function\n\nMeridian's model architecture is designed to capture lagged effects\nthrough an Adstock function.\n\nIn the Adstock function, the cumulative media effect at time \\\\(t\\\\) is a\nweighted average of media execution at times \\\\(t, t-1, ..., t-L\\\\) with weights\ndetermined by a weight function \\\\(w(s; \\\\alpha)\\\\). Here, \\\\(L\\\\) is the maximum\nduration of the lagged effect.\n\nMeridian offers the Adstock function with two weight functions\n\\\\(w(s; \\\\alpha)\\\\): `geometric` and `binomial`. For more details on the\nfunctions, see [Set the adstock_decay_spec\nparameter](/meridian/docs/advanced-modeling/set-adstock-decay-spec-parameter).\nFor more information on the Adstock function, see [A Hierarchical Bayesian\nApproach to Improve Media Mix Models Using Category\nData](//research.google/pubs/a-hierarchical-bayesian-approach-to-improve-media-mix-models-using-category-data/)\nand [Bayesian Methods for Media Mix Modeling with Carryover and Shape\nEffects](//research.google/pubs/bayesian-methods-for-media-mix-modeling-with-carryover-and-shape-effects/).\n\nThe Adstock function is defined as follows: \n$$ \\\\text{Adstock}(x_t, x_{t-1}, \\\\cdots, x_{t-L};\\\\ \\\\alpha)\\\\ = \\\\dfrac{\\\\sum\\\\limits_{s=0}\\^L\\\\ w(s; \\\\alpha)x_{t-s}} {\\\\sum\\\\limits _{s=0}\\^L\\\\ w(s; \\\\alpha)} $$\n\nwhere:\n\n- \\\\(w(s; \\\\alpha) \\\\) is the [decay function](/meridian/docs/advanced-modeling/set-adstock-decay-spec-parameter)\n\n- \\\\(x_s \\\\geq 0\\\\) is media execution at time \\\\(s\\\\)\n\n- \\\\(\\\\alpha\\\\ \\\\in\\\\ \\[0, 1\\]\\\\) is the decay parameter\n\n- \\\\(L\\\\) is the maximum lag duration.\n\nHill function\n\nMeridian's model architecture is designed to capture saturation effects\nthrough a Hill function.\n\nIt is intuitive that as spending on a given media channel within any given\ntime period increases, you eventually see diminishing marginal returns, for\nexample, saturation. Meridian models this\nsaturation effect through a two-parameter function known as the Hill function.\n\nThe Hill function is defined as follows: \n$$ \\\\text{Hill}(x; ec, \\\\text{slope}) = \\\\frac{1}{1+\\\\left( \\\\frac{x}{ec} \\\\right)\\^ {- \\\\text{slope}}} $$\n\nwhere:\n\n- \\\\(x \\\\geq 0\\\\)\n\n- \\\\(ec \\\u003e 0\\\\) is the half saturation point, meaning that \\\\(\\\\text{Hill}(x=ec;\n ec, \\\\text{slope}) = 0.5\\\\)\n\n- \\\\(\\\\text{slope} \\\u003e 0\\\\) is a parameter that controls the function shape:\n\n - \\\\(\\\\text{slope} \\\\leq 1\\\\) corresponds to a concave shape\n - \\\\(\\\\text{slope} \\\u003e 1\\\\) corresponds to an *S* shaped function that is convex for \\\\( x \\\u003c ec \\\\) and concave for \\\\( x \\\u003e ec \\\\).\n\n**Important:** The model's estimation of the Hill function parameters is based\non the observed range of media data. The fitted response curve can be\nextrapolated outside this range, but results based on extrapolation should be\ninterpreted with an appropriate level of caution.\n\nThe Hill function can be applied either before or after the Adstock\ntransformation, depending on the boolean `hill_before_adstock` argument of the\n`ModelSpec`. The default setting is `hill_before_adstock = False`, which makes\nthe media effect of channel \\\\(m\\\\) within geo \\\\(g\\\\) and time period \\\\(t\\\\)\nequal to \\\\(\\\\beta_{g,m} \\\\text{Hill}(\\\\text{Adstock}(x_t,x_{t-1},\\\\cdots,x_{t-L};\\\\\n\\\\alpha_m) ;ec_m, \\\\text{slope}_m)\\\\)."]]