Tutorials › Econometrics (Graduate) › Shape-Constrained Outcome Models for Counterfactual Bounds

Partial Identification and Sensitivity · Tutorial 823 of 952

Shape-Constrained Outcome Models for Counterfactual Bounds

Use monotonicity, convexity, and outcome-range restrictions to construct and interpret counterfactual mean bounds beyond observed support.

Advanced 12 min read

What You'll Learn

  • Define conditional potential-outcome means and identify where observed data support them.
  • Derive one-sided extrapolation bounds from monotonicity and convexity.
  • Combine shape restrictions with known outcome ranges to obtain finite intervals.
  • Aggregate pointwise bounds over a target covariate distribution.
  • Recognize when shape-based bounds are valid but not necessarily sharp.
  • Check whether proposed shape restrictions fit the observed conditional means.

Why Shape Restrictions Matter Beyond Common Support

A counterfactual mean is often required for covariate values that are rare or absent in the data used to estimate an outcome relationship. Functional-form restrictions can supply extrapolations, but their conclusions depend on how much structure is imposed. Shape restrictions offer a different approach: rather than specifying a complete formula for the outcome function, they constrain its direction or curvature. These restrictions can produce bounds without claiming that a particular linear, quadratic, or other parametric model is correct.

The key is to distinguish what the data identify from what the shape assumption implies. If the covariate values for a target population extend beyond the values observed in a treatment group, that group’s conditional outcome mean is not identified there by the data alone. Monotonicity or convexity can restrict its possible values, but ordinarily cannot determine one unique counterfactual mean.

Setup and Assumptions

Let \(D\in\{0,1\}\) denote treatment, \(X\) a scalar covariate, and \(Y(d)\) the potential outcome under treatment state \(d\). Define the conditional potential-outcome mean

$$ m_d(x)=E[Y(d)\mid X=x]. $$

Suppose the target population has covariate distribution \(F_T\). Its mean potential outcome under state \(d\) is

$$ \mu_d^T=E_T[m_d(X)]=\int m_d(x)\,dF_T(x). $$

This tutorial concerns bounding \(m_d(x)\), and hence \(\mu_d^T\), at covariate values outside the observed support for treatment state \(d\). For an observational interpretation, consistency and conditional exchangeability, \(Y(d)\perp D\mid X\), allow the observed conditional mean in treatment group \(d\) to identify \(m_d(x)\) where \(P(D=d\mid X=x)>0\). That positivity condition may fail outside common support. The examples below treat the conditional means on the observed support as known population quantities, so they isolate the extrapolation problem rather than sampling uncertainty.

Definition: A shape restriction constrains how a function changes over its domain without fixing its exact functional form. A function \(m(x)\) is nondecreasing if \(x_1<x_2\) implies \(m(x_1)\leq m(x_2)\). It is convex if its secant slopes are nondecreasing as intervals move to the right; equivalently, for \(0\leq\lambda\leq1\), \(m(\lambda x_1+(1-\lambda)x_2)\leq\lambda m(x_1)+(1-\lambda)m(x_2)\). Concavity reverses this inequality.

A shape restriction is an assumption about the conditional mean function, not necessarily about every individual’s potential outcome. Its credibility depends on the substantive setting and on the domain over which it is asserted. For example, a mean that rises over the observed covariate range need not continue rising outside that range; nondecreasing behavior beyond the boundary must be justified, not inferred just from a few observed values.

Bounds From Monotonicity

Suppose \(m_d(x)\) is nondecreasing and the right endpoint \(b\) of the observed support has conditional mean \(m_d(b)\). For any target value \(x>b\), monotonicity implies a lower bound:

$$ m_d(x)\geq m_d(b). $$

Monotonicity alone gives no finite upper bound: a nondecreasing function can rise by an arbitrarily large amount after \(b\). If the outcome is known to lie in \([L,U]\), the bounds become \(m_d(x)\leq U\) and \(m_d(x)\geq L\), so the combined interval is \([m_d(b),U]\), provided \(m_d(b)\leq U\). If the function is nonincreasing, the direction reverses: \(m_d(x)\leq m_d(b)\), and an outcome lower bound can provide the other endpoint.

Worked Example: Monotone Bounds for a Target Mean

Consider a hypothetical outcome measured on a scale known to lie between 0 and 30 points. For treatment state \(d\), suppose the observed support ends at \(x=3\), with \(m_d(3)=19\). Assume that \(m_d\) is nondecreasing for all target covariate values. In the target population, 25% have \(X=4\) and 75% have \(X=5\). Find bounds for \(\mu_d^T\).

For each target value, monotonicity gives \(m_d(4)\geq19\) and \(m_d(5)\geq19\). The outcome range gives \(m_d(4)\leq30\) and \(m_d(5)\leq30\). Thus both conditional means lie in \([19,30]\), and their weighted average must also lie in that interval:

$$ \mu_d^T =0.25m_d(4)+0.75m_d(5) \in[0.25(19)+0.75(19),\;0.25(30)+0.75(30)] =[19,30]. $$

The arithmetic uses the target population’s covariate shares; it does not substitute the observed treatment group’s covariate distribution. The lower endpoint is attainable by a function that remains at 19 beyond \(x=3\), and the upper endpoint by one that rises to 30 and then remains there. Both extensions are nondecreasing and respect the outcome range. The example’s bounds are therefore attainable under the stated restrictions.

Convexity and Secant Extrapolation

Convexity can impose more than monotonicity because it restricts how slopes evolve. Suppose \(a<b\) are observed covariate values and \(x>b\). For a convex function, the slope from \(b\) to \(x\) cannot be smaller than the slope from \(a\) to \(b\). Rearranging that restriction gives a lower bound on the extrapolated mean:

$$ \frac{m_d(x)-m_d(b)}{x-b} \geq \frac{m_d(b)-m_d(a)}{b-a} \quad\Longrightarrow\quad m_d(x)\geq m_d(b)+ \frac{m_d(b)-m_d(a)}{b-a}(x-b). $$

This is a linear extrapolation of the last observed secant, but it is a bound implied by convexity, not an assertion that the function is linear. Convexity puts no finite upper bound on the function without further restrictions. If \(m_d\) is also nondecreasing, a valid lower bound can combine the monotonicity and convexity implications:

$$ m_d(x)\geq \max\left\{m_d(b),\; m_d(b)+\frac{m_d(b)-m_d(a)}{b-a}(x-b)\right\}. $$

With a known outcome range \([L,U]\), \(U\) supplies an upper bound. If the convexity extrapolation exceeds \(U\), the assumptions are incompatible at that target value: there is no function satisfying all the restrictions there.

Worked Example: Convexity Tightens a Lower Bound

Suppose hypothetical conditional means on the observed support are \(m_d(1)=10\), \(m_d(2)=14\), and \(m_d(3)=20\). Assume \(m_d\) is nondecreasing and convex beyond these values, and that outcomes lie in \([0,40]\). Bound \(m_d(4)\).

The last two observed secant slopes are

$$ \frac{14-10}{2-1}=4, \qquad \frac{20-14}{3-2}=6. $$

These slopes are increasing, as the observed values require for convexity on these intervals. Convexity requires the slope from 3 to 4 to be at least 6, so

$$ m_d(4)\geq20+6(4-3)=26. $$

Monotonicity alone would only give \(m_d(4)\geq20\). Combining convexity with the outcome range gives

$$ m_d(4)\in[26,40]. $$

Both endpoints are compatible with the assumptions. The value 26 is attained by continuing with slope 6; the value 40 is attained by taking slope 20 from 3 to 4. Either continuation is convex, nondecreasing, and within the outcome range at the target point. The interval is a bound on a conditional mean in outcome units, not a confidence interval.

Concavity Gives an Upper Extrapolation Bound

For a concave function, secant slopes cannot increase as intervals move to the right. Therefore, for \(x>b\),

$$ \frac{m_d(x)-m_d(b)}{x-b} \leq \frac{m_d(b)-m_d(a)}{b-a} \quad\Longrightarrow\quad m_d(x)\leq m_d(b)+ \frac{m_d(b)-m_d(a)}{b-a}(x-b). $$

Concavity thus yields an upper bound, rather than the convexity lower bound. If the mean is also nondecreasing, \(m_d(b)\) is a lower bound. The combination is useful when the observed data show diminishing increases, but it depends on assuming that diminishing increases continue past the observed support. An outcome-range restriction can further tighten either endpoint.

Worked Example: Concavity Bounds a Counterfactual Mean

Suppose hypothetical observed conditional means are \(m_d(1)=10\), \(m_d(2)=16\), and \(m_d(3)=20\). Assume the mean is nondecreasing and concave beyond the observed support, and that the outcome lies in \([0,50]\). Bound \(m_d(4)\).

The observed secant slopes are 6 from 1 to 2 and 4 from 2 to 3. They decrease, consistent with concavity. The next slope cannot exceed the last observed slope, so

$$ m_d(4)\leq20+4(4-3)=24. $$

Nondecreasing behavior gives \(m_d(4)\geq20\); the outcome range does not tighten either endpoint. Hence

$$ m_d(4)\in[20,24]. $$

The lower endpoint is feasible by keeping the mean at 20, which makes the next slope zero; the upper endpoint is feasible by continuing with slope 4. Each extension is nondecreasing and concave. The conclusion is an interval for the counterfactual conditional mean at \(x=4\), not a claim that the mean equals the midpoint or follows a linear trend.

From Pointwise Bounds to a Target-Population Mean

A target mean averages conditional means over the target covariate distribution. If valid pointwise bounds satisfy \(\ell(x)\leq m_d(x)\leq u(x)\) throughout the target support, integration preserves the inequalities:

$$ \int \ell(x)\,dF_T(x) \leq \mu_d^T \leq \int u(x)\,dF_T(x). $$

This follows because \(u(x)-m_d(x)\geq0\) and \(m_d(x)-\ell(x)\geq0\) at every target value; expectations of nonnegative quantities are nonnegative. For a discrete target distribution with values \(x_j\) and probabilities \(w_j\), where \(w_j\geq0\) and \(\sum_jw_j=1\), the bounds are weighted sums of the corresponding pointwise bounds.

If some target covariate values lie within the support where the conditional mean is identified, use those identified means directly and bound only the unsupported portion. If bounds are available for both treatment states, subtraction gives a bound for the target average treatment effect: if \(\mu_1^T\in[L_1,U_1]\) and \(\mu_0^T\in[L_0,U_0]\), then \(\mu_1^T-\mu_0^T\in[L_1-U_0,U_1-L_0]\). This subtraction is valid but need not be the tightest possible when restrictions link the two potential-outcome functions.

Integrating pointwise bounds always gives valid bounds, but they need not be sharp. Pointwise extrema at different covariate values may require mutually incompatible functions under a common shape restriction. The resulting interval is then an outer bound: it contains the values permitted by the joint restrictions, but may be wider than the sharp identified set. Bound construction should therefore distinguish validity from sharpness.

Assumption Checks and a Common Pitfall

Shape restrictions should be checked against the observed conditional means wherever possible. For example, increasing secant slopes are required for convexity, and decreasing secant slopes for concavity. A violation in observed population means rules out the corresponding restriction on that range. In finite samples, estimates can fluctuate around the underlying shape, so sample slope violations are not by themselves a definitive population-level test; the examples here deliberately avoid that sampling issue.

  • Pitfall: treating monotonicity as a two-sided bound. If \(m_d\) is nondecreasing and \(x>b\), it is correct that \(m_d(x)\geq m_d(b)\). It is not correct to conclude that \(m_d(x)\leq m_d(b)\), or that monotonicity alone supplies a finite upper endpoint. A known outcome ceiling or another defensible restriction is needed.
  • Pitfall: treating a secant extrapolation as the predicted value. Under convexity, the continued last secant gives a lower bound, not necessarily the function’s value. Under concavity, it gives an upper bound.
  • Pitfall: assuming observed trends prove off-support shape. A few increasing or decreasing observed means do not establish that the same pattern continues beyond common support. The extrapolation restriction is an additional assumption.
  • Pitfall: confusing an outcome range with a shape restriction. Knowing \(Y\in[L,U]\) bounds the conditional mean by \([L,U]\), but does not determine how that mean changes with \(x\).
Key takeaway: Monotonicity usually supplies a one-sided bound beyond support; convexity supplies a lower secant-extrapolation bound, while concavity supplies an upper one. Outcome-range restrictions can close the other side. State the domain and direction of every shape assumption, and aggregate bounds using the target covariate distribution.

Check Your Understanding

Try these questions using the definitions and results above.

  1. If a conditional mean is nondecreasing beyond its observed right endpoint \(b\), what bound does \(m(b)\) provide for \(m(x)\) when \(x>b\), and what additional information could provide the opposite endpoint?
  2. For a convex conditional mean, the observed means are 8 at \(x=1\) and 13 at \(x=2\). What lower bound does convexity imply at \(x=3\)?
  3. Why does a convexity-based secant extrapolation not generally identify the counterfactual mean exactly?
  4. Suppose pointwise bounds hold at every value in a target population. Explain why integrating the lower and upper functions gives valid bounds for the target mean.
  5. Give one reason why integrating pointwise bounds might produce an interval that is valid but not sharp.
Clinical Biostats