EconBase
← Back to paper

Treatment Effects in Market Equilibrium

The exact contents of citations.db main_text.text for this paper — one flattened LaTeX string, title through conclusion, appendix excluded, unmodified except for removing email addresses. This is what our citation measures are computed over.

95,372 characters

Treatment Effects in Market Equilibrium footnote-1



\title{Treatment Effects in Market Equilibrium
  \begingroup
  \renewcommand{}\footnote{
We thank
Isaiah Andrews,
Joshua Angrist,
Dmitry Arkhangelsky,
PM Aronow,
Susan Athey,
Lanier Benkard,
Han Hong,
Guido Imbens,
Michael Kosorok,
Casey Mulligan,
Whitney Newey,
Fredrik S\"avje,
Paulo Somaini,
Edward Vytlacil,
Ali Yurukoglu,
and seminar participants at
Columbia,
Cornell,
Google,
Harvard,
Michigan State University,
Princeton,
Stanford,
UC San Diego,
UT Austin,
University of Chicago,
University of Montreal,
Yale,
the Bay Area Tech Economics Seminar,
the Conference on Digital Experimentation,
the International Conference on Statistics and Data Science,
the Joint Statistical Meetings,
the National Association for Business Economics,
and the Online Causal Inference Seminar
for helpful comments and discussions. This research is partially supported by a gift from Meta and NSF SES-2242876. Code for the simulations in this paper is available at \texttt{https://github.com/evanmunro/market-interference}. Xu Kuang published under a different full name in earlier versions of this manuscript. Please use ``E. Munro, X. Kuang and S. Wager" when citing this paper.}
  \addtocounter{footnote}{-1}
  \endgroup

\vspace{2mm}
}

\author{
Evan Munro
\and
Xu Kuang
\and
Stefan Wager}
\date{\today \\
 \vspace{2mm}
Stanford Graduate School of Business}
  \maketitle


\bigskip
\begin{abstract}
Policy-relevant treatment effect estimation in a marketplace setting requires taking into account
both the direct benefit of the treatment and any spillovers induced by changes to the market
equilibrium. The standard way to address these challenges is to evaluate interventions via
cluster-randomized experiments, where each cluster corresponds to an isolated market.
This approach, however, cannot be used when we only have access to a single market (or a small number
of markets). Here, we show how to identify and estimate treatment effects using
a unit-level randomized trial run within a single large market. A standard Bernoulli-randomized
trial allows consistent estimation of direct effects, and of treatment heterogeneity measures
that can be used for welfare-improving targeting. Estimating spillovers---as well as providing
confidence intervals for the direct effect---requires estimates of price elasticities, which we
provide using an augmented experimental design. Our results rely on
all spillovers being mediated via the (observed) prices of a finite number of traded goods, and
the market power of any single unit decaying as the market gets large. We illustrate our
results using a simulation calibrated to a conditional cash transfer experiment in the Philippines. \\

\begin{comment}
Policy-relevant treatment effect estimation in a marketplace setting requires assessing
both the direct treatment benefit and spillovers induced by changes to the market
equilibrium. We show how to identify and estimate policy-relevant treatment effects using
a unit-randomized trial run within a single large market. A Bernoulli-randomized
trial allows consistent estimation of direct effects, and of treatment-heterogeneity measures
that enable welfare-improving targeting. Estimating spillovers---as well as providing
confidence intervals for the direct effect---requires estimates of price elasticities, which we
provide using an augmented experimental design. We illustrate our
results using a simulation calibrated to a conditional cash-transfer experiment in the Philippines. \\
\end{comment}



\noindent
{\it Keywords: } Equilibrium Effects, Experimental Design, Interference
\end{abstract}



\onehalfspacing
\newpage
\section{Introduction}

The standard analysis of treatment effects in a randomized trial relies on an assumption that the treatment status of one individual does not affect the outcomes of other individuals \citep{fisher1935design, banerjee2011poor,imbens2015causal}. When an intervention affects supply or demand and market prices affect the outcome of interest, then general equilibrium effects lead to spillover effects, and typical estimators using data from randomized trials do not correspond to a meaningful measure of policy impact \citep{heckman1998general}.

In practice, the most common approach to address interference of this type is clustering units at a higher-level at which there are no spillover effects \citep{baird2018optimal, hudgens2008toward}.
Examples include the evaluation of general equilibrium impacts of cash transfers in \citet{banerjee2021food},  \citet{egger2022general} and \citet{filmer2023}, and incentives for suppliers or consumers in online two-sided markets
\citep{brennan2022cluster, holtz2024reducing}.
However, if a market is tightly integrated, splitting the market into effectively isolated
sub-markets may not be feasible. This highlights the need for spillover-aware methods
for treatment effect estimation that can be used on data from an experiment run on a
single interconnected market.

In this paper, we introduce a framework for treatment effect estimation in
a market equilibrium setting without relying on parametric, distributional,
or homogeneity assumptions.  Rather than relying on market splitting, we leverage
a structural assumption whereby all spillovers are mediated through the (observed) equilibrium
prices of a finite number of traded goods. Our main finding is that integrating such price
equilibrium effects into the potential-outcomes model for causal inference enables
us to estimate spillover-aware treatment effects using unit-level experiments. In particular,
we show how our approach yields asymptotic characterizations of policy-relevant average and
conditional average treatment effects, and motivates the design of new forms of randomized trials
and targeting rules.


We frame our model in terms of a potential outcomes specification that allows for cross-unit interference  \citep{hudgens2008toward, manski2013identification, aronow2017estimating}. When equilibrium effects are removed, the model reduces to the standard Neyman-Rubin potential outcomes framework  \citep{imbens2015causal}. In a market with $n$ participants, an intervention is assigned randomly conditional on pre-treatment covariates. Each individual's production
and consumption choices are determined by latent supply and demand functions that may be shifted by the intervention
\citep{angrist2000interpretation,heckman2005structural}. Units interact via a market modeled as a multiple goods economy in general equilibrium, where individuals' production and consumption decisions depend only on their own type, their own treatment, and their expectation of the market price \citep{walras1900elements, mas1995microeconomic}. In this setup, equilibrium prices induce an exposure mapping in the sense of \citet{manski2013identification} and \citet{aronow2017estimating}: One unit's treatment impacts another's outcomes only through the treatment's impact on the equilibrium price, which rules out peer effects or other forms of network-type interference.  The price ensures that average net demand (demand minus supply) is equal to zero. The validity of this restriction on spillovers is context-specific, and depends both on the nature of the intervention and the type of market.


Our analysis begins by considering the marginal effect of increasing treatment probabilities
for all market participants; following \citet{carneiro2010evaluating}, we refer to this quantity
as a marginal policy effect. As shown in \citet{hu2021average}, the marginal policy effect can be
decomposed into a direct and indirect treatment effect, where the indirect effect is a general measure
of spillover effects. We then analyze the sample average direct and indirect effects of
a binary treatment in equilibrium \citep{halloran1995causal, hu2021average, savje2021average}.  In
finite samples, these estimands are difficult to characterize statistically because the price
equilibrium induces a complex form of data dependence. We show, however, that under an assumption
that the $n$ participants in the market are independently sampled from a population distribution,
we can use techniques based on empirical-process theory to derive simple large-sample limiting expressions
for the direct and indirect effects. These limiting expressions can then be used to guide estimation
and inference for both sample and population treatment effects.

In our setting, the average direct effect can be consistently estimated via a
simple difference in means estimator that ignores spillovers. Consistent estimation
of the average indirect effect---and construction of confidence intervals for either
estimand---also requires estimates of price elasticities. We consider augmenting
 standard Bernoulli-randomized experiments with small, random price perturbations
that do not disrupt the overall market equilibrium. The use of such random price
perturbations is in line with the documented practice of online marketplaces using
randomly assigned coupons, discounts or bonuses to learn about price elasticities
\citep{castillo2023}. We then show how such augmented experiments can be used to provide
valid large-sample inference for both the average direct and indirect effects using
data from a single market.




Our model allows for unrestricted heterogeneity across agents,
and thus also enables us to estimate how treatment effects vary with pre-treatment
characteristics---and to exploit this heterogeneity to learn improved policies that
can be deployed in a market similar to the one observed. We propose versions of the
sample direct effect and indirect effect that are conditional on pre-treatment covariates.
These estimands depend both on the population distribution and the size of the market.
They are related to the large literature on targeting without spillovers
\citep{manski2004statistical, athey2016recursive, wager2018estimation, vanderweele2019selecting},
in that the conditional average direct effect is equal to the conditional average treatment
effect when interference is removed. We show that as the market size grows large,
the conditional estimands converge to population estimands that are simple combinations
of price elasticities and conditional expectations of the direct effect of the
treatment on outcomes and net demand. Furthermore, we show that it is possible to use
data from a standard randomized experiment (without price perturbations) to estimate
the outcome-maximizing treatment rule within the class of all treatment rules that
do not move the observed market equilibrium. This optimal rule takes the form of a
linear thresholding rule in the space of conditional average direct effects on outcomes and net demand.

\citet{filmer2023} use a village-level cluster randomized experiment to demonstrate that the Pantawid conditional cash transfer program in the Philippines affects the equilibrium price of perishable protein sources, such as eggs, which leads to spillover effects on health outcomes for children in non-eligible families.
In Section \ref{sec:sim}, we argue that this application fits the assumptions of our paper. We then use the data from this setting to estimate an equilibrium model of children's health outcomes and the market for eggs in a small village in the Philippines, and demonstrate the consistency and coverage properties of our treatment effect and variance estimators based on an augmented individual-level randomized experiment generated by simulating data from this model.  We also augment the model to include heterogeneous responses to the cash transfer and describe the properties of the equilibrium-stable targeting rule on samples drawn from this model.




\subsection{Related Work}




Much of the existing work on treatment effect estimation with spillovers focuses on setting
where the Stable Unit Treatment Value Assumption (SUTVA) holds for higher-level clusters of units
\citep{baird2018optimal, basse2019randomization, hudgens2008toward, karrer2021network, liu2014large, tchetgen2012causal}.
Another related approach is the network interference model, which posits that interference operates
along a network and the connections between units are sparse
\citep{athey2018exact,leung2020treatment,savje2021average}.
The sparsity of connections then enables randomization-based methods for studying cluster-randomized experiments
to be extended to this setting.
In our setting, however, the interference pattern produced by marketplace price effects is dense and simultaneously affects all units, so neither cluster nor sparsity-based methods are applicable.

Our use of a random sampling model presents a departure from the literature cited above, where
typically the sample is held fixed and inference is only driven by random treatment assignment.
This random sampling model, however, plays a key role in enabling our analysis, as it allows us
to leverage tools from empirical process theory \citep[e.g,][]{van1996weak} to address difficulties
around potentially unstable and non-unique equilibrium formation in finite samples.\footnote{As
discussed in detail in the following section, we assume that there is a unique market-clearing
price in the population; however, we allow each market participant to respond discontinuously to
market prices and this may lead to non-uniqueness of possible equilibria in finite samples.}
In doing so, our paper adds to a handful of recent papers that use a stochastic model in a
causal inference setting.  \citet{johari2020experimental} use a mean-field model to examine
the benefits of a two-sided randomization design in two-sided market platforms and quantify
the bias due to interference between market participants.
\citet{li2022random} study large sample treatment effect estimation under network interference,
where the exposure graph is randomly generated from a graphon model. Finally, \citet{wager2019experimenting} consider a model where exogenous demand is matched with endogenous supply, with interference via supply cannibalization. They propose using zero-mean perturbations to estimate a revenue gradient and optimize a continuous decision variable dynamically. Our work also uses zero-mean perturbations as part of a unit-level experiment, but is otherwise distinct, given our focus is on treatment effects of a binary intervention in a general price equilibrium.

Our model combines a potential-outcomes model with some limited structural assumptions on
the price equilibrium. The insight that structural modeling can be used to address
endogeneity issues in causal inference has a long tradition in economics
\citep{heckman1979sample,heckman1998general,roy1951some}, and there is a large literature that uses
structural modeling to develop econometric methods for causal inference in models
with endogenous treatment selection
\citep{angrist2000interpretation,carneiro2011estimating,heckman2005structural}.
To date, however, there has been less emphasis on methods for estimating equilibrium effects in systems with randomized trials, where treatment selection is not an issue.


We do note a growing literature that combines data from a randomized trials with parametric structural models to estimate both partial and general equilibrium policy effects. For example,  \citet{allende2019approximating} uses a randomized control trial to estimate the direct effect of information provision on school choice but simulates a fully parametric structural model to evaluate equilibrium effects of the treatment. In contrast, our approach uses a more complex unit-level experiment and the structure of the price equilibrium to analyze equilibrium effects without imposing a parametric model. To accomplish this, we rely on a representation of population estimands as a combination of price elasticities and expectations of the outcome and demand distribution. This is related to the sufficient statistics approach, as described in \citet{chetty2009sufficient}, which also expresses policy effects in terms of combinations of estimable elasticities without imposing a specific parametric model, although this is usually in a partial equilibrium setting. In the macroeconomics literature, \citet{wolf2019missing} uses a semi-structural approach to decompose the effect of economic shocks into partial equilibrium effects and general equilibrium effects (e.g., price effects), but uses time series methods to estimate the price effects, in contrast to the unit-level approach presented in this paper.

The literature on targeting treatments under interference is quite limited. \citet{viviano2019policy} estimates treatment allocation rules in a network interference model, where his results depend on sparsity of the network.  \citet{sahoo2022policy} study policy learning with strategic agents, where the policymaker has a budget constraint, which leads to a type of interference. Both approaches rely on a form of direct empirical welfare maximization and do not define spillover-aware measures of treatment heterogeneity as we do in this paper.

Finally, the price perturbations that we use to estimate average price elasticities can be thought of as generating an ideal instrument for our setting. By construction, everyone in the sample is a complier, and the size of the perturbations shrink so that local elasticities can be estimated without imposing parametric assumptions on demand or supply. In empirical work with observational data, instrumental variables approaches have been used in both parametric and non-parametric settings to estimate price elasticities  or a weighted average of elasticities \citep{angrist1996identification, berry2021foundations}. \cite{angrist2001instrumental} reviews IV approaches and their relation to causal inference for observational data. In settings where it is not possible to randomize individual-level fees, under additional structural assumptions, a traditional IV-based approach could be used to estimate relevant  elasticities from observational data.


\section{Model and Estimands }
\label{sec:method}


We first introduce a potential-outcomes model of a market with $n$ participants, where each participant is drawn independently from a population. A binary intervention affects individual supply, demand and outcomes in the market.
We use this model to define the estimands
of interest for our paper, both at the sample level and at the population level. We use ``sample" to
refer to a finite-sized market with $J$ goods and $n$ participants.
Throughout this section, we will refer to two example interventions: The first is a supplier-level subsidy in an online market setting; the second is a household-level cash transfer that affects economic choices in a village economy.

We assume that for all $n$ market
participants,\footnote{In Section \ref{sec:estimation}, our inference approach will
also allow for settings where we can only observe outcomes for a sub-sample of the $n$-sized market
(but equilibrium effects  are still determined by the full size-$n$ sample).}
we observe an outcome $Y_i \in \RR$, treatment $W_i \in \cb{0, \, 1}$,
net demand (i.e., demand minus supply) for the $J$ traded goods $Z_i \in \RR^J$, along
with covariates $X_i \in \mathcal X$.
Following the potential-outcomes model with spillovers, we write $Y_i(\bm w)$ and $Z_i(\bm w)$ for
the outcome and net demand we would have obtained for $i$-th unit under treatment
market-level treatment assignment $\bm w \in \cb{0, \, 1}^n$.\footnote{We
use bold-face notation to denote a vector-valued quantity collected across all market participants.}
We assume that spillovers are mediated by endogenous prices $P_n \in \RR^J$ that match supply and
demand for the $J$ traded goods, as detailed below.
We also allow for an exogenous individual-level price shifter $U_i \in \mathbb R^J$. For our analysis of classical randomized trials, $U_i = 0$,
but we will also consider a class of experiments that randomize discounts or fees in a market, where $U_i \neq 0$ and is also exogenous.


\begin{assumption} \label{as:sampling}
Each market participant is characterized by a latent
outcome function $Y_{i}(w_i, \, p)$ and a net demand function $Z_{i}(w_i, \ p)$,
such that given treatment $W_i \in \cb{0, \, 1}$, market prices $P_n \in \RR^J$ and (optional) price perturbations $U_i \in \RR^J$,
we have $Y_i = Y_i(W_i, \, P_n + U_i)$ and $Z_i = Z_i(W_i, \, P_n + U_i)$.
The quantities $Y_{i}(w_i, \, p)$, $Z_{i}(w_i, \ p)$ and $X_i$ for $i = 1, \, \ldots, \, n$ are drawn independently from a population distribution.
\end{assumption}





\begin{assumption}
\label{as:interference}
The market prices satisfy $P_n = P_n(\wvec)$, where $P_n(\wvec)$
endogenously sets net demand to approximately 0 with high probability in the following sense.
There exists a sequence $a_n$ with $\lim \limits_{n \to \infty} a_n \, \sqrt{n} = 0$ and
constants $b, \, c_1 > 0$ such that, for every
$\wvec \in \cb{0,\, 1}^n$ and for $U_i$ drawn IID from any distribution on $[-b, +b]^J$,
\begin{equation}
\label{eq:approxzero}
\set_{\wvec} = \cb{p \in \RR^J : \Norm{\frac{1}{n} \sum \limits_{i=1}^n Z_{i}(w_i, p + U_i)}_2 \leq a_n }
\end{equation}
is non-empty with probability at least $1 - e^{-c_1n}$ for all $n$. On the event where this set is non-empty, the market price
is in this set, $P_n(\wvec) \in \set_{\wvec}$.
\end{assumption}

In Section \ref{sec:estimation}, we will use observations of net demand, outcomes, treatments and price-shifters in a single market of size $n$ to estimate policy-relevant treatment effects. Assumption \ref{as:interference} is the main structural assumption in the paper that makes this possible. Treatment and market prices directly impact outcomes and net demand for each individual. Prices are endogenous, and are determined by a sample equilibrium condition on net demand. Because of this endogeneity, there are spillovers from individual $i$ to individual $j$ through their effect on the equilibrium that the market reaches. Although our model allows for equilibrium spillovers, it rules out other types of spillovers, such as through peer effects or some other network mechanism. The validity of this restriction on interference primarily depends on the nature of the intervention and the context of the market. A subsidy allocated to suppliers in an online market may, by design, be impossible to share with those in the control group, so spillovers occur only through market prices. On the other hand, an intervention that affects consumption in a village economy may have spillovers both through social networks in the village and through the market equilibrium.

The second part of the assumption characterizes how prices form in finite samples.
The finite market price does not need to exactly clear the market; instead, we impose a restriction on the rate at which the error in the market-clearing condition shrinks with the sample size. Furthermore, it does not need to be the unique price meeting this condition, although we will require uniqueness at the population level, i.e., in the limit as the sample size grows large
(Assumption \ref{as:market}).\footnote{Proposition \ref{prop:clear} in Appendix \ref{app:add} provides explicit sufficient conditions for Assumption \ref{as:interference} to hold in a single good market without price shifters and with discontinuous net demand functions.}


We will start by considering results that hold under a standard Bernoulli-randomized RCT (Design \ref{def:rct}).
In Section \ref{sec:estimation}, we will show how augmenting Bernoulli-randomized trial with
random individual-level price shifters (Design \ref{def:aug}) enables further estimation and inferential results.
Design \ref{def:aug} will discussed in more detail in Section \ref{sec:aug}.


\begin{design}\textbf{Bernoulli Randomized Trial.}
\label{def:rct}
Each unit has a known randomization probability $\pi_i$ satisfying
$\eta \leq \pi_i \leq 1 - \eta$ for some $\eta > 0$, and treatment is generated as
$W_i \sim \text{Bernoulli}(\pi_i)$. The $\pi_i$ may be constant, functions of $X_i$, or random.\footnote{In
Design \ref{def:rct} there are no price perturbations, i.e., $U_i = 0$ for all $i \in \{1, \ldots, n \}$.}
\end{design}

\begin{design} \label{def:aug} \textbf{Augmented Randomized Trial.} Treatment $W_i$ is randomized according to Design \ref{def:rct}. In addition, the experimenter generates random price perturbations $U_i \in \RR^J$, such that for
$i \in \{ 1, \, \ldots, n \} $ and $j \in \{1, \, \ldots, J \}$, $ U_{ij}$ is drawn independently and uniformly at random from $\{-h_n  , +h_n \}$
where $h_n = c n^{-\alpha}$ with $\frac{1}{4} < \alpha < \frac{1}{2}$ and $c > 0$ is a constant.
\end{design}


Given this causal model, there are many treatment effects one can seek to study. The total
treatment effect is the average difference in outcomes from treating everyone versus no one
in the market,
\begin{equation} \label{eq:tot}
\tau_{\text{TOT}} = \frac{1}{n} \sum_{i = 1}^n \p{Y_{i}(1, \, P_n(\mathbf{1}_n) + U_i ) - Y_{i}(0, \, P_n(\mathbf{0}_n)+ U_i )},
\end{equation}where $\mathbf{1}_n$ and $\mathbf{0}_n$ are $n$-length vectors of 1s and 0s. Total treatment effects can readily be estimated across disconnected markets using cluster-randomized
experiments clustered at the market level \citep{baird2018optimal}.
However, without further assumptions, estimating $\tau_{\text{TOT}}$ from a single (connected) market
is impossible, as it requires predicting behavior at prices that are far from anything seen in the experiment.
A more tractable---and still fruitful---approach is to focus on treatment effects that,
in the sense of \citet{carneiro2010evaluating}, are marginal to the treatment-assignment policy used to collect the data.
For any $n$-length vector of Bernoulli randomization probabilities $\pivec$, write
\begin{equation}
V_n(\pivec) = \EE[\pivec]{\frac{1}{n} \sum_{i = 1}^n Y_i},
\end{equation}
where we use the notation $\EE[\pivec]{\cdot} = \EE{\cdot \cond \cb{Y_i(w, \, p), \, Z_i(w, \, p), U_i}_{i=1}^n}$
to denote expectations over the Bernoulli treatment assignment while holding the sample (i.e., the potential outcomes)
fixed. The marginal policy effect in the sample, $\tau_{\text{MPE}}$, is a local approximation to the total treatment effect defined in \eqref{eq:tot}. It measures the average effect of increasing treatment probabilities
for everyone:
\begin{equation}
\tau_{\text{MPE}} = \frac{d}{d\varepsilon} V(\pivec + \varepsilon \mathbf{1}_n)|_{\varepsilon=0}.
\end{equation}
\citet{hu2021average} show that the marginal policy effect can be decomposed into the sum of two sample average treatment effects, which are the first set of target estimands in our paper. Here, the notation $(W_i = a ; \bm W_{-i}) $ represents the random vector we obtain by first sampling $ \bm W $, and then setting its $ i $-th coordinate to a fixed value $ a $:
\begin{equation}
\label{eqn:ade_aie}
\begin{split}
& \tau_{\text{MPE}}  = \tau_{\text{ADE}}  + \tau_{\text{AIE}}, \\
& \tau_{\text{ADE}} =   \frac{1}{n}  \sum \limits_{i=1}^n \mathbb E_{\pi}[ Y_i(W_i = 1, P_n( W_i = 1 ; \bm W_{-i}) + U_i )- Y_i(W_i = 0, P_n(W_i = 0; \bm W_{-i}) + U_i )  ],
\\  & \tau_{\text{AIE}} =  \frac{1}{n}  \sum \limits_{i=1}^n \sum \limits_{j \neq i}  \mathbb E_{\pi}[ Y_j(W_j, P_n(W_i = 1; \bm W_{-i}) + U_i ) - Y_j(W_j, P_n(W_i = 0; \bm W_{-i}) + U_i)  ].
\end{split}
\end{equation}
$\tau_{\text{ADE}}$ is the average effect on an individual's outcome of changing their own treatment in a market with $n$ participants, and is a standard quantity in the causal inference literature \citep[e.g.,][]{halloran1995causal,savje2021average}. It is a measure of the direct effect of the treatment while holding the equilibrium fixed. When SUTVA holds, then $\tau_{\text{ADE}}$ is equal to the sample Average Treatment Effect (SATE) and $\tau_{\text{AIE}}$ is 0. The average indirect effect in the sample is the average effect on everyone else's outcomes of changing an individual's treatment. It is a general measure of spillover effects.




The estimands
$\tau_{\text{ADE}}$ and $\tau_{\text{AIE}}$ are defined at the sample level. We also find it  useful to introduce population versions of our target estimands, and define the following whenever the limits below exist. $\mathbb E[\cdot]$ reflects expectations over all sources of randomness in our model: the sampling from the population distribution in Assumption \ref{as:sampling}, the price-shifter assignment process, and the treatment assignment process.

\begin{equation}
\begin{split}
& \tau^*_{\text{ADE}} = \lim \limits_{n \rightarrow \infty} \mathbb E[\tau_{\text{ADE}}] = \lim \limits_{n \rightarrow \infty} \mathbb E[ Y_i (W_i = 1; \bm W_{-i})  - Y_i(W_i =0; \bm W_{-i})],   \\
& \tau^*_{\text{AIE}} = \lim \limits_{n \rightarrow \infty} \mathbb E[\tau_{\text{AIE}} ]  = \lim \limits_{n \rightarrow \infty} (n-1) \cdot \mathbb E[ Y_{j} (W_i = 1; \bm W_{-i}) - Y_{j}( W_i = 0; \bm W_{-i}) ].
\end{split}
\end{equation}
In the next section, we will show that under our model and an additional set of regularity conditions,
these limits in fact exist and the population estimands have a tractable representations.
These representations will then be useful for designing estimators that are consistent for both sample and population-level targets. In addition, just as in the literature on causal inference under SUTVA, in some settings the population estimand is the more relevant target. For example, we may have data from a small market and are interested in doing inference on a similar but larger market.



\subsection{Large Sample Characterization}

Our asymptotic characterization of the average direct and indirect effect requires some additional regularity conditions. It is first helpful to introduce some additional notation for moments of the population distribution. Let $y(p) = \mathbb E[Y_i(W_i, p)]$ and $z(p) = \mathbb E[Z_i(W_i, p)]$. For $w \in \{0, 1\}$, let $y(w, p) = \mathbb E [ Y_i(w,  p)]$ and $ z(w, p) =  \mathbb E[  Z_i(w, p)]$. Define $ p^*_{\pi}$ to be the price that clears the population market when the treatment is allocated according to $\pi(\cdot)$, i.e., $p^*_{\pi} = \{ p: z( p) = 0 \}$.


We start by making regularity assumptions on the expected net demand, and in particular assume that there is a unique equilibrium price in the population.
Market prices will be in a compact set as long as all net demand functions are weakly negative for prices above an upper bound and weakly positive for prices smaller than some lower bound. In a single good market, uniqueness of $p^*_{\pi}$ only requires continuity and strict monotonicity of $z(p)$ in $p$. In a market with multiple goods, uniqueness and existence of the equilibrium price can be shown by ensuring the expected net demand function is a contraction, as is common in the literature on models of strategic behavior \citep{cornes1999equilibrium, van2000existence}. Other approaches that rely on more primitive assumptions are also possible; for example, under a zero-degree homogeneity assumption in net demand a gross-substitutes condition ensures uniqueness \citep{arrow1971general}.

\begin{assumption}
\label{as:market}
Market prices take values in a compact set $\set \subset \RR^J$ almost surely.
Given any randomization policy $\pi$, there is a unique population market-clearing price
$p^*_\pi \in \set$ that satisfies
$z(p^*_{\pi}) = 0.$
The Jacobian $\xi_z =  \nabla_{ p} z(p^*_{\pi}) $ (i.e., the $J \times J$ matrix with $j$-th row $\nabla^{\top}_p z_j(p^*_{\pi})$) is full rank.
\end{assumption}

Next, we make regularity assumptions on the unit-level net demand and outcome functions.
To ensure that a variety of random processes studied in the paper concentrate, Assumption \ref{as:monotone} and Assumption \ref{as:lips} impose some constraints on outcomes and net demand at an individual level.
These restrictions have a simple economic interpretation and are general enough to encompass a wide variety of possible data-generating processes that underlie market behavior.
Assumption \ref{as:monotone} is our main assumption on the net demand, and is a generalization
of the familiar assumption in a single-good setting that net demand be non-increasing in price.
In the multiple good case, we also require that every unit $i$ will decrease their net demand
of good $j$ more in response to a decrease in the price of good $j$ than in response to a
relatively small change in the price of other goods. This assumption restricts the magnitudes
of cross-price elasticities compared to own-price elasticities.

\begin{assumption}
\label{as:monotone}
For each market participant $i$, net demand for the $j$-th good is approximately monotone
decreasing in the price of the $j$-th good.  There exists a constant $C > 0$ such that the
following holds almost surely for all units $i$, goods $j$, treatment levels $w \in \cb{0, \, 1}$,
and prices $p \in \mathcal{S}$, and for any $0 < \varepsilon \leq 1$:
\begin{equation}
Z_{ij}(w, \, p - \varepsilon e_j) \geq Z_{ij}(w, \, p + \delta) \geq Z_{ij}(w, \, p + \varepsilon e_j), \ \text{ for all } \ \Norm{\delta}_2 \leq C\varepsilon,
\end{equation}
where $e_j$ denotes the $j$-th basis vector.
\end{assumption}

Under Assumption \ref{as:lips}, the outcome function is the sum of an individual-specific random function that is Lipschitz in prices and an additional term that  is Lipschitz in net demand. This allows for outcomes that are discontinuous in prices through net demand. Supplier profit, for example, is a special case of Assumption \ref{as:lips}, where in the single-good case, profit  is $Y_i(w, p) =  -(p - \Gamma_i(w) ) Z_i(w, \, p) \mathbbm{1}(Z_i(w, \, p) <  0)$ and $\Gamma_i(w)$ represents a firm's production costs under treatment $w$. In Section \ref{sec:sim}, outcomes are a measurement of height for young children, and the treatment is a household-level cash transfer. Assumption \ref{as:lips} allows for a variety of flexible data-generating processes for height; one example is a random coefficients model of height that is polynomial in consumption, where $\Gamma_i(w)$ are the random coefficients and noise term in the model.

\begin{assumption}
\label{as:lips}
The outcome function is the sum of a random Lipschitz function of $p$, $H_i(w, \, p)$, and a fixed transformation $\psi(\cdot)$ of $Z_i(w, \, p)$, prices $p$, and a (possibly unobserved) bounded random variable $\Gamma_i(w) \in \mathcal G \subset \mathbb R^m$, that is Lipschitz in each of its arguments:
\begin{equation}
Y_i(w,\, p) = H_i(w, \, p) + \psi(\Gamma_i(w), \, Z_i(w, \, p), \, p).
\end{equation}
\end{assumption}

Finally, in Assumption \ref{as:regularity} we list some additional regularity assumptions, which are standard in the literature on asymptotic statistics. Although individual net demand and outcome functions may be discontinuous, we require their
expectation to vary smoothly in prices. The weak continuity assumption in Part 2 also limits individual-level discontinuity by requiring
that discontinuity points cannot concentrate at specific values of $p$. In our profit example, these two smoothness assumptions require  the distribution of costs at a firm-level to be sufficiently smooth, even if production is discontinuous in prices.


\begin{assumption}
\label{as:regularity}
The following regularity conditions hold:
\begin{enumerate}
\item Net demand and outcome functions are uniformly bounded, i.e.,
there is a constant $M < \infty$ such that, almost surely,
$\abs{Y_i(w, \, p)} \leq M$ and $\abs{Z_{ij}(w, \ p)} \leq M$
for all $w \in \{0, 1\}$, $p \in \mathcal S$ and $j \in \{1, \ldots, J \}$.
\item Net demand is weakly continuous in $p$. There is a constant $L > 0$ such that for all pairs of prices
$p ,\, p'$, all $w$, and all $j$, we have $\mathbb E[ (Z_{ij}(w, p) - Z_{ij}(w, p'))^2] \leq L \Norm{p - p'}_2$.
\item For all $p \in \mathcal S$ and $w \in \{0, 1\}$, $y(w, p)$,
$z(w, p)$, $ y(p)$ and $z(p)$ are twice continuously
differentiable in $p$ with bounded first and second derivatives.
\item We have non-trivial variation in responses:
For all $w \in \cb{0, \, 1}$ and $p \in \set$, $\Var{Y_i(w, \ p)} > 0$, and $\Var{Z_i(w, \ p)}$ is
positive definite, i.e., $\Var{Z_i(w, \ p)} \succ 0$.
\end{enumerate}
\end{assumption}




Our first result is that, given these assumptions, the sample equilibrium price
concentrates on $p^*_\pi$ as the sample size grows, and has an asymptotically linear representation
(i.e., to first order, random price fluctuations can be written as a sum of additive contributions
from each unit). We can write $P_n(\bm W)$ as a method-of-moments estimator, so its asymptotic representation has the usual form of Z-estimators \citep{van1996weak}. All proofs are given in the appendix.



\begin{theorem}
\label{theo:prate}
Under Assumptions \ref{as:sampling},  \ref{as:interference}, \ref{as:market},  \ref{as:monotone} and \ref{as:regularity} and either Design \ref{def:rct} or \ref{def:aug},
the equilibrium price satisfies
\begin{equation}
\label{eq:prate_expansion}
\begin{split}
&P_n(\bm W)  - p^*_{\pi} =  -   \xi_z^{-1} \, \frac{1}{n}\sum \limits_{i=1}^n Z_i(W_i, p^*_{\pi}) + o_p(n^{-1/2}), \\
&\sqrt{n}\p{P_n(\bm W)  - p^*_{\pi}} \Rightarrow \nn\p{0, \,  \xi_z^{-1} \Var{Z_i(W_i, p^*_{\pi})} \p{ \xi_z^{-1}}^\top},
\end{split}
\end{equation}
where $\xi_z$ is as defined in Assumption \ref{as:market}.
\end{theorem}


This result is a crucial building block towards the rest of the theory in the paper, since it provides a representation of $P_n(\bm W)$  in terms of the fixed price $p^*_{\pi}$ and an average of IID terms. This asymptotic representation is valid whether or not the Bernoulli-randomized trial is augmented with price perturbations. It will be helpful in characterizing the asymptotic variance of various random variables in our model. Before introducing our estimators in Section \ref{sec:estimation}, we next apply this result to characterizing the relationship between the sample and population-level average direct and indirect effect.
To this end, we first show that $\tau^*_{\text{ADE}}$ and $\tau^*_{\text{AIE}}$ exist and have a simple representation in terms of moments of the population distribution. Our technical results rely heavily on
concentration results from empirical process theory as described in \citet{van1996weak}.




 \begin{theorem} \label{theo:pop}
Under Assumptions \ref{as:sampling},  \ref{as:interference}, \ref{as:market}, \ref{as:monotone}, \ref{as:lips} and \ref{as:regularity} and either Design \ref{def:rct} or \ref{def:aug},
the population estimands are
\begin{equation}
\begin{split}
 & \tau^*_{\text{ADE}} = y(1, p^*_{\pi}) - y(0, p^*_{\pi}), \\
& \tau^*_{\text{AIE}} =  - \xi_y^{\top}  \xi_z^{-1} [z(1, p^*_{\pi}) - z(0, p^*_{\pi})],
\end{split}
\end{equation}
where $\xi_y = \nabla_p \mathbb E[Y_i(W_i, p^*_{\pi})]$ is a $J \times 1$ vector
and $\xi_z$ is as defined in Assumption \ref{as:market}.
\end{theorem}

The population direct effect is the difference in expected outcomes at $p^*_{\pi}$ evaluated at $W_i = 1$ and $W_i = 0$. In the next section, we show that this can be estimated with a differences in means estimate. This finding is in line with \citet{savje2021average}, who show that estimators that target the average treatment effect under no-interference settings generally recover the average direct effect under interference. However, our results will go beyond those of \citet{savje2021average}, since we will also provide a central limit theorem for estimators of $\tau^*_{\text{ADE}}$.

The indirect effect, which is a key component of the policy counterfactual $\tau_{\text{MPE}}$, is not estimable using variation in treatment only. The population indirect effect depends on the product of three terms: how the treatment affects net demand, how net demand is affected by prices ($\xi_z$), and how changes in prices affect outcomes ($\xi_y$). In settings where the treatment impacts market-clearing prices through net demand, and outcomes are sensitive to market prices, then spillover effects and the indirect effect are stronger.  In Section \ref{sec:estimation} we will show how each component of $\tau^*_{\text{ADE}}$ and $\tau^*_{\text{AIE}}$ can be estimated using unit-level experiments.

Finally, we connect the limiting estimands $\tau^*_{\text{ADE}}$ and $\tau^*_{\text{AIE}}$ to their finite-sample
counterparts $\tau_{\text{ADE}}$ and $\tau_{\text{AIE}}$. In the case of the direct effect, Theorem \ref{theo:sade}
provides an asymptotically linear expansion for $\tau_{\text{ADE}}$ around $\tau^*_{\text{ADE}}$, thus allowing
us to disambiguate between the sample and population estimands when conducting inference. This
mirrors the well-known relationship between the sample- and population-average treatment effects
in the no-interference setting \citep{imbens2004nonparametric}.


\begin{theorem}
\label{theo:sade}

Under the conditions of Theorem \ref{theo:pop},
\begin{equation}
\label{eq:ade_asymp}
\tau_{\text{ADE}}  =  \frac{1}{n} \sum \limits_{i=1}^n  \Big (Y_i(1, p^*_{\pi}) - Y_i(0, p^*_{\pi})  - \p{\pi_i \Delta_i(1, \, p^*_\pi) + (1 - \pi_i) \Delta_i(0, \, p^*_\pi) } \Big ) + o_p(1/\sqrt{n}),
\end{equation}
where
\begin{equation}
\label{eq:Delta}
\Delta_i(w, \, p) = \nabla_p^{\top}[  y(1, p) - y(0, p) ] \xi_z^{-1}  Z_i(w, \, p).
\end{equation}
Furthermore, writing $\varepsilon_i(w) = Y_i(w, p^*_{\pi}) - y(w, p^*_{\pi})$, we have
\begin{equation}
\label{eq:ade_clt}
\sqrt{n}\p{\tau_{\text{ADE}} -  \tau^*_{\text{ADE}}} \Rightarrow \nn\p{0, \, \Var{ \varepsilon_i(1)   - \varepsilon_i(0)  - \p{\pi_i \Delta_i(1, \, p^*_\pi) + (1 - \pi_i) \Delta_i(1, \, p^*_\pi) }}}.
\end{equation}
\end{theorem}

Relative to the no-interference setting, the expansion in Theorem \ref{theo:sade} includes additional $\Delta_i$ terms  that depend on individual-level net demand. In a finite market where treatment affects demand and supply, there is variation in realized market prices that then impacts $\tau_{\text{ADE}}$. The $\Delta_i$ terms capture this additional source of variation.
We also note that, as in the no-interference setting, the variance of $ \tau_{\text{ADE}}$ is generally not identified, as it depends on the covariance of individual treated and control potential outcomes; however, as shown in Proposition \ref{prop:neyman}, it will still be possible to provide asymptotically conservative inference (i.e., construct confidence intervals with potentially greater-than-nominal coverage).



Meanwhile, for the indirect effect, $\tau_{\text{AIE}}$ converges to $\tau_{\text{AIE}}^*$, but Theorem \ref{theo:saie}
does not provide a rate of convergence. We conjecture that establishing useful rates of convergence here
would require replacing Assumptions \ref{as:market} and \ref{as:monotone} with stronger assumptions that
are more explicit about finite-sample price formation. Under our current assumptions, the convergence rate
of $\tau_{\text{AIE}}$ can be slower than $\sqrt n$; see Appendix \ref{ap:aierate} for additional explanation
in the context of a simple example.  Since our estimator in Section \ref{sec:estimation} targeting $\tau_{\text{AIE}}^*$
also converges at a slower than $\sqrt n$ rate, we conjecture that confidence intervals built for
$\tau^*_{\text{AIE}}$ will also generally cover $\tau_{\text{AIE}}$; we also note that this holds
in our numerical experiments.

\begin{theorem} \label{theo:saie}
Under the assumptions of Theorem \ref{theo:pop},
$\tau_{\text{AIE}} \overset{p}{\to}    \tau^*_{\text{AIE}}$,
\end{theorem}










\section{Estimation and Inference}
\label{sec:estimation}

We now move to estimation of the quantities defined in the previous section using data from unit-level randomized experiments. We first derive the limiting distribution of a differences-in-means estimator that is valid when data is generated from a standard RCT that is run on an entire market. This estimator is consistent for the average direct effect, but its asymptotic variance depends on price-elasticity terms that cannot be estimated using data from an RCT that randomizes treatment only. We show that if confidence intervals are constructed using a variance estimator based on the asymptotic variance without price interference, then coverage for the population direct effect will not be asymptotically exact.


In order to perform inference for the direct effect and to perform estimation and inference for the indirect effect, we need non-zero price shifters.
Algorithmically, the estimator for the indirect effect looks like a combination of differences-in-means estimator and an instrumental variables estimator. Under an augmented randomized experiment, we show how to construct asymptotically valid confidence intervals for population versions of both effects. In this section, we assume that experiments are run on the entire market of $n$ participants. However, as described in more detail in Appendix \ref{sec:subsample}, the extension to settings where only a sub-sample of the market is observed is straightforward.

\subsection{Estimation for the Direct Effect in a Standard RCT}


Following a number of recent papers, including \citet{savje2021average} and \citet{li2022random},
we consider estimating the direct effect using a differences-in-means estimator
\begin{equation}
\hat \tau_{\text{ADE}} = \frac{1}{n}  \sum \limits_{i=1}^n \left [  \frac{W_i Y_i }{\hat \pi}- \frac{(1-W_i)Y_i}{ 1 - \hat \pi} \right], \ \ \ \ \hat \pi = \frac{1}{n} \sum \limits_{i=1}^n W_i.
\end{equation}
Our first result is that---even under interference that occurs through market prices---the standard differences-in-means estimator converges to the population direct effect at a $\sqrt n$ rate and is asymptotically normal. The variance of the difference-in-means estimator depends both on the variance of the potential
outcomes---as in a standard no-interference setting---as well as an additional term ($\Delta_i(w, p^*_{\pi})$)
that is a function of net demand and price sensitivity of outcomes and net
demand.  \footnote{Our finding that the difference in means is consistent for the ADE mirrors general
findings in \citet{savje2021average}; however, the fact that we get a $\sqrt n$ rate of convergence
and a central limit theorem depends on our marketplace model.}


\begin{theorem}
 \label{theo:adeinf}
 Under the conditions of Theorem \ref{theo:pop} and with uniform treatment randomization probabilities $\pi_i=\pi$ for all $i$, under Design \ref{def:rct} or Design \ref{def:aug},
 \begin{equation}
 \hat \tau_{\text{ADE}} = \tau^*_{\text{ADE}} + \frac{1}{n} \sum \limits_{i=1}^n \p{\frac{W_i \varepsilon_i(1)}{\pi} - \frac{(1 - W_i) \varepsilon_i(0)}{1 - \pi} - \Delta_i(W_i, \, p^*_\pi)} + o_p(1),
 \end{equation}
 where $\varepsilon_i(w) = Y_i(w, p^*_\pi) - y(w, p^*_\pi)$ and $\Delta_i(w, \, p)$ is as in Theorem \ref{theo:sade}.
Furthermore,
\begin{equation}
 \sqrt{n} \left ( \hat \tau_{\text{ADE}}  - \tau^*_{\text{ADE}} \right)  \Rightarrow \mathcal{N} (0, \sigma^2_D), \ \ \ \
 \sigma^2_D = \EE{\p{ \frac{W_i \varepsilon_i(1)}{ \pi}  - \frac{( 1- W_i)  \varepsilon_i(0)}{  1- \pi }  - \Delta_i(W_i, p^*_{\pi})}^2}.
\end{equation}
\end{theorem}

Although we have shown that the familiar difference-in-means is asymptotically normal around the ADE, the
above result also implies that the usual asymptotic variance derived under the no-interference setting
does not match $\sigma^2_D$ in our market equilibrium model, unless $\Delta_i(W_i, p^*_{\pi}) = 0$. This term is zero if there is homogeneity in price derivatives under treatment and control, so that $\nabla_p[y(1, p) - y(0, p)] = 0$. In general, to construct confidence intervals that
are asymptotically exact for the population direct effect, we need estimates of the price elasticities that appear in the
$\Delta_i(w, p^*_{\pi})$ terms. In the next section, we will show how non-zero price perturbations under Design \ref{def:aug}
allows us to estimate these price sensitivities as well as the AIE, which is not
estimable with treatment randomization only.

Finally, we note that Theorem \ref{theo:adeinf} quantifies the errors of $\hat \tau_{\text{ADE}}$
as an estimator of the population estimand $\tau^*_{\text{ADE}}$. In many settings, however, it is of primary interest to provide inference about the sample direct effect $\tau_{\text{ADE}}$, which is defined in a finite-sized market. Combining
Theorems \ref{theo:sade} and \ref{theo:adeinf}, we can verify that
\begin{equation} \label{eq:saded}
\hat \tau_{\text{ADE}} - \tau_{\text{ADE}}  = \frac{1}{n} \sum \limits_{i=1}^n  (W_i - \pi) \left (\frac{ \varepsilon_i(1) }{\pi} + \frac{ \varepsilon_i(0)}{1 - \pi}  - \p{\Delta_i(1, p^*_{\pi}) - \Delta_i(0, p^*_{\pi})} \right ) + o_p\p{\frac{1}{\sqrt{n}}},
\end{equation}
and furthermore that
\begin{equation}
\begin{split}
&\sqrt n \p{\hat \tau_{\text{ADE}} - \tau_{\text{ADE}}} \Rightarrow \nn\p{0, \, \bsigma_D^2}, \\
&\bsigma_D^2 = \pi \p{1 - \pi} \EE{ \left (\frac{ \varepsilon_i(1) }{\pi} + \frac{ \varepsilon_i(0)}{1 - \pi}  - \p{\Delta_i(1, p^*_{\pi}) - \Delta_i(0, p^*_{\pi})} \right )^2}.
\end{split}
\end{equation}
The asymptotic variance here still depends on the market equilibrium effects; furthermore,
it depends on the correlation of $\varepsilon_i(1)$ and $\varepsilon_i(0)$ and so is generally
not identified. However, the following result shows that, in an extension of the classic result
of \citet{neyman1923applications}, $\sigma_D$ is a conservative upper bound for $\bsigma_D$ and
so confidence intervals built using Theorem \ref{theo:adeinf} that are exact for $\tau^*_{\text{ADE}}$
will also be conservative for $\tau_{\text{ADE}}$.\footnote{If
$\tau_{\text{ADE}}$ is the only estimand of interest, we can adapt results from
\citet{aronow2014sharp} to derive a tighter bound for $\bsigma^2_D$ that is estimable using price
perturbations as discussed in the following section; see  Appendix \ref{ap:bound} for details.}


\begin{proposition}
\label{prop:neyman}
Under the conditions of Theorem \ref{theo:adeinf}, $\bsigma^2_D \leq \sigma^2_D$.
\end{proposition}




\subsection{Augmented Randomized Experiment}
\label{sec:aug}


We now consider use of randomized individual-level price-shifters as defined in Design \ref{def:aug} to accomplish further estimation and inferential tasks.
These price perturbations can be interpreted as experimenter-created instruments for estimating price derivatives locally.
They shift demand and supply in the neighborhood of the market-clearing price, and since they are randomized, they are independent of other variables that determine demand or outcomes.\footnote{The fact that we only consider
small, unobstrusive perturbations to the market also means we do not get to observe behaviors
at prices far from the large-sample equilibrium $p^*_\pi$, and so cannot identify or
consistently estimate full demand curves.}
 In a typical two-sided market, implementing the experiment requires introducing a small random discount, fee, or subsidy to both producers and consumers for any products where the treatment is expected to significantly affect supply or demand.\footnote{Our theory requires that the size of the price perturbation decreases with sample size. For a fixed market size, as the perturbation size increases, the variance of $\hat \tau_{\text{AIE}}$ decreases, but large price perturbations distort production and would be likely be viewed unfavorably by various market stakeholders. The simplest guidance for choosing the size of the price perturbation is to choose a value of $c$ so that for the sample size of the experiment, the size of the price perturbation is noticeable to market participants but limited to a small percentage of the current market price (e.g. 1-2\%). For markets where it is not possible for reputational or legal reasons to introduce any individual-level price variation, the components of $\tau^*_{\text{AIE}}$ can be estimated using price variation across products or time instead, at the cost of introducing additional structural assumptions on the environment.}

In Theorem \ref{theo:pop}, we found that $\tau^*_{\text{AIE}}$ can be expressed in terms of certain price elasticities and the direct effect of
treatment on net demand. Our first result using randomized price-shifters is that, using data collected under Design \ref{def:aug}, we can produce
a simple and consistent plug-in estimator for the indirect effect based on the functional form for $\tau^*_{\text{AIE}}$ derived in Theorem \ref{theo:pop}.
Let $\bm Y$ be the $n$-length vector of observed outcomes, where $Y_i = Y_i(W_i, P_n(\bm W), + U_i),$ $\bm U$ is the $n \times J$ matrix of price perturbations, and $\bm Z$ is the $n \times J$ matrix of observed net demand, where $Z_i = Z_i(W_i, \bm P_n(\bm W) + U_i)$. The estimator is
\begin{equation}
\hat \tau_{\text{AIE}} =  -  \hat \gamma^{\top} \cdot \hat {\tau}^{z}_{\text{ADE}}, \ \ \ \
\hat {\gamma} = (\bm U^{\top} \bm Z)^{-1} (\bm U^{\top} \bm Y),
\end{equation}
where $\hat {\gamma}$ is a $J \times 1$ vector that estimates $[\xi^{\top}_z]^{-1} \xi_y $.
The direct effect of the treatment on net demand is estimated via a difference-in-means estimator,
\begin{equation}
\label{eq:HTZ}
\hat {\tau}^z_{\text{ADE}} =  \frac{1}{n} \sum \limits_{i=1}^n \left [ \frac{W_i { Z}_i}{\hat \pi }-  \frac{(1- W_i) {Z}_i}{ 1 - \hat \pi } \right ] .
\end{equation}
We provide a central limit theorem for our indirect effect estimator below.
Its rate of convergence depends on the magnitude of the price perturbations $h_n$,
and is always slower than the $\sqrt{n}$-rate obtained for the direct effect.
In deriving this result, it is helpful to note that algorithmically $\hat \tau_{\text{AIE}}$ is the product of a rescaled instrumental variables estimator and a differences in mean estimator.
We can then use standard results on the asymptotic behavior  of IV estimators to guide our analysis.

  \begin{theorem}
  \label{theo:aieinf}
Suppose the Assumptions of Theorem \ref{theo:pop} hold and that treatment and price-shifters are assigned according to Design \ref{def:aug}. Then, the estimated average indirect effect can be written as:
   \begin{equation}
   \hat \tau_{\text{AIE}} = \tau^*_{\text{AIE}} -    \frac{1 }{n h_n^2} \, \sum \limits_{i=1}^n  Q_z^{\top} U_{i}  \nu_i(W_i)  + o_p\p{\frac{1}{\sqrt{n} h_n}},
   \end{equation}
  where $\nu_i(W_i) = Y_i(W_i, p^*_{\pi}) - Z_i(W_i, p^*_{\pi}) ^{\top} [\xi_z^{-1}]^{\top} \xi_y $ and $Q_z = \xi_z^{-1} [\tau^{*,z}_\text{ADE}]$.
Furthermore, this estimator satisfies a central limit theorem
\begin{equation}
\sqrt{n}{h_n} \left ( \hat \tau_{\text{AIE}}  - \tau^*_{\text{AIE}} \right)  \Rightarrow \mathcal{N}(0,  \sigma^2_I), \ \ \ \ \sigma^2_I = Q_z^{\top} \mathbb E[\nu^2_i(W_i) \, I_{J \times J}] Q_z
\end{equation}
where  $I_{J \times J}$ is the $J \times J$ identity matrix.
  \end{theorem}

Under general patterns of interference, inference on the indirect effect is challenging \citep{savje2021average, li2022random}, and consistent estimators for the variance of the indirect effect are generally not available. There are two reasons why our paper overcomes this difficulty. Although our interference pattern is dense, it is structured in that all interference happens through the market price, and the market price forms by satisfying a score condition. This structure leads to an analytical functional form for the variance of the indirect effect, as given above. Second, with data from a richer randomized experiment that includes small price perturbations, we are able to estimate each component of this variance, and the variance for the indirect effect.

We estimate $\sigma_D^2$ and $\sigma_I^2$ via natural plug-in estimators.
Let $n_w$ denote the number of units with $W_i = w$. The variance of the direct effect can be estimated as
\begin{equation}
\label{eq:sigmaD}
\begin{split}
& \hat \sigma^2_D = \frac{1}{n} \sum \limits_{i=1}^n \left [ \frac{W_i \hat \varepsilon_i(1) }{ \hat \pi} - \frac{(1 - W_i )\hat \varepsilon_i(0)} {1 - \hat \pi} -   (\hat {\xi}_{y1} - \hat {\xi}_{y0})^{\top} [\hat {\xi}_z]^{-1} Z_i \right ]^2, \\
& \hat \varepsilon_i(w) = Y_i  - \frac{1}{n_w} \sum \limits_{i : W_i = w}  Y_i, \\
\end{split}
\end{equation}
where,
for $w \in \{0, 1\}$, $\hat {\xi}_{yw}$ is a  $J \times 1$ vector estimated from regressions of $Y_i$ on $U_i$ using only observations with indices in the set $\{ i: W_i = w \}$, and $\hat {\xi}_z $ is a $J \times J$ matrix which is computed via regressions of net demand $Z_{ij}$ on price perturbations $U_i$ for $j \in \{1, \, \ldots, J\}$ and $\hat {\xi}_y$ is a $J \times 1$ vector computed via a regression of $Y_i$ on $U_i$. Meanwhile, for the variance of the indirect effect, the natural plug-in estimator is\footnote{In Appendix \ref{ap:2ndorder}, we also describe a second order adjustment to $\hat \sigma^2_I$ that is asymptotically negligible but yields better coverage under in our experiments when the sample size is moderate.}
\begin{equation}
\label{eq:sigmaI}
\hat \sigma^2_I =   \frac{1}{n \sqrt h_n} \sum \limits_{i=1}^n  \left ( (Y_i -{ Z}_i^{\top} [\hat {\xi}^{\top}_z]^{-1}\hat { \xi}_y) U^{\top}_{i} \hat {\xi}_z ^{-1} \hat {\tau}^z_{\text{ADE}} \right)^2
\end{equation}
These variance estimates can then be paired with our asymptotic normal approximation to build confidence intervals for the direct and indirect estimates; for example, for a confidence level of 95\%, the confidence intervals are constructed as
\begin{equation}
\hat{\tau_D} \pm 1.96\cdot \frac{ \hat \sigma_D}{\sqrt n}, \ \ \ \ \ \hat{\tau_I} \pm 1.96 \cdot \frac{\hat \sigma_I}{\sqrt n h_n}.
\end{equation}
The following result verifies validity of these variance estimators.

\begin{theorem}
  \label{theo:varest}
 Under the Assumptions of Theorem \ref{theo:aieinf},  $ \hat {\sigma}^2_D \overset{p}{\to} \sigma^2_D$ and $ \hat {\sigma}^2_I \overset{p}{\to} \sigma^2_I$.
  \end{theorem}



\section{Heterogeneous Treatment Effects}
\label{sec:het}

So far, we defined a potential outcomes model that captured equilibrium interference but reduced to the Neyman-Rubin model without interference. We then used this model to define average direct and indirect treatment effects under general treatment allocation rules. In the previous section, we proposed estimators for these effects that relied on data generated from randomized trials where the treatment was assigned with constant probability. In this section, we return to general treatment rules and discuss heterogeneous effects and optimal targeting when there is interference through an equilibrium statistic.

The planner controls the (potentially randomized) treatment allocation function $\pi(\cdot): \mathcal X \rightarrow [0, 1]$ where $\pi(x)= \PP{W_i = 1 \cond X_i = x}$. The conditional expectation functions are defined as $y(w, p, x) = \mathbb E[ Y_i(w, p) \cond X_i = x]$ and $z(w, p, x) = \mathbb E[Z_i(w, p) \cond X_i = x]$. We are interested both in quantifying how relevant treatment effects vary with $x$, and how this information can be used to guide choices of $\pi(\cdot)$ that achieve better outcomes.

\subsection{Definitions of Conditional Treatment Effects Under Interference}

Under SUTVA, the conditional average treatment effect (CATE) is defined as $\tau(x) = \mathbb E[Y_i(1) - Y_i(0) | X_i = x]$ \citep{imbens2004nonparametric}.  Without interference, the optimal unconstrained targeting rule allocates treatments only to those with a positive CATE \citep{manski2004statistical}, or potentially to those whose CATE exceeds a budget-informed threshold \citep{bhattacharya2012inferring}.
Such treatment assignment rules, however, are no longer optimal under interference---and the CATE is no longer even well defined.

We begin this section by proposing two definitions of conditional estimands that play a similar role to the average direct and indirect effect, but for targeted treatments:
The Conditional Average Direct Effect (CADE) and the Conditional Average Indirect Effect (CAIE). The CADE
 \begin{equation}
 \label{eq:CADE}
  \bar \tau_{\text{CADE}}(x)  = \mathbb E[Y_i(W_i = 1; W_{-i}) - Y_i(W_i = 0; W_{-i}) | X_i = x]
 \end{equation}
 is the expected effect of treating an individual with covariate value $x$ on their own outcomes in a system of $n$ individuals. The CAIE
 \begin{equation}
  \bar  \tau_{\text{CAIE}}(x)  = (n-1) \mathbb E[Y_{j}(W_i = 1; W_{-i}) - Y_{j} (W_i =0 ; W_{-i}) | X_i = x]
 \end{equation}
 is the expected effect of treating an individual with covariate value $x$ on everyone else's outcomes in a system of $n$ individuals. These estimands are non-random quantities that depend both on the population distribution and on the market size. They are policy-relevant for settings where we expect to deploy a policy in a market of similar size and composition to the observed market. When interference is removed, the CADE is equal to the CATE, and the CAIE is zero.


We next connect these definitions of heterogeneous effects to conditional marginal effects; this result is valid under general patterns of interference. In Section \ref{sec:method}, we reported the results of  \citet{hu2021average}, showing the sum of $\tau_{\text{ADE}}$  and $\tau_{\text{AIE}}$ is equal to the effect on average outcomes of a marginal increase in each individual's treatment probability.  Proposition \ref{prop:hte} extends this result to our proposed heterogeneity measures.

\begin{proposition} \label{prop:hte}
Let $Y_i(\wvec)$ be potential outcome functions with an arbitrary sampling distribution,
and let treatment be generated as $W_i \sim \text{Bernoulli}(\pi_i)$ with treatment assignment
probabilities $0 < \pi_i < 1$ that may be dependent on the $Y_i(\wvec)$. Then,
\begin{equation}
\bar \tau_{\text{MPE}}(x) = \bar \tau_{\text{CADE}}(x) + \bar \tau_{\text{CAIE}}(x), \ \ \ \
\bar \tau_{\text{MPE}}(x) := \mathbb E \left [ \frac{\partial}{\partial \pi_k} \sum \limits_{i=1}^n \mathbb E_{\pi}[Y_i(\bm W) ]\Big | X_k = x\right].
\end{equation}
\end{proposition}

A policymaker may be interested in taking advantage of heterogeneous responses to treatment in the population by implementing a targeting rule, rather than a treatment rule with uniform probability. Proposition \ref{prop:hte} shows that the sum of the CADE and the CAIE is relevant for making the decision on which group's treatment probability to increase, and which to decrease, when the objective is maximizing expected outcomes.

The next step, in Theorem \ref{theo:hte}, is to derive the population versions of the CADE and CAIE. These are purely population estimands, defined as the limit of $\bar \tau_{\text{CADE}}$ and $\bar \tau_{\text{CAIE}}$ as the market size grows to infinity. We will show below that these quantities are relevant to treatment targeting in a market that is larger but otherwise similar to the observed market. The population estimands are also useful for deriving estimators that are consistent for both the large-market and finite-market estimands. Theorem \ref{theo:hte} shows that the population estimands have a simple and interpretable form and implies that estimators for one class of estimands are consistent for the other.

\begin{theorem} \label{theo:hte}
Under the Assumptions of Theorem \ref{theo:pop}, and the additional assumption that for all $x \in \mathcal S$, $y(w, p, x)$ and $z(w, p, x)$ is continuously differentiable in $p$ for all $p \in \mathcal S$. Then, the population conditional average direct effect is:
\begin{equation}
 \lim \limits_{n \rightarrow \infty} \bar \tau_{\text{CADE}}(x) = \tau^{*}_{\text{CADE}}(x) =  y(1, p^*_{\pi}, x) - y(0, p^*_{\pi}, x).
\end{equation}
The population conditional average indirect effect is:
\begin{equation}
\tau^*_{\text{CAIE}}(x) =   -\xi_y^{\top} \xi_z^{-1}\tau^{*,z}_{\text{CADE}}(x) , \ \ \ \
\tau^{*,z}_{\text{CADE}}(x) =  z(1, p^*_{\pi}, x) - z(0, p^*_{\pi}, x),
\end{equation}
and is the limit of $ \bar \tau_{\text{CAIE}}(x)$, where the convergence is over all sets with positive measure:
\begin{equation}
\lim \limits_{n \rightarrow \infty}  \EE{\bar \tau_{\text{CAIE}}(X) - \tau^*_{\text{CAIE}}(X) \cond X \in S}  = 0
\end{equation}
for all sets $S \subseteq \xx$ such that $\PP{X \in S} > 0$.
\end{theorem}

The population estimands have a simple form that suggests estimation strategies for the estimands $\bar \tau_{\text{CADE}}(x)$ and $\bar \tau_{\text{CAIE}}(x)$. The limit of the CADE is the direct treatment effect on outcomes conditional on $x$, holding the equilibrium price fixed. The limit of the CAIE is the direct treatment effect on net demand conditional on $x$, multiplied by an elasticity correction that does not depend on $x$. The augmented randomized experiment from Design \ref{def:aug} can be used to estimate the elasticity corrections and the conditional average treatment effects required to estimate $ \bar \tau_{\text{CADE}}(x)$ and $\bar \tau_{\text{CAIE}}(x)$.

For the elasticity corrections, the market price is an aggregate statistic, so individuals with different covariates all respond to the same market prices. A change in net demand of a given size always has the same impact on the market price. Although individuals' responses to the treatment through outcomes or net demand are heterogeneous, the elasticity correction that transforms the $\tau_{\text{CADE}}^{*,z}(x)$ to $\tau_{\text{CAIE}}^*(x)$ is unconditional. This implies that a group of individuals' effect on the system depends on their covariates only through conditional direct effects. Estimators for $\xi_y$ and $\xi_z$ from the previous section of the paper apply directly.

Below, we show that the $k$-nearest neighbor estimator is consistent for
$\tau_{\text{CADE}}^{*}(x)$; the same result also immediately holds for $\tau_{\text{CADE}}^{*,z}(x)$.
The salient fact in establishing this result is that the $k$-nearest neighbor estimator is
a difference-in-means estimator that has been localized in $X$-space; and the
proof suggests that other standard CATE estimators that are effectively localized
difference-in-means estimators, such as the causal trees of \citet{athey2016recursive},
are also consistent for the CADE. In our experiments, we use causal forests as implemented
in the \texttt{grf} package of \citet{athey2019generalized} to estimate the CADE.


\begin{theorem}
\label{theo:cade_est}
Let $N_k(x)$ be the $k$ closest observations to $x$ in terms of
covariate distance $\Norm{X_i - x}_2$, breaking ties randomly if needed.
Suppose that we collect data under Design \ref{def:rct}, and
construct the $k$-nearest neighbor estimator for $\tau_{\text{CADE}}(x)$ as
\begin{equation}
\htau_{\text{CADE}}(x) = \frac{\sum_{\cb{i \in N_k(x) : W_i = 1}} Y_i}{\abs{\cb{i \in N_k(x) : W_i = 1}}} -
\frac{\sum_{\cb{i \in N_k(x) : W_i = 0}} Y_i}{\abs{\cb{i \in N_k(x) : W_i = 0}}}.
\end{equation}
Under the assumptions of Theorem \ref{theo:hte}, suppose furthermore
that the conditional distribution of $\cb{Y_i(w, \, p), \, Z_i(w, \, p)}$ given
$X_i = x$ varies continuously in $x$. Then, given
any sequence $k \rightarrow \infty, \, k/n \rightarrow 0$, the $k$-nearest
neighbor estimator is consistent,
\begin{equation}
\htau_{\text{CADE}}(x) \rightarrow_p \tau_{\text{CADE}}^*(x),
\end{equation}
at any point $x \in \xx$ with positive local mass, i.e.,
with $\PP{\Norm{X_i - x}_2 \leq \varepsilon} > 0$ for any $\varepsilon > 0$.
\end{theorem}







\subsection{Equilibrium-Stable Targeting}
\label{sec:eqmstable}

The results of the previous section imply that estimates of $\tau_{\text{CADE}}^*(x)$ and $\tau_{\text{CAIE}}^*(x)$
could be used to (locally) optimize an unconstrained targeting policy. There are a variety of constrained targeting rules that may be of interest. Here, we focus on one specific question of this type, namely what is the optimal
treatment assignment policy that does not move equilibrium prices relative to those seen in the experiment?
There are two reasons to consider this class of targeting rules. First, a conservative policymaker may be
reluctant to significantly modify the equilibrium---even if it is beneficial on average to individuals---and
so they may want to know how much they can improve outcomes without changing the equilibrium. Second, from a
practical point of view, we find that the answer to this question admits a simple econometric strategy, and
can be answered without needing to estimate price elasticities and without recourse to an augmented experimental
design. Instead, the optimal equilibrium-stable targeting rule (and its performance) can be estimated using
data from a baseline RCT following Design \ref{def:rct}, as long as the RCT collects outcome and relevant
supply and demand data at an individual level.


The optimization problem for the equilibrium-stable policy is to find a new policy $\nu(\cdot)$ that maximizes expected outcomes in the population, while maintaining the population equilibrium price obtained under the policy $\pi(\cdot)$, i.e., $p^*_{\pi}$. The value of a given policy $\nu(\cdot)$ is:
\begin{equation}
\label{eq:target_mean_field}
V(\nu) =  \limn \EE{\EE[\nu]{Y_i}} = \EE{(1 - \nu(X_i)) Y_i(0, \, p^*_\nu) + \nu(X_i) Y_i(1, \, p^*_\nu) },
\end{equation}where $\EE[\nu]{Y_i}$ denotes expected rewards under the considered new policy $\nu(\cdot)$. The optimal policy is defined as
\begin{equation}\label{eqn:target}
\nu^*(\cdot) = \stackrel[{\nu \, : \, \xx \rightarrow [0, \, 1]}]{}{\argmax} \cb{  V(\nu):  p^*_{\nu} = p^*_{\pi} },
\end{equation}
where $p^*_{\nu}$ is the population equilibrium price under $\nu(\cdot)$.

When the targeting policy is restricted to have
the same equilibrium effect as a baseline policy, then solving for that optimal policy takes
the form of a linear optimization problem.

\begin{proposition}\label{prop:opt}
Under the assumptions of Theorem \ref{theo:pop},
optimizing the target \eqref{eq:target_mean_field} across all asymptotically
equilibrium-stable policies is equivalent to solving the following linear optimization problem:
\begin{equation}
\label{eq:LP_raw}
\nu^*(\cdot) = \stackrel[{\nu \, : \, \xx \rightarrow [0, \, 1]}]{}{\argmax} \cb{\EE{\nu(X_i) \, \tau^*_{\text{CADE}}(X_i)} : \EE{\p{\nu(X_i) - \pi(X_i)} \tau^{*,z}_{\text{CADE}}(X_i)} = 0}.
\end{equation}
\end{proposition}

The above reveals that we can solve for the optimal price-stable policy without
access to price elasticities. Thus, we can obtain a plug-in estimate for the
optimal rule using CADE estimates derived from an RCT without price perturbations
as in Design \ref{def:rct}; recall that the CADE itself can be identified without
price perturbations (Theorem \ref{theo:cade_est}).
Furthermore, following \citet{dantzig1951fundamental}, we can verify that
its solution takes on a simple parametric
form: The optimal price-stable policy is a thresholding rule that compares
the CADE for the outcomes against a shadow cost of net demand effects
$ c \cdot \tau_{\text{CADE}}^{*,z}(x)$, where $c \in \RR^J$ can be interpreted
as a shadow-price vector.


\begin{theorem} \label{theo:ratio}
Under the conditions of Proposition \ref{prop:opt}, there exists a vector $c \in \RR^J$
for which the asymptotic equilibrium-stable targeting problem \eqref{eq:LP_raw} admits a solution $\nu(\cdot)$ with the following property:
$\nu(x) = 1$ whenever $\tau^{*}_{\text{CADE}}(x)  > c^{\top} \, \tau_{\text{CADE}}^{*,z}(x)$ and
$\nu(x) = 0$ whenever $\tau^{*}_{\text{CADE}}(x)  < c^{\top} \, \tau_{\text{CADE}}^{*,z}(x)$. Furthermore,
if there exists $b \in [0, 1]$ for which the policy
\begin{equation}
\label{eq:nuca}
\nu_{c,b}(x) = \begin{cases}
1& \text{if} \ \ \tau^{*}_{\text{CADE}}(x)  > c^{\top} \, \tau_{\text{CADE}}^{*,z}(x), \\
b  & \text{if} \ \ \tau^{*}_{\text{CADE}}(x)  = c^{\top} \, \tau_{\text{CADE}}^{*,z}(x), \\
0 & \text{else,}
\end{cases}
\end{equation}
satisfies the constraints in \eqref{eq:LP_raw}, then this policy is optimal.
\end{theorem}

We can estimate the optimal equilibrium-neutral rule by finding a rule that meets an empirical version of the conditions in Theorem \ref{theo:ratio}, where $\tau^{*}_{\text{CADE}}(x)$ and $ \tau_{\text{CADE}}^{*,z}(x)$ are replaced with appropriate estimators. With consistent estimators of the conditional average direct effects, such as the estimator proposed in Theorem \ref{theo:cade_est}, then the estimated equilibrium-neutral rule is consistent for the population equilibrium-neutral rule under some smoothness assumptions on the distribution of conditional average treatment effects. A description of the estimation procedure and a formal consistency result is provided in Appendix \ref{as:target_con}.

The targeting rule in Theorem \ref{theo:ratio} takes on a particularly simple form
when we only have $J = 1$ good, and the intervention has a crowding-out type structure
where direct effects are positive but spillovers are negative,
$\tau^{*}_{\text{CADE}}(x) > 0$ and $\tau_{\text{CADE}}^{*,z}(x) < 0$. In this case,
the optimal price-stable targeting rule will be of the form
\begin{equation}
\nu^*(x) = 1\p{\cb{\frac{\tau^{*}_{\text{CADE}}(x)}{-\tau^{*,z}_{\text{CADE}}(x)} > c}}
\end{equation}
with potential random tie-breaking at the cutoff. In other words, we want to give treatment
to units whose direct effects are large relative to corresponding spillovers; we then
pick $c$ to satisfy the price-stability constraint. This
algorithmic structure is familiar from the literature on cost-sensitive treatment
targeting \citep[e.g.,][]{sun2021treatment}.



\section{Example: Cash-Transfer Experiments}
\label{sec:sim}


In this section, we estimate a simple model of the direct and indirect impacts of a conditional cash transfer on children's health outcomes in the Philippines using data from \citet{filmer2023}. We use data simulated from the model to illustrate the performance of the average direct and indirect treatment effect estimators and the estimated targeting rule proposed in this paper.
\citet{filmer2023} use a village-level, cluster-randomized experiment to analyze the effect of the Pantawid conditional cash transfer program on young children's health outcomes. The program provides a monthly sum for eligible families, where the amount depends on the number of children in the household. Families are eligible if they meet a proxy means test and have either children under 14 years of age or a pregnant woman in the household. The authors show that the health of eligible children in treated villages is better than in control villages. However, children whose families are ineligible for the transfer are worse off in treated villages compared to control villages.

The authors argue that this phenomenon is due to spillover effects, which largely arise from equilibrium effects in the market for perishable protein sources. Specifically, the authors provide evidence that eggs, which are a commonly consumed perishable protein source in the Philippines, have higher prices in treated compared to control villages where saturation of eligible households is high. This price effect is explained by the increase in demand for protein from eligible families and inelastic supply in remote villages. The higher prices in treated villages lead ineligible children to consume less protein, which explains a significant proportion of the negative effect of the cash transfer program on ineligible children. It thus appears that Assumption \ref{as:interference} is reasonable, in that the spillovers described in detail by the authors are restricted to those that occur through market prices.


\subsection{Treatment Effects in a Village Economy}
\label{sec:sim_exp}

Under the assumption that markets in remote villages are isolated from one another, the village-level randomized experiment allowed \citet{filmer2023} to recover treatment effects that include equilibrium effects.
The total effect $\tau_{\text{TOT}}$ could be estimated using data from the cluster-randomized experiment by comparing the average outcomes of all children in treated compared to control villages.
In this paper, in contrast, our focus is on randomized experiments where only a single market is observed, but randomization is possible at the household level. While our econometric setting is different from that of \citet{filmer2023}, we can use their dataset to conduct a calibrated evaluation of our approach. We first use moments from the cluster-randomized experiment in \citet{filmer2023} to estimate a model of supply, demand, and children's outcomes in a single remote village market. Then, we use this model to simulate a single-village, unit-randomized experiment, and assess the ability of our estimators of the average direct and indirect treatment effects to recover equilibrium effects from this simulated experiment.

Let $i \in \{1, \, \ldots, n \}$ index the people in the village and $h \in \{1, \, \ldots n_h \}$ index the households in the village. For each $h \in \{1, \, \ldots, n_h \}$, $A^h$ is a set of integers containing the indexes of the people that are part of household $h$ and $C^h$ is a set of integers containing the indexes of the children aged 0-5 that are part of household $h$. $h(\cdot)$ is a map that provides the household index given a person's index. The binary treatment $W_h \in \{0, 1\}$ is assigned at the household level. $E_h \in \{0, 1\}$ indexes the eligibility for a household.
We assume that individual demand in eggs per week is determined by the following linear equation, where $p$ is the price of eggs:
\[ D_i(W_h, p) = \theta_{d01} \cdot E_{h(i)} + \theta_{d00} \cdot ( 1- E_{h(i)})  + \theta_{dw} \cdot W_{h(i)} \cdot E_{h(i)} + \theta_{dp} \cdot p + \varepsilon_{d, h(i)} + \nu_{d, i}(W_i), \]
where the household and individual-level error terms are normally distributed. Demand for eggs is increased for eligible adults and children in households that receive the Pantawid conditional cash transfer. Demand also responds to the market price of eggs.

We assume that the aggregate supply  per person in the village is responds linearly
to prices, $S(p) = \theta_{s0} + \theta_{sp} \cdot p$.
This formulation assumes that the village supply is not directly affected by the treatment; in \citet{filmer2023}, the authors argue that egg supply in the Philippines is dominated by larger commercial producers, which makes this a reasonable assumption.

Our target outcome is the height-for-age Z-score for children between 0 and 5 years of age. For our
evaluation, we assume that these outcomes are generated as
\[ Y_i (W_{h(i)}, p)  = \theta_{y01}E_{h(i)} + \theta_{y00} (1 - E_{h(i)}) + \theta_{yd} D_i(W_{h(i)}, p) + \theta_{yw} W_{h(i)} + \varepsilon_{y, h(i)} + \nu_{yi}(W_i),  \]
where the household and individual-level error terms are normally distributed. Consumption of a perishable protein source increases child-level health outcomes. The conditional cash transfer also has impact on health metrics through other factors, which is captured by $\theta_{yw}$.

For the purpose of our analysis, we aggregate individual level outcomes at the household level:
\begin{equation}
\label{eqn:aggh}
 D_h(W_h, p) = \frac{n_h}{n} \sum \limits_{i \in A^h}  D_i(W_h, p), \qquad Y_h(W_h, p) = \frac{n_h}{n_c} \sum \limits_{i \in C^h} Y_i(W_{h(i)}, p).
 \end{equation}
The factor $\frac{n_h}{n}$ ensures that average treatment effects on household-level demand can be interpreted as the treatment effect on eggs consumed per-person in the village. The factor $\frac{n_h}{n_c}$ ensures that average treatment effects on household-level outcomes can be interpreted as the treatment effect per child aged 0 to 5 in the village. The realized egg price in the market matches aggregate supply and demand:
\[ \frac{1}{n_h} \sum \limits_{h=1}^{n_h} D_h(W_{h(i)}, P(\bm W)) = S(P(\bm W)) \] Given a treatment vector $\bm W$, the realized household-level outcomes are $Y_h(\bm W) = Y_h(W_h, P(\bm W))$ and household level net demand is $Z_h(\bm W) = D_h(\bm W, P(\bm W)) - S(P(\bm W))$.

The 10 parameters in this model are estimated by matching 10 moments from a subset of the data in \citet{filmer2023}, restricted to households in villages above the 70th percentile of the remoteness index defined in the paper, where equilibrium effects were most meaningful. The 10 moments are:
\begin{itemize}
\item  Average outcomes and demand for eggs for eligible and ineligible children in control villages;
\item The average price of eggs in treated villages and control villages;
\item The elasticity of demand for eggs in the Philippines reported in the paper;
\item The total treatment effect on outcomes and demand for eligible children;
\item The ratio of total treatment effects on outcomes and demand for ineligible children.
\end{itemize}
The total treatment effect here is the difference in average outcomes (or demand) in treated versus control villages. The estimation details and the estimated parameters of the model are reported in Appendix \ref{app:sim}.

Figure \ref{fig:curve} shows that aggregate demand in the village is decreasing in price, but is shifted upward by the cash transfer when eligible families are treated. Supply is increasing in price but is inelastic enough to explain the shift in prices observed in the data in treated villages. Figure \ref{fig:gte}  shows the distribution of $\tau_{\text{ADE}}$ and $\tau_{\text{TOT}}$, simulated using repeated samples of a village of 1000 households from the model. In this linear model, $\tau_{\text{TOT}} = \tau_{\text{MPE}}$. An RCT estimates the direct effect, which is more than 50\% higher than the total effect. Figure \ref{fig:curve} explains why the direct effect and the total effect are so different in this setting. The treatment raises demand for eggs among treated families, which impacts the market-clearing price for the treated market compared to the control market. Holding  food prices fixed, the effect of the treatment is a large positive increase in health outcomes. However, when the effect on food prices is taken into account, which impacts both eligible and ineligible children, the total treatment effect is much lower.







\begin{figure}

\centering
  \begin{subfigure}[b]{0.8\textwidth}
         \centering
         \includegraphics[width=\textwidth]{fig1a_annotate.pdf}
         \caption{Estimated expected demand and supply under treatment and control. Prices are per egg in local currency. }
         \label{fig:curve}
     \end{subfigure}
     \begin{subfigure}[b]{0.7\textwidth}
         \centering
         \includegraphics[width=\textwidth]{fig1b.pdf}
         \caption{Smoothed empirical distribution of the average direct effect $\tau_{\text{ADE}}$ and the total effect $\tau_{\text{TOT}}$ for samples of a village of $1,000$ households.}
         \label{fig:gte}
     \end{subfigure}
     \hfill
     \caption{Illustration of the gap between $\tau_{\text{ADE}}$ and $\tau_{\text{TOT}}$ in the village market model. The intervention has both a direct effect on children's health and an offsetting indirect effect through increased food prices.}
\end{figure}


In Table \ref{tab:coverage}, we show that both the direct and the indirect effect are estimable in finite samples using our proposed unit level augmented experiment. The size of the price-shifters in the simulated experiment is 0.15 Philippine pesos per egg, which is less than 2.5\% of the market price. We report the results of a Monte Carlo simulation with 1,000 repetitions and a sample size of 2,000 households to evaluate the bias, variance, and coverage properties of the estimators and confidence intervals for $\hat \tau_{\text{ADE}}$ and $\hat \tau_{\text{AIE}}$. The table illustrates that the bias of the average direct effect and indirect effect estimator based on the augmented randomize experiment are low in finite samples. Furthermore, the coverage when $\hat \sigma_D$ and $\hat \sigma_I$ are used to construct confidence intervals in finite samples is slightly above the asymptotic confidence level of 95\% for both population estimands. As expected from Theorem \ref{theo:sade}, intervals that target $\tau^*_{\text{ADE}}$ are conservative for $\tau_{\text{ADE}}$.  For the AIE, in simulations the coverage for the sample estimand is also more conservative than for the population estimand. In this simple linear model, $\nabla_p y(1, p) = \nabla_p y(0, p)$, so $\Delta_i(W_i, p) = 0$ in \eqref{eq:saded}, and confidence intervals for differences in means estimation that ignore price fluctuations are asymptotically valid. The augmented randomized experiment, however, is required to estimated the AIE in this model and to build asymptotically valid confidence intervals for the ADE in more general settings with additional heterogeneity and non-linearity.

\begin{table} [t]
\centering
\begin{tabular}{lrrrrr}
\toprule
 & Estimate & Bias & S.D. & Coverage for $\tau$ & Coverage for $\tau^*$ \\
\midrule
$\hat\tau_{\text{ADE}}$ & 0.317 & -0.005 & 0.123 & 0.965 & 0.959 \\
$\hat\tau_{\text{AIE}}$ & -0.132 & 0.002 & 0.082 & 0.964 & 0.961 \\
\bottomrule
\end{tabular}
\caption{Monte Carlo Simulation Results for $\hat \tau_{\text{ADE}}$ and $\hat \tau_{\text{AIE}}$ for a sample of $n=2,000$ and $1,000$ repetitions \label{tab:coverage}}
\end{table}

\subsection{Heterogeneous Treatment Effects in the Model}
\label{sec:sim_het}



In the setting of \citet{filmer2023}, there may be heterogeneity in both outcome and demand effects that is correlated with observed pre-treatment covariates. If so, a targeting rule can improve outcomes compared to a randomized rule that induces the same equilibrium. Since the replication package did not contain data on pre-treatment household characteristics that can be matched to post-treatment data, we cannot estimate heterogeneous treatment effects directly. Instead, we augment the model in Section \ref{sec:sim_exp} with an additional 10 generated household-level covariates that are observed by the planner, and a set of four heterogeneous household types that are correlated with the generated  covariates but unobserved. These household types are generated purely for this simulation exercise and are not calibrated to real data. Household Type A has the same data-generating process in the previous section. Household Type B is especially focused on their children, and purchases enough food that outcomes improve even more than for Type A. For Household Type C, which makes up a small percentage of the households, increased cash is not beneficial for child health outcomes, as it makes consuming some welfare-decreasing product possible for adults, and the budget share of food of the household decreases. For Household Type D, there is a small positive effect on children's health outcomes, but a large effect on demand for the perishable protein source; in these houses, adults consume most of the additional food that is purchased with the cash transfer. The details of the augmented model are in Appendix \ref{app:sim}. Then, we estimate the optimal equilibrium-stable targeting rule on data simulated from this model.


In Figure \ref{fig:empirical}, we illustrate the optimal rule estimated using a sample of 5,000 households. Ignoring equilibrium effects, a good targeting rule would allocate treatment to those individuals who are estimated to have a positive CADE. Here, however, this rule would result in a larger impact on perishable food demand compared to the RCT since, on average, those who increase their children's health using the cash transfer also increase their consumption of perishable food. In contrast, the optimal rule that respects the equilibrium constraint allocates treatment to those with $\hat \tau_{\text{CADE}}(X_i) > c\hat  \tau^z_{\text{CADE}} (X_i)$. We can see that for the most part, it is those with a positive CADE that are treated. However, households of Type D consume a lot of additional perishable food without raising a child's health outcomes  very much.  Dropping some of these households  from the equilibrium-stable targeting rule allows the planner to target more households from Type B while keeping the equilibrium food price stable.

\begin{figure}
\centering
\includegraphics[width = 0.7\textwidth]{fig2.pdf}
\caption{A scatter-plot of an estimate of  $\tau_{\text{CADE}}(X_i)$ and $\tau^z_{\text{CADE}}(X_i)$ for a sample of 125 households, estimated using the causal forest of \citet{athey2019generalized}. Overlaid is the optimal equilibrium-stable targeting rule, computed by solving a plug-in version of the linear program in Proposition \ref{prop:opt} on a sample of 5,000 households, which takes the form of the rule in Theorem \ref{theo:ratio}.}
\label{fig:empirical}
\end{figure}


\begin{table}
\centering
\begin{tabular}{lrrr}
\toprule
 & \textbf{Target-Optimal} & \textbf{Target-Direct} & \textbf{Target-Random} \\
\midrule
Estimated Height-For-Age Z-Score & -1.749 & -1.925 & -2.112 \\
Standard Deviation & 0.09 & 0.092 & 0.026 \\
\bottomrule
\end{tabular}
\caption{The first row is the average height-for-age Z-Score of children aged 0-5 in a test sample of 5,000 households, where outcomes are simulated from the model in Section \ref{app:het} under three different treatment rules, averaged across 50 simulations. For each of the 50 simulations, the treatment rules are estimated on a training sample of 5,000 samples. The second row is the standard deviation of the average outcomes across the 50 simulations. \textbf{Target-Random} treats a random 55\% of eligible households. \textbf{Target-Optimal} treats households according to treatment rule that solves an empirical version of the linear program in Section \ref{sec:eqmstable}, with $\hat \tau_{\text{CADE}}(x)$ and $\hat \tau^z_{\text{CADE}}(x)$ estimated using a causal forest. The equilibrium constraint ensures that the equilibrium price is the same as the Target-Random rule in the training sample. \textbf{Target-Direct} treats eligible households according to  $\tilde \pi(x) = \hat \alpha \cdot  \mathbbm{1} (\hat \tau_{\text{CADE}}(x) > 0)$. $\hat \alpha$ is chosen so that, in the training data, the total net demand under $\tilde \pi$ is equal to the total net demand under Target-Random.
\label{tab:empirical}}
\end{table}

We then evaluate the optimal equilibrium stable rule by estimating the rule using the procedure in Section \ref{sec:eqmstable} on a training sample of 5,000 households, and then evaluating the expected value of that rule numerically on a separated simulated dataset of 5,000 households. The results are reported in Table \ref{tab:empirical}. Note that our health outcome, which is average Z-Scores of children under  5 years in the simulated village, is negative since children living in remote and isolated villages in the Philippines are smaller than average. The closer Z-scores are to zero, the more a targeting rule has improved health outcomes for young children in the simulated village.

Compared to Target-Random, Target-Direct avoids treating some of the few households for  which the cash transfer is not beneficial, which improves outcomes by 8.9\%. However, for equilibrium stability, $\hat \alpha < 1$, and the rule does not distinguish between households based on their demand for the perishable protein source. Target-Optimal has improved health outcomes since it treats more households with a large positive direct effect on outcomes and avoids treating households for which the treatment has a small impact on outcomes but a large impact on demand. It improves health outcomes by 17\% compared to Target-Random.


\section{Discussion}
\label{sec:conc}

Analyzing the performance of randomized control trials in settings with equilibrium effects is needed given the rapid growth of experimentation both in practice and in research studies. The Neyman-Rubin framework that relies on SUTVA rules out interaction effects that can have an important impact on decision-relevant treatment effects. A parametric structural model may capture a variety of complex equilibrium effects, but is not robust to misspecification, which can be problematic when individuals behave in complex and heterogeneous ways. A model of treatment effects under general patterns of interference is intractable without clustering or other assumptions.

This paper shows that it is fruitful to marry ex-ante knowledge about the structure of an economic environment with a non-parametric stochastic model of treatment effects under interference.  This leads to a characterization of asymptotic properties of treatment effects and estimators of those treatment effects based on new and existing experimental designs that are robust to a wide range of modeling choices. Results on estimation, inference, and optimal targeting in complex environments with some economic structure imposed can then be easily compared with the large body of work that studies causal inference under SUTVA.

Our results on the direct effect and on targeting rely on the assumption that all
spillovers are mediated by the prices of a finite number of traded goods; our
results for the indirect effect and for inference further rely on us being able to
exogenously apply small shifts to the prices that different market participants
are exposed to. As discussed in the previous section, such assumptions may be
relevant to experiments run in communities with self-contained markets.
\citet{aouad2024digitized} describe an experimental setting where researchers
open a subsidy store that they then use to randomize subsidy eligibility at
the unit level; and experiments of this type could plausibly also integrate
small, random price perturbations. Another class of applications our methods
are a natural fit for are online platforms for ride sharing, freelance labor,
short-term rentals, etc. Price-mediated spillovers are of central importance
when experimenting in such systems; for example, in ride sharing, both drivers and riders
respond to the average price of a mile and/or minute of transportation, and
both supply- and demand-side interventions may alter the market-clearing price
for transportation. Furthermore, technology companies running such platforms
have already documented willingness to run experiments comparable to the price
perturbations we describe, e.g., via random discounts or bonuses \citep{castillo2023,holtz2024reducing}.
There remains, however, a large class of settings where our methods cannot
be applied, e.g., when spillovers are not mediated via observed equilibrium
quantities \citep[e.g.,][]{cai2015social,manski1993identification}, or in
matching problems where equilibrium dynamics play a key role \citep{li2023experimenting}.


There are a variety of avenues for future work  possible. One limitation of our approach is that we analyze the large sample limit of the market place where the number of suppliers and the number of buyers grow large; an analysis of experiments in settings where firms have significant market power would likely require different techniques. A related potential direction for extending our results would be to allow for the market to depend on prices of a continuum of goods, e.g., localized prices that vary continuously in space. In general, extending our results to a broader class of equilibrium mechanisms would be of considerable interest.



\setlength{\bibsep}{0.2pt plus 0.3ex}

\singlespacing
\bibliographystyle{plainnat-abbrev}
{\footnotesize
\bibliography{../../glsBib.bib}
}

\newpage