---
title: Mediation Analysis Synthetic Control
url: https://www.emergentmind.com/topics/mediation-analysis-synthetic-control-masc
type: topic
---

# Mediation Analysis Synthetic Control

Searching arXiv for the specified paper to ground the article in the source record.
arxiv_search.query({"search_query":"id:1909.12073","start":0,"max_results":5})
arxiv_search.query returned:
{
  "count": 1,
  "total": 1,
  "items": [
    {
      "id": "http://arxiv.org/abs/1909.12073v1",
      "arxiv_id": "1909.12073",
      "title": "Mediation Analysis Synthetic Control",
      "authors": [
        "Giuseppe Mellace",
        "Leonardo Pasquini"
      ],
      "published": "2019-09-26T20:54:13Z",
      "updated": "2019-09-26T20:54:13Z",
      "categories": [
        "econ.EM",
        "econ.ME",
        "stat.AP"
      ],
      "summary": "The synthetic control method (SCM) allows estimating the causal effect of an intervention in settings where panel data on a small number of treated and control units are available. We show that the existing SCM, as well as its extensions, can be easily modified to estimate how much of the ``total'' effect goes through observed causal channels. Our new mediation analysis synthetic control (MASC) method requires additional assumptions that are arguably mild in many settings. We illustrate the implementation of MASC in an empirical application estimating the direct and indirect effects of an anti-smoking intervention (California's Proposition 99)."
    }
  ]
}
Mediation Analysis Synthetic Control (MASC) is a modification of the synthetic control method (SCM) designed to estimate how much of a treatment’s total effect operates through observed causal channels in panel-data settings with a small number of treated and control units. Introduced by Giuseppe Mellace and Leonardo Pasquini, MASC extends the SCM framework of Abadie, Diamond, and Hainmueller to mediation analysis by combining standard synthetic-control identification with an additional mediator-overlap requirement. In the formulation presented by Mellace and Pasquini, the method targets total, natural direct, and natural indirect effects for a treated unit observed over time, and is illustrated through an application to California’s Proposition 99 anti-smoking intervention [1909.12073].

## 1. Origins and analytical scope

MASC is proposed for settings in which panel data are available on a single treated unit and a donor pool of untreated units, and where the analyst seeks not only the overall causal effect of an intervention but also the extent to which that effect passes through an observed mediator. The motivating claim is that “the existing SCM, as well as its extensions, can be easily modified to estimate how much of the ‘total’ effect goes through observed causal channels” [1909.12073].

The method is explicitly situated within the SCM tradition. In this setting, SCM is used to reconstruct the untreated path of the treated unit by forming a convex combination of donor units. MASC preserves that logic for the total effect and adds a second synthetic-control construction intended to recover the counterfactual outcome under no treatment while forcing the mediator to its treated value. This yields a decomposition of the total effect into direct and indirect components.

A plausible implication is that MASC is most relevant when the substantive question concerns policy mechanisms rather than only policy impact. The framework is therefore not merely an effect-estimation procedure; it is a channel-decomposition procedure built on synthetic controls.

## 2. Panel-data setup and potential-outcome notation

The formal setup assumes panel data on \(J\) units \(i=1,\dots,J\) over periods \(t=1,\dots,t'\), with unit \(i=1\) as the only treated unit and units \(i=2,\dots,J\) forming the donor pool [1909.12073]. The intervention indicator \(D_{it}\in\{0,1\}\) switches on for unit 1 at time \(T\) and remains on thereafter: for \(t<T\), \(D_{1t}=0\); for \(t\ge T\), \(D_{1t}=1\).

The observed variables include a time-varying mediator \(M_{it}\) and an outcome \(Y_{it}\). The method uses the potential-outcome notation
\[
M_{it}(d)
\]
for the mediator at time \(t\) if \(D_{it}=d\), and
\[
Y_{it}(d,m)
\]
for the outcome at time \(t\) if \(D_{it}=d\) and the mediator is forced to \(m\) [1909.12073].

Under SUTVA and no “anticipation,” the observed mediator and outcome satisfy
\[
M_{it}=M_{it}(0)\,(1-D_{it})+M_{it}(1)\,D_{it},
\]
and
\[
Y_{it}=Y_{it}\bigl(D_{it},\,M_{it}(D_{it})\bigr).
\]

This setup is the basis for the post-intervention counterfactuals that MASC seeks to estimate. One counterfactual corresponds to the treated unit under no treatment and its untreated mediator path; another corresponds to the treated unit under no treatment but with the mediator forced to its treated value. The latter is the critical object for separating direct from indirect effects.

## 3. Identification conditions

MASC inherits the standard SCM assumptions for the total effect and introduces an additional condition for mediation analysis. The first set of conditions concerns the untreated potential outcome \(Y_{1t}(0,M_{1t}(0))\). The exposition states that all unobserved confounders admit an interactive-fixed-effects representation common to treated and controls, or equivalently that there exists a convex-weight vector \(L^*=(\ell_2^*,\dots,\ell_J^*)\), with nonnegative elements summing to 1, such that for every \(t\ge T\),
\[
Y_{1t}(0,\,M_{1t}(0))
\;=\;\sum_{j=2}^J \ell_j^*\,Y_{jt},
\]
and the same \(L^*\) exactly balances pre-intervention outcomes and covariates [1909.12073].

The additional MASC assumption concerns the counterfactual \(Y_{1t}(0,M_{1t}(1))\). For each \(t\ge T\), there must exist a weight vector \(W_t^*=(w_{2,t}^*,\dots,w_{J,t}^*)\), again in the simplex, such that
\[
\sum_{j=2}^J w_{j,t}^*\,M_{j,t}(1)\approx M_{1t}(1)
\quad\text{and}\quad
\sum_{j=2}^J w_{j,t}^*\,X_j=X_1,\;\sum_{j=2}^J w_{j,t}^*\,Y_{j,s}=Y_{1,s}\;(s<T).
\]
This is termed “mediator overlap” [1909.12073].

The paper characterizes mediator overlap as directly checkable by plotting treated versus synthetic mediators. This condition is central because the direct-effect synthetic control requires donor units whose post-treatment mediator trajectories lie close to the treated unit’s mediator under treatment. If such overlap is absent, the direct-effect counterfactual is not well reconstructed.

A plausible implication is that MASC is more credible when treatment-induced mediator values remain within the empirical support of the donor pool. The exposition makes this explicit in its limitations: if \(M_{1t}(1)\) is an extreme outlier, the synthetic \(W_t^*\) will not exist or will fit poorly [1909.12073].

## 4. Causal estimands and decomposition

MASC focuses on three post-\(T\) causal estimands for the treated unit. The total effect is
\[
\alpha_{1t}
=Y_{1t}(1,M_{1t}(1))\;-\;Y_{1t}(0,M_{1t}(0)).
\]

The natural direct effect, holding the mediator at its treated value, is
\[
\theta_{1t}\;=\;Y_{1t}\bigl(1,M_{1t}(1)\bigr)\;-\;Y_{1t}\bigl(0,M_{1t}(1)\bigr).
\]

The natural indirect effect, changing the mediator from \(M(0)\) to \(M(1)\) under no treatment, is
\[
\delta_{1t}
=Y_{1t}\bigl(0,M_{1t}(1)\bigr)\;-\;Y_{1t}\bigl(0,M_{1t}(0)\bigr).
\]

By definition,
\[
\alpha_{1t}=\theta_{1t}+\delta_{1t}.
\]
All three definitions are given explicitly in the MASC exposition [1909.12073].

The decomposition separates the effect of treatment that does not operate through the observed mediator from the effect transmitted through that mediator. In this formulation, the direct effect compares two states with the same mediator value \(M_{1t}(1)\), while the indirect effect isolates the change arising from moving the mediator from its untreated value to its treated value under no treatment.

The exposition also identifies an alternative decomposition,
\[
\alpha_{1t}=\delta_{1t}(1)+\theta_{1t}(M_{1t}(0)),
\]
described as the “mediated effect under treatment,” but states that identifying this decomposition demands more treated units and a linearity assumption on the treatment–mediator interaction [1909.12073]. This marks a boundary of the baseline MASC framework rather than an implemented component of it.

## 5. Synthetic-control construction and estimation workflow

For the total effect, MASC constructs a standard SCM using pre-intervention predictors
\[
\Omega_1^\alpha=(X_1,\;Y_{1,1},\dots,Y_{1,T-1},\;M_{1,1},\dots,M_{1,T-1}),
\]
with \(\Omega_0^\alpha\) denoting the donor-pool matrix whose \(j\)th row is \((X_j,Y_{j,1},\dots,M_{j,T-1})\) [1909.12073]. The weights are chosen by solving
\[
L^*=\arg\min_{L\in\Delta^{J-1}}
\bigl\|\Omega_1^\alpha- L\,\Omega_{0}^\alpha\bigr\|_V,
\]
subject to \(L\ge0\) and \(\sum L=1\), where \(\|\cdot\|_V\) is a weighted Euclidean norm and \(V\) is chosen by cross-validation. The resulting untreated counterfactual is estimated as
\[
\hat Y_{1t}(0,M_{1t}(0))=\sum_{j=2}^J\ell_j^*\,Y_{jt},
\]
yielding the estimated total effect
\[
\hat\alpha_{1t}=Y_{1t}-\hat Y_{1t}(0,M_{1t}(0)).
\]

For the direct effect, MASC constructs a separate synthetic control for each post-treatment period. For each \(t\ge T\), the predictors are
\[
\Omega_1^{\theta_t}=(X_1,\;Y_{1,1},\dots,Y_{1,T-1},\;M_{1,1},\dots,M_{1,T-1},\;M_{1t}),
\]
with an analogous donor-pool matrix \(\Omega_{0}^{\theta_t}\) [1909.12073]. The optimization is
\[
W_t^*=\arg\min_{W\in\Delta^{J-1}}
\bigl\|\Omega_1^{\theta_t}- W\,\Omega_{0}^{\theta_t}\bigr\|_V,
\]
while enforcing pre-\(t\) balance in \(\{X,Y_{s<T},M_{s<T}\}\) and post-\(t\) fit in the mediator \(M_t\). The counterfactual under no treatment and treated mediator is then
\[
\hat Y_{1t}(0,M_{1t}(1))=\sum_{j=2}^J w_{j,t}^*\,Y_{jt},
\]
so that
\[
\hat\theta_{1t}=Y_{1t}-\hat Y_{1t}(0,M_{1t}(1)),
\qquad
\hat\delta_{1t}=\hat\alpha_{1t}-\hat\theta_{1t}.
\]

The algorithmic outline in the exposition is as follows [1909.12073]:

1. Select donor pool: exclude any unit affected by treatment or with large idiosyncratic shocks.  
2. Choose covariates \(X_i\) and pre-treatment lags of \((Y,M)\).  
3. Cross-validate to pick \(V\) for total effect, solve for \(L^*\), compute \(\hat\alpha_{1t}\).  
4. For each post-\(t\ge T\): append the treated mediator \(M_{1t}\) to predictors; solve for \(W_t^*\) with balanced pre-\(t\) and post-\(t\) mediator; compute \(\hat\theta_{1t}\) and \(\hat\delta_{1t}\).  
5. Regularization: the ridge-type penalty \(V\) can be tuned to avoid overfitting.

This structure shows that MASC is not a single optimization problem but a two-stage procedure: one SCM for the total effect and one period-specific SCM for the direct effect. The indirect effect is then obtained residually from the decomposition identity.

## 6. Inference and uncertainty

The proposed inferential strategy relies on placebo analysis. The exposition specifies “placebo (in-place and out-of-place) tests,” in which MASC is re-applied while pretending that each donor unit is treated, producing pseudo-effects and pre-\(t\) RMSPE values [1909.12073].

Placebos whose pre-\(t\) RMSPE exceeds \(n\times\) that of unit 1 are excluded. The p-value is then approximated by the fraction of retained placebos whose post-\(t\) effect is at least as large as the estimated \(\hat\alpha_{1t}\), \(\hat\theta_{1t}\), or \(\hat\delta_{1t}\), depending on the estimand under consideration [1909.12073].

The exposition notes that bootstrap or permutation methods, including work by Chernozhukov et al. (2018) and Guan (2021), may be used but require more structural assumptions. It also states that inference via placebos is inherently conservative and relies on the assumption that donor units are “exchangeable” in the absence of treatment [1909.12073].

A plausible implication is that uncertainty assessment in MASC inherits the design-based logic commonly associated with SCM, but the mediation setting adds an additional layer of sensitivity because the direct-effect estimator depends on post-treatment mediator matching as well as pre-treatment outcome matching.

## 7. Proposition 99 application, extensions, and limitations

The empirical application concerns California’s Proposition 99, described as a 1988 excise tax plus media campaign on cigarettes [1909.12073]. The outcome \(Y\) is per-capita annual cigarette consumption in packs, and the mediator \(M\) is retail price per pack, defined as tax plus price. The donor pool for the total-effect SCM consists of 38 states with no large tobacco programs and similar pre-treatment trends, whereas the donor pool for the direct-effect SCM consists of 45 states, including some high-tax states in order to match post-treatment \(M(1)\). The predictors \(X\) are log GDP per capita, share age 15–24, per-capita beer consumption, plus pre-treatment \((Y,M)\) [1909.12073].

The reported results for selected years from 1989 to 2000 are:

| Year | Total effect | Direct effect | Indirect effect |
|---|---|---|---|
| 1989 | \(-7.10\) \((p=0.22)\) | \(-7.17\) \((p=0.31)\) | \(+0.06\) \((p=1.00)\) |
| 1992 | \(-15.05\) \((p<0.01)\) | \(-10.49\) \((p=0.25)\) | \(-4.56\) \((p=0.38)\) |
| 1995 | \(-28.23\) \((p<0.01)\) | \(-16.77\) \((p=0.13)\) | \(-11.46\) \((p<0.01)\) |
| 2000 | \(-31.59\) \((p<0.05)\) | \(-17.28\) \((p=0.13)\) | \(-14.31\) \((p<0.01)\) |

The accompanying interpretation is threefold: in early years the decrease in consumption is almost entirely “direct”; over time the “indirect” effect via higher prices grows and becomes highly significant by 1995 onward; and by 2000 roughly half of the total reduction, approximately 14.3 of 31.6 packs, is attributable to the price rise alone [1909.12073].

The exposition also lists several extensions. For multiple mediators \(M^{(1)},\dots,M^{(K)}\), \(\Omega^{\theta_t}\) can be expanded to include all post-\(t\) mediators and a single joint SCM can be solved. For high-dimensional predictors, MASC can be combined with Penalized SCM or with factor-augmented SCM. For dynamic mediation, \(Y_{it}\) may be allowed to depend on the entire past history \(\{M_{i,s<T}\}\) [1909.12073].

The limitations are equally explicit. MASC requires post-\(t\) overlap in the mediator. If \(M_{1t}(1)\) is an extreme outlier, the synthetic \(W_t^*\) will not exist or fit poorly. Identification of the alternative decomposition involving the “mediated effect under treatment” requires more treated units and a linearity assumption on the treatment–mediator interaction. Inference via placebos is conservative and depends on exchangeability of donor units in the absence of treatment [1909.12073].

In the formulation given by Mellace and Pasquini, MASC therefore functions as a conceptually simple and practically implementable extension of SCM to mediation analysis in panel-data settings with few treated units. Under the standard SCM factor-model assumptions plus a mild mediator-overlap condition, it consistently recovers natural direct and indirect effects and thereby isolates the causal channels through which policies operate [1909.12073].

Source: https://www.emergentmind.com/topics/mediation-analysis-synthetic-control-masc