Sharp Mechanism Bounds, Average Effects, and Inference
The observable inequalities in the preceding post bound the probability mass of stayers whose outcomes change under treatment. Sharpness requires a joint distribution of potential outcomes and mediators that attains the bounds while reproducing the entire observed law. The construction also permits sharp bounds on average direct effects. The exposition below is based on Section 3 and Appendix B.1 of Kwon and Roth (2024).
1. Setup and overlap measures
Maintain consistency, independent treatment assignment with \(0<P(D=1)<1\), and the restriction \(\theta\in R\) from Assumptions A1–A3 of the preceding post. The mediator has finite support \(\{m_0,\ldots,m_{K-1}\}\) and outcomes are real-valued. Write
Let \(\Theta_I\) be the nonempty set of matrices in \(R\) with row margins \(p_{0l}\) and column margins \(p_{1k}\). Write \(\theta\) for the true shares and \(\vartheta\) for a feasible matrix. Define
The Radon–Nikodym theorem applies because \(\lambda\) is finite and dominates all the cell measures. This construction includes atoms and zero-probability cells. The overlap identity established in the preceding post is
For \(Y_d=Y(d,M(d))\), define \(r_k=P(S_{kk},Y_1\ne Y_0)\). Then \(r_k\geq(\theta_{kk}-O_k)_+\). The conditional fraction \(\nu_k=r_k/\theta_{kk}\) is used only when \(\theta_{kk}>0\).
2. Joint sharpness
Theorem 1. Sharp affected-mass bounds. For every \(\vartheta\in\Theta_I\), there exists a joint law of all potential variables and treatment satisfying A1–A3, matching the observed law of \((Y,M,D)\), and having stratum shares \(\vartheta\), such that
The law can be chosen so that treatment has no direct effect at any mediator value for movers, and no direct effect at other mediator values for members of \(S_{kk}\). Consequently, the observed law is compatible with full mediation if and only if
For fixed \(t=\vartheta_{kk}\), at most \(O_k\) units can receive the same outcome in both cells, because their common outcome measure must be dominated by both \(\mu_{0k}\) and \(\mu_{1k}\). Assign the smaller mass \(\min(t,O_k)\) to equal outcome pairs. If \(t>O_k\), use the full overlap \(H_k\) and select residual submeasures \(U_{dk}\leq\mu_{dk}-H_k\) of mass \(t-O_k\). The stayer law is then
The two residual measures are mutually singular, so their product assigns zero mass to equal pairs. Exactly \(t-O_k\) stayers change outcome. When \(t\leq O_k\), a scaled submeasure of \(H_k\) placed on the diagonal suffices.
To allocate the remaining outcomes, let \(L_l\) be the unused control measure in origin cell \(l\) and \(V_k\) the unused treated measure in destination cell \(k\). Their masses are \(p_{0l}-\vartheta_{ll}\) and \(p_{1k}-\vartheta_{kk}\). For each positive off-diagonal share, assign
The row and column sums of \(\vartheta\) make these marginals add back to the unused measures. The appendix verifies the zero-mass cases and completes all potential outcomes under one law.
3. Unknown shares and pooled affected fractions
For each \(k\), the sharp lower bound on the unconditional affected mass is
The function is increasing and continuous in the diagonal share, and compactness gives a minimizing matrix. Theorem 1 then gives attainment. Coordinate bounds can be attained by different matrices; simultaneous attainment across coordinates requires an additional argument, such as Proposition 3 of the preceding post under ordered monotonicity alone.
If \(t_k^{\min}>0\), the sharp lower bound on the conditional fraction is
This follows because \(t\mapsto(1-O_k/t)_+\) is nondecreasing for \(t>0\). If \(t_k^{\min}=0\), a feasible model has no \(k\)-stayers. The unconditional bound is then zero, but the conditional fraction is undefined in that model. Among models with positive stayer mass, its lower bound is instead
provided this set is nonempty. For example, when \(O_k=0\), every such model has \(\nu_k=1\), even if models with zero stayer mass are also feasible.
For pooling across states, put \(T(\vartheta)=\sum_k\vartheta_{kk}\). The total affected mass in the population and the fraction affected among all stayers have sharp lower bounds
For each fixed matrix the lower masses are jointly attainable by Theorem 1, which proves sharpness of both optimizations. The second estimand is defined only for a positive total stayer share. If every feasible matrix has \(T=0\), there is no conditional pooled estimand.
When \(R=\{\vartheta\in\Delta_{K^2-1}:B\operatorname{vec}(\vartheta)\leq b\}\), the first problem is a linear program after introducing variables \(u_k\) satisfying
and minimizing \(\sum_k u_k\). At the minimum for a fixed matrix, \(u_k=(\vartheta_{kk}-O_k)_+\).
For the pooled conditional fraction, the linear-fractional transformation can be written explicitly. Set \(\tau=1/T(\vartheta)\), \(z=\tau\vartheta\), and \(v_k=\tau u_k\). The equivalent program is
The margin equations give \(\sum_{l,k}z_{lk}=\tau\). Since the diagonal sum is one, every feasible point has \(\tau\geq1\), so division by \(\tau\) is valid. Conversely, any feasible point yields \(\vartheta=z/\tau\in\Theta_I\) with \(T(\vartheta)=1/\tau>0\) and \(u=v/\tau\). Both transformations preserve the objective. Thus the two programs have the same infimum even if feasible total stayer shares approach zero.
4. Sharp bounds on average direct effects
Fix a state \(k\) with positive stayer share \(t=\vartheta_{kk}\). Assume
The average direct effect among its stayers is
This is a direct effect because the mediator is the same under both treatments in this stratum. Define the cell distribution \(F_{dk}(y)=\mu_{dk}(( -\infty,y])/p_{dk}\) and its generalized quantile \(Q_{dk}(u)=\inf\{y:F_{dk}(y)\geq u\}\) for \(0<u<1\). Positivity of \(t\) implies \(p_{0k},p_{1k}>0\).
Lemma 2. Trimmed means with atoms. Let \(F\) be a probability distribution on \(\mathbb R\) with finite absolute first moment, and let \(a\in(0,1]\). Among measurable selection rules \(s:\mathbb R\to[0,1]\) satisfying \(\int s\,dF=a\), the smallest and largest selected means are
Both endpoints are attained. Moreover, \(L_F\) is nondecreasing and \(U_F\) is nonincreasing in \(a\).
For the lower endpoint with \(0<a<1\), choose a threshold \(q=Q_F(a)\), select all outcomes below it, and select enough of any atom at \(q\) to obtain mass \(a\). Let \(s_*\) be this rule. Every other rule \(s\) with the same mass satisfies
Below \(q\), both factors in the integrand are nonpositive; above \(q\), both are nonnegative. The selected outcome total is \(\int_0^aQ_F(u)\,du\). The upper-tail rule gives the other endpoint. The appendix supplies the fractional-atom construction, the case \(a=1\), and monotonicity in the selected share.
Proposition 3. Average direct-effect bounds. For a fixed feasible \(\vartheta\) with \(t=\vartheta_{kk}>0\), put \(a_d=t/p_{dk}\). Then
The endpoints are attainable while preserving all observed distributions and the chosen matrix. If \(t_k^{\min}>0\), the sharp bounds with unknown shares result from setting \(t=t_k^{\min}\) in both endpoints.
Proof. In arm \(d\), the stayer outcome submeasure \(T_{dk}\) is dominated by \(\mu_{dk}\) and has mass \(t\). Its Radon–Nikodym derivative with respect to \(\mu_{dk}\) is a selection rule \(s_d\in[0,1]\) with \(\int s_d\,dF_{dk}=a_d\). Lemma 2 bounds its conditional mean. Subtracting the largest control mean from the smallest treated mean gives the lower endpoint; reversing the choices gives the upper endpoint.
For attainment, choose the two extremal submeasures from Lemma 2 and couple them within \(S_{kk}\), for example with their product divided by \(t\). For each other diagonal stratum, choose any dominated submeasures of the required equal mass and couple them. The mover allocation in the proof of Theorem 1 then distributes the residual measures according to \(\vartheta\). Completion of potential outcomes and independent assignment reproduce the observed law. The mean difference depends only on these two marginals.
By Lemma 2 the lower endpoint is nondecreasing in \(t\) and the upper endpoint is nonincreasing. A matrix attaining the positive minimum diagonal share therefore attains each extremal endpoint over \(\Theta_I\). \(\square\)
When zero stayer shares are feasible, optimize these endpoints over matrices with \(\vartheta_{kk}>0\). An infimum or supremum may be approached without attainment, and unbounded outcome support can give infinite bounds.
These are bounds on mean effects under A1–A3, without imposing full mediation or requiring the affected-mass lower bound to be attained. A construction minimizing the number affected need not also minimize or maximize their mean effect. In particular, \(ADE_k=0\) allows offsetting positive and negative effects and is weaker than absence of individual effects.
5. Population restrictions as a linear system
For inference, first suppose that \(Y\) has a known finite support \(\{y_1,\ldots,y_J\}\). Let
and suppose \(R\) is given by \(B\operatorname{vec}(\vartheta)\leq b\) within the simplex. These restrictions are specified before testing. Define \(\mathcal Q_0\) as the set of probability vectors \(q\) for which there exist \(\vartheta\) and slack variables \(s_{kj}\) satisfying
For fixed \(q\), every admissible slack is at least \((q_{1kj}-q_{0kj})_+\). Conversely, these positive parts themselves are admissible if their sum is no larger than the entrant mass. Thus the slack representation is equivalent to the full set of outcome-subset restrictions. Theorem 1 establishes that \(q\in\mathcal Q_0\) is both necessary and sufficient for compatibility with full mediation under the maintained restrictions. This is the formulation in Kwon and Roth, Section 4, equations (9)–(12).
To test the weaker joint hypothesis \(\nu_k\leq\bar\nu_k\) for specified \(0\leq\bar\nu_k\leq1\), replace the last line by
For positive stayer shares this is equivalent to \((\vartheta_{kk}-O_k)_+\leq\bar\nu_k\vartheta_{kk}\); at zero shares the affected-mass restriction is vacuous. The simultaneous construction in Theorem 1 proves sufficiency for these upper-bound hypotheses as well.
6. Sampling uncertainty and moment-inequality inference
Assume now that \((Y_i,M_i,D_i)_{i=1}^n\) are iid draws from the experimental population, with independent Bernoulli assignment of probability \(e\in(0,1)\). Put \(\pi_1=e\), \(\pi_0=1-e\), and \(n_d=\sum_i\mathbf1_{\{D_i=d\}}\). On \(n_d>0\), estimate
The support dimensions are fixed in the following limit calculation. Let \(q_d\) collect the \(KJ\) cell probabilities and \(Z_i\) their vector of cell indicators. Then
Indeed, the exact identity replaces \(1/\pi_d\) on the right by \(n/n_d\); the law of large numbers gives \(n_d/n\xrightarrow{P}\pi_d\), and the centered sum is \(O_p(1)\) by its finite variance. The event of an empty arm has probability tending to zero. The iid multivariate central limit theorem and Slutsky’s theorem yield
The two influence-function blocks have zero covariance because their products vanish and each block has mean zero. A consistent covariance estimate substitutes \(\widehat q_d\) and \(n_d/n\). The simplex constraints make \(\Sigma\) singular, and zero-probability cells can reduce its rank further.
Collecting \(\omega=(\operatorname{vec}(\vartheta)',\operatorname{vec}(s)')'\), and expressing equalities as paired inequalities, the population null has the form
for known matrices and a known vector \(c\). This is the linear-nuisance moment-inequality problem to which the paper applies the methods of Andrews, Roth, and Pakes; Cox and Shi; and Fang, Santos, Shaikh, and Torgovitsky. Their critical values account for the inequality constraints and require the respective regularity conditions. Removing one probability coordinate from each treatment arm resolves the simplex singularities when all cell probabilities are positive.
Directly rejecting whenever \(\widehat q\notin\mathcal Q_0\) has no calibration to a significance level. A binding population restriction can be violated by sampling error with nonvanishing probability. Also, the positive-part map is nondifferentiable when a cell difference is zero, and an optimized bound can be nondifferentiable when the active constraints change. Therefore ordinary standard errors or an ordinary bootstrap of the optimized bound require a justification beyond the preceding central limit theorem.
The sampling unit must match the experiment. For clustered data, asymptotic normality and covariance estimation must be based on independent clusters under suitable cluster-level conditions. The individual-level covariance formula above does not apply to dependent individuals within a cluster.
7. Appendix: a joint potential-outcome law
Proof. Fix \(\vartheta\). We first allocate outcomes to stayers within each mediator state, then allocate all remaining outcomes to movers using this same matrix.
Stayer allocations. Fix \(k\), put \(t=\vartheta_{kk}\) and \(O=O_k\), and suppress \(k\) temporarily. Feasibility gives \(0\leq t\leq\min(p_0,p_1)\). Construct a measure \(\Gamma_{kk}\) on pairs \((y_0,y_1)\) of total mass \(t\).
If \(t\leq O\) and \(O>0\), let \(C=(t/O)H\) and put all of \(C\) on the diagonal:
Both marginals are \(C\leq\mu_d\), and the mass of unequal pairs is zero. If \(t=O=0\), take \(\Gamma_{kk}=0\); no division is needed.
If \(t>O\), let \(a=t-O>0\) and \(R_d=\mu_d-H\). The measures \(R_0,R_1\) have densities \((f_0-f_1)_+\) and \((f_1-f_0)_+\), so they are mutually singular. Their masses are \(p_d-O\geq a\). Set
Here \(\operatorname{diag}(H)\) is the pushforward of \(H\) under \(y\mapsto(y,y)\). Each \(U_d\) has mass \(a\) and is dominated by \(R_d\). Thus \(\Gamma_{kk}\) has mass \(O+a=t\), with marginals \(T_{dk}=H+U_d\leq\mu_{dk}\). The product term has mass \(a\) and gives no mass to equal outcomes: its two marginal measures are concentrated on disjoint measurable sets. Hence the unequal-pair mass is exactly \(a\). In the previous case define \(T_{dk}=C\). The construction therefore gives, in both cases,
Mover allocations. Let \(L_{dk}=\mu_{dk}-T_{dk}\). Its mass is \(p_{dk}-\vartheta_{kk}\). For each \(l\ne k\) with \(\vartheta_{lk}>0\), define two measures of mass \(\vartheta_{lk}\) by
The denominators are positive because their respective row or column sums include \(\vartheta_{lk}\). Set \(\Gamma_{lk}=0\) when \(\vartheta_{lk}=0\). Summing over movers in a row recovers \(L_{0l}\); summing over movers in a column recovers \(L_{1k}\). It follows that
The finitely many measures \(\Gamma_{lk}\) have total mass \(\sum_{l,k}\vartheta_{lk}=1\). Together they define a probability law for a stratum label and a pair \((Y_0,Y_1)\) with exactly the required observed margins.
Completion of potential outcomes. On stratum \(S_{lk}\), set \(M(0)=m_l\) and \(M(1)=m_k\). For a mover \(l\ne k\), assign
At every other mediator value, assign the same fixed outcome from the outcome space under both treatments. For a stayer \(S_{kk}\), assign \(Y(0,m_k)=Y_0\) and \(Y(1,m_k)=Y_1\), again making the two potential outcomes equal at every other mediator value. These assignments are consistent because \(m_l\ne m_k\) for movers.
Finally, draw \(D\) independently of all constructed variables with the observed treatment probability, and impose consistency. The marginal identities above reproduce the joint law of \((Y,M,D)\). The unequal-pair mass in each diagonal stratum gives the asserted \(r_k\), simultaneously for all \(k\).
Necessity of the full-mediation restrictions follows from Proposition 1 of the preceding post. If \(\vartheta_{kk}\leq O_k\) for every \(k\), the construction gives equal outcomes on every positive-mass diagonal stratum, and the completion imposes equality at every mediator value on every other stratum. It therefore satisfies the sharp null. \(\square\)
8. Appendix: trimming with atoms
Proof. Suppose first \(0<a<1\) and let \(q=Q_F(a)\). Then \(F(q-)\leq a\leq F(q)\). Define \(s_*(y)=1\) for \(y<q\), \(s_*(y)=0\) for \(y>q\), and choose
when the denominator is positive. If there is no atom at \(q\), the quantile inequalities imply \(F(q-)=F(q)=a\) and the value at \(q\) is immaterial. Thus \(\int s_*\,dF=a\).
For any other admissible \(s\), \((y-q)(s(y)-s_*(y))\geq0\) pointwise. The equal mass constraints and integrability give
If \(U\) is uniform on \((0,1)\), then \(Q_F(U)\) has distribution \(F\), since \(P(Q_F(U)\leq y)=F(y)\). Selecting \(U\leq a\) induces exactly the rule \(s_*\), including its fractional selection at \(q\). Hence \(\int y s_*\,dF=\int_0^a Q_F(u)\,du\). This proves the lower endpoint and its attainment. Selecting the upper tail, with fractional selection at its boundary atom, proves the upper endpoint by the reversed inequality. For \(a=1\), \(s=1\) almost surely is the only admissible rule and both endpoints equal the mean; no value of \(Q_F\) at zero or one is needed.
If \(0<a<b\leq1\), monotonicity of the quantile implies \(Q_F(u)\geq L_F(a)\) for almost every \(u\in(a,b)\). Therefore \(bL_F(b)=aL_F(a)+\int_a^b Q_F(u)\,du\geq bL_F(a)\). Applying the same argument to the lower tail of \(-Y\) proves that \(U_F\) is nonincreasing. \(\square\)