Skip to Content

Direct Effects Analysis

Direct Effects on Target Report

We now return to our marketing example for good and utilize Likelihood Matching to estimate the Direct Effect of each driver variable on the Target Node Sales\mathit{Sales}.

  • In Validation Mode F5, select Menus > Analysis > Report > Target > Direct Effects on Target.

For each driver, the Direct Effects on Target report automatically adjusts for all Confounders. In Observation Mode, it does this by Likelihood Matching. We designated the five downstream variables as Non-Confounders during model setup. They belong to Non_Confounder\mathrm{Non\_Confounder} and can respond when a marketing driver varies.

The report resembles a regression table. Each Direct Effect is the local slope of the target mean with respect to a driver mean at its reference value. A slope can summarize a nearly straight curve over a wider range. In the three-node Simpson’s Paradox example it also matched the adjusted binary treatment contrast. Here each marketing variable has its own scale and response shape.

Compare Incentives and Sales

Open the webinar’s ACME marketing network, select Incentives\mathit{Incentives} as the driver of Sales\mathit{Sales}, and compare the two reports with no observations. At the same prior incentive mean of 47.0845, Total Effects on Target reports 1.0791 sales units per incentive unit. Direct Effects on Target reports 0.5343. The first describes the association on observing incentives. The second also holds the other advertising decisions and calendar variables designated as Confounders at their reference distributions.

Compare the two response curves on the same axes  to see how the Sales estimates differ at each incentive state. The webinar recording  presents the modeling assumptions, and its on-screen response curves  illustrate the marketing example.

Target Mean Analysis

In this marketing mix example, however, we can make no such assumption. Rather than speculating about the nature of the relationships, we let BayesiaLab estimate the response curves, whatever their shapes might be:

  • Select Menus > Analysis > Visual > Target > Target's Posterior > Curves > Direct Effects.
  • Then, from the options, choose:
  • Click Show Sensitivity Chart, which generates a plot of Sales\mathit{Sales} as a function of each driver variable.

Note that the nodes in the Class Non_Confounder\mathrm{Non\_Confounder} are not included here.

Also, all drivers are represented with their original scales, so Weekday\mathit{Weekday} (Weekday∈{1,…,7}\mathit{Weekday} \in \{1, \ldots, 7\}), Quarter\mathit{Quarter} (Quarter∈{1,…,4}\mathit{Quarter} \in \{1, \ldots, 4\}), and End-of-Month Indicator\mathit{End\text{-}of\text{-}Month\ Indicator} (End-of-Month Indicator∈{0,1}\mathit{End\text{-}of\text{-}Month\ Indicator} \in \{0, 1\}) are all squeezed into the leftmost portion of the plot. Later, we will “decompress” the plot by normalizing the drivers’ value range so they all appear on a 0–100 scale.

For now, however, we want to focus on a single driver:

  • Remove all curves by clicking the All Curves checkbox.
  • Select only Incentives\mathit{Incentives}, which leaves one curve.
Target Mean Analysis curve of Sales versus Incentives

The x-values of the points on the curve correspond to the mean values of the discretized states of Incentives\mathit{Incentives}. Given that we discretized Incentives\mathit{Incentives} into 5 bins, we have 5 discrete x-values. The y-values are the expected values of the Target Node Sales\mathit{Sales} at each corresponding x-value of Incentives\mathit{Incentives}.

At each state of Incentives\mathit{Incentives}, Likelihood Matching maintains the marginal distributions of the variables chosen for adjustment. The plotted Sales\mathit{Sales} means are estimates of intervention outcomes to the extent that these choices adequately account for confounding and preserve the causal pathways of interest.

Replicating Target Mean Analysis Step-by-Step

Given the importance of Target Mean Analysis, we now simulate the curve plotting process step by step. We show what is happening in BayesiaLab “behind the scenes” as the curve is plotted using Direct Effects.

  • Select the Monitors of all Confounders.
  • Apply Fix Probabilities to all Confounders.

This “fixed” status is indicated by purple bars in the Monitors of the Confounders.

Note that you must not fix the probabilities of the Non-Confounders. Their Monitor bars have to remain blue. Incentives\mathit{Incentives} and Sales\mathit{Sales}, of course, must remain unfixed as well. The former you will manipulate, and the latter’s response you want to observe.

  • Set Incentives\mathit{Incentives} to each possible state, from the lowest to the highest. Likelihood Matching maintains the distributions of all the Confounders while Sales\mathit{Sales} and the Non-Confounders can respond to the intervention.

To further illustrate this important process, we have extracted the Monitors for Incentives\mathit{Incentives} and Sales\mathit{Sales} from the Monitor Panel above and lined them up side-by-side:

Loading SVG...
Click to Zoom

For instance, given Incentives\mathit{Incentives} in state <=24.343\mathrm{<=24.343}, which has a mean value of 16.070, Sales\mathit{Sales} has a mean value of 285.063 (see leftmost panel). So, the mean values of Incentives\mathit{Incentives} and Sales\mathit{Sales} are the x and y coordinates of the first point on the response curve below. The remaining points on the curve are formed in the same way.

Target Mean Analysis for the Incentives node

Note that this step-by-step approach was only meant to show what BayesiaLab is performing in the background whenever you invoke the Target Mean Analysis plot.

Target Mean Analysis (Direct Effects)

Now that we have explained how the Target Mean Analysis plot is generated, you can let BayesiaLab perform it again automatically for all drivers, similar to what we did in its first run:

  • Select Menus > Analysis > Visual > Target > Target's Posterior > Curves > Direct Effects.

At the time, however, it was difficult to interpret and compare the curves as the marketing variables were all recorded on different scales.

  • In this run, select Normalize in the dialog box, which brings all x-values on a common 0–100 scale.
  • Once the plot appears, deselect the calendar-related variables, i.e., Weekday\mathit{Weekday}, Quarter\mathit{Quarter}, Month\mathit{Month}, and End-of-Month Indicator\mathit{End\text{-}of\text{-}Month\ Indicator}.

We leave them out for now as they are of lesser interest to us; we cannot modify the calendar after all. Later in our analysis, we will assign a special status to them to formally exclude these variables from being optimized.

We can now compare where Sales\mathit{Sales} rises, flattens, or falls across the observed range of each marketing driver. The 0–100 scale expresses position in that driver’s range. For a slope in the driver’s original units, use the Direct Effects report or select Mean for the horizontal axis in Direct Effect Curves.

Response Curve Patterns

What is perhaps most striking in this plot is that many of the curves appear non-linear. Clearly, any assumption of linearity would not have held. Using the Direct Effects on Target Report, which we used earlier to estimate the slope of these curves, did entirely obscure the dynamics we can observe now.

Furthermore, we can derive several important insights from this plot. For instance, the response curve for TV Advertising\mathit{TV\ Advertising} rises quickly around its middle values, peaks, and then declines. Direct Marketing\mathit{Direct\ Marketing} looks like an upside-down U, suggesting that there is a “sweet spot” in terms of marketing exposure. The curve for Print Advertisting\mathit{Print\ Advertisting} looks S-shaped, while the variable Incentives\mathit{Incentives} appears to be exponentially linked to Sales\mathit{Sales}.

The “wild mix” of response curve patterns highlights the inherent difficulty of marketing mix optimization. While the curves themselves may be individually meaningful to a marketing expert, it is far from obvious how much should be allocated to each marketing channel within the constraints of an overall marketing budget.