Recursive Partitioning for Heterogeneous Causal Effects

Susan Athey, Guido Imbens

The Problem

We consider a setup where there are NN units, indexed by i=1,…,Ni=1,\ldots,N. We postulate the existence of a pair of potential outcomes for each unit, (Yi(0),Yi(1))(Y_{i}(0),Y_{i}(1)) (following the potential outcome or Rubin Causal Model , , , with the unit-level causal effect defined as the difference in potential outcomes, τi=Yi(1)−Yi(0).\tau_{i}=Y_{i}(1)-Y_{i}(0). Let Wi∈{0,1}W_{i}\in\{0,1\} be the binary indicator for the treatment, with Wi=0W_{i}=0 indicating that unit ii received the control treatment, and Wi=1W_{i}=1 indicating that unit ii received the active treatment. The realized outcome for unit ii is the potential outcome corresponding to the treatment received:

Let XiX_{i} be a KK-component vector of features, covariates or pretreatment variables, known not to be affected by the treatment. Our data consist of the triple (Yiobs,Wi,Xi)(Y_{i}^{\rm obs},W_{i},X_{i}), for i=1,…,Ni=1,\ldots,N, which are regarded as an i.i.d sample drawn from a large population. Expectations and probabilities will refer to the distribution induced by the random sampling, or by the (conditional) random assignment of the treatment. We assume that observations are exchangeable, and that there is no interference (the stable unit treatment value assumption, or sutva ). This assumption may be violated in settings where some units are connected through networks. Let p=pr(Wi=1)p={\rm pr}(W_{i}=1) be the marginal treatment probability, and let e(x)=pr(Wi=1∣Xi=x)e(x)={\rm pr}(W_{i}=1|X_{i}=x) be the conditional treatment probability (the “propensity score” as defined by ). In a randomized experiment with constant treatment assignment probabilities e(x)=pe(x)=p for all values of xx.

2 Unconfoundedness

Throughout the paper, we maintain the assumption of randomization conditional on the covariates, or “unconfoundedness” (), formalized as:

This assumption, sometimes referred to as “selection on observables” in the econometrics literature, is satisfied in a randomized experiment without conditioning on covariates, but also may be justified in observational studies if the researcher is able to observe all the variables that affect the unit’s receipt of treatment and are associated with the potential outcomes.

To simplify exposition, in the main body of the paper we maintain the stronger assumption of complete randomization, whereby Wi⊥ ⁣ ⁣ ⁣⊥(Yi(0),Yi(1),Xi)W_{i}\perp\!\!\!\perp(Y_{i}(0),Y_{i}(1),X_{i}). Later we show that by using propensity score weighting , we can adapt all of the methods to that case.

3 Conditional Average Treatment Effects and Partitioning

Define the conditional average treatment effect (CATE)

Honest Inference for Population Averages

The potential bias in leaf estimates from adaptive estimation can be seen in this simple example. While Y‾L−Y‾R\overline{Y}_{L}-\overline{Y}_{R} is in general an unbiased estimator for the difference in the population conditional means μ(L)−μ(R)\mu(L)-\mu(R), if we condition on finding that Y‾L−Y‾R≥c\overline{Y}_{L}-\overline{Y}_{R}\geq c in a particular sample, we expect that Y‾L−Y‾R\overline{Y}_{L}-\overline{Y}_{R} is larger than the population analog.

Given a partition Π{\Pi}, define the conditional mean function μ(x;Π)\mu(x;{\Pi}) as

which can be viewed as a step-function approximation to μ(x)\mu(x). Given a sample S{\cal S} the estimated counterpart is

which is unbiased for μ(x;Π)\mu(x;{\Pi}). We index this estimator by the sample because we need to be precise which sample is used for estimation of the regression function.

2 The Honest Target

The (adjusted) expected mean squared error is the expectation of MSE(Ste,Sest,Π){\rm MSE}({\cal S}^{\rm te},{\cal S}^{\rm est},{\Pi}) over the test sample and the estimation sample:

where the test and estimation samples are independent. In the algorithms we consider, we will consider a variety of estimators for the (adjusted) EMSE, all of which take the form of MSE estimators MSE(Ste,Sest,Π){\rm MSE}({\cal S}^{\rm te},{\cal S}^{\rm est},{\Pi}), evaluated at the units in sample Ste{\cal S}^{\rm te}, with the estimates based on sample Sest{\cal S}^{\rm est} and the tree Π{\Pi}. For brevity in this paper we will henceforth omit the term “adjusted” and abuse terminology slightly by referring to these objects as MSE functions.

Our ultimate goal is to construct and assess algorithms π(⋅)\pi(\cdot) that maximize the “honest” criterion

Note that throughout the paper we focus on maximixing criterion functions, which typically involve the negative of mean-squared-error expressions.

3 The Adaptive Target

In the conventional CART approach the target is slightly different:

where the same training sample is used to construct and estimate the tree. Compared to our target QH(π)Q^{H}(\pi) the difference is that in our approach different samples Str{\cal S}^{\rm tr} and Sest{\cal S}^{\rm est} are used for construction of the tree and estimation of the conditional means respectively. We refer to the conventional CART approach as “adaptive,” and our approach as “honest.”

In practice there will be costs and benefits of the honest approach relative to the adaptive approach. The cost is sample size; given a data set, putting some data in the estimation sample leaves fewer units for the training data set. The advantage of honest estimation is that it avoids a problem of adaptive estimation, which is that spurious extreme values of YiY_{i} are likely to be placed into the same leaf as other extreme values by the algorithm π(⋅)\pi(\cdot), and thus the sample means (in sample Str{\cal S}^{{\rm tr}}) of the elements of π(Str)\pi({\cal S}^{\rm tr}) are more extreme than they would be in an independent sample.

4 The Implementation of CART

There are two distinct parts of the conventional CART algorithm, initial tree building and cross-validation to select a complexity parameter used for pruing. Each part of the algorithm relies on a criterion function based on mean-squared error. In this paper we will take as given the overall structure of the CART algorithm (e.g., , ), and our focus will be on modifying the criteria.

In the tree-building phase, CART recursively partitions the observations of the training sample. For each leaf, the algorithm evaluates all candidate splits of that leaf (which induce alternative partitions Π\Pi) using a “splitting” criterion that we refer to as the “in-sample” goodness of fit criterion −MSE(Str,Str,Π)-{\rm MSE}({\cal S}^{{\rm tr}},{\cal S}^{{\rm tr}},{\Pi}). It is well-understood that the conventional criterion leads to “over-fitting,” a problem that is solved by cross-validation to select a penalty on tree depth. The in-sample goodness of fit criterion will always improve with additional splits, even though additional refinements of a partition Π{\Pi} might in fact increase the expected mean squared error, especially when the leaf sizes become small. The reason is that the criterion ignores the fact that smaller leaves lead to higher-variance estimates of leaf means.

To account for this factor, the conventional approach to avoiding “overfitting” is to add a penalty term to the criterion that is equal to a constant times the number of splits, so that essentially we only consider splits where the improvement in a goodness-of-fit criterion is above some threshold. The penalty term is choosen to maximize a goodness of fit criterion in cross-validation samples. In the conventional cross-validation the training sample is repeatedly split into two subsamples, the Str,tr{\cal S}^{{\rm tr},{\rm tr}} sample that is used to build a new tree as well as estimate the conditional means and the Str,cv{\cal S}^{{\rm tr},{\rm cv}} sample that is used to evaluate the estimates. We “prune” the tree using a penalty parameter that represents the cost of a leaf. We choose the optimal penalty parameter by evaluating the trees associated with each value of the penalty parameter. The goodness of fit criterion for cross-validation can be written as −MSE(Str,cv,Str,tr,Π).-{\rm MSE}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}). Note that the cross-validation criterion directly addresses the issue we highlighted with the in-sample goodness of fit criterion, since Str,cv{\cal S}^{{\rm tr},{\rm cv}} is independent of Str,tr{\cal S}^{{\rm tr},{\rm tr}}, and thus too-extreme estimates of leaf means will be penalized. The issue that smaller leaves lead to noisier estimates of leaf means is implicitly incorporated by the fact that a smaller leaf penalty will lead to deeper trees and thus smaller leaves, and the noisier estimates will lead to larger average MSE{\rm MSE} across the cross-validation samples.

5 Honest Splitting

In our honest estimation algorithm, we modify CART in two ways. First, we use an independent sample Sest{\cal S}^{\rm est} instead of Str{\cal S}^{\rm tr} to estimate leaf means. Second (and closely related), we modify our splitting and cross-validation criteria to incorporate the fact that we will generate unbiased estimates using Sest{\cal S}^{\rm est} for leaf estimation (eliminating one aspect of over-fitting), where Sest{\cal S}^{\rm est} is treated as a random variable in the tree building phase. In addition, we explicitly incorporate the fact that finer partitions generate greater variance in leaf estimates.

To begin developing our criteria, let us expand EMSE(Π){\rm EMSE}({\Pi}):

We wish to estimate −EMSE(Π)-{\rm EMSE}({\Pi}) on the basis of the training sample Str{\cal S}^{\rm tr} and knowledge of the sample size of the estimation sample NestN^{\rm est}. To construct an estimator for the second term, observe that within each leaf of the tree there is an unbiased estimator for the variance of the estimated mean in that leaf. Specifically, to estimate the variance of μ^(x;Sest,Π)\hat{\mu}(x;{\cal S}^{\rm est},{\Pi}) on the training sample we can use

To estimate the average of the squared outcome μ2(x;Π)\mu^{2}(x;{\Pi}) (the first term of the target criterion), we can use the square of the estimated means in the training sample μ^2(x;Π)\hat{\mu}^{2}(x;{\Pi}), minus an estimate of its variance,

Combining these estimators leads to the following unbiased estimator for EMSE(Π){\rm EMSE}({\Pi}), denoted EMSE^(Str,Nest,Π)\widehat{{\rm EMSE}}({\cal S}^{\rm tr},N^{\rm est},{\Pi}):

In practice we use the same sample size for the estimation sample and the training sample, so we use as the estimator

Comparing this to the criterion used in the conventional CART algorithm, which can be written as

the difference comes from the terms involving the variance. In the prediction setting the adjustment makes very little difference. Because of the form of the within-leaf sample variances, it follows that the gain from a particular split according to the unadjusted criterion MSE(Str,Str,Π){\rm MSE}({\cal S}^{\rm tr},{\cal S}^{\rm tr},{\Pi}) is proportional to the gain based on EMSE^(Str,Π)\widehat{{\rm EMSE}}({\cal S}^{\rm tr},{\Pi}), with the constant of proportionality a function of the leaf size. Thus, in contrast to the treatment effect case discussed below, the variance adjustment does matter much here.

6 Honest Crossvalidation

Even though EMSE^(Str,Π)\widehat{{\rm EMSE}}({\cal S}^{\rm tr},{\Pi}) is approximately unbiased as an estimator of our ideal criterion EMSE(Π){\rm EMSE}({\Pi}) for a fixed Π{\Pi}, it is not unbiased when we use it repeatedly to evaluate splits using recursive partitioning on the training data Str{\cal S}^{\rm tr}. The reason is that initial splits tend to group together observations with similar, extreme outcomes. So after the training data has been divided once, the sample variance of observations in the training data within a given leaf is on average lower than the sample variance would be in a new, independent sample. Thus, EMSE^(Str,Π)\widehat{{\rm EMSE}}({\cal S}^{\rm tr},{\Pi}) is likely to overstate goodness of fit as we grow a deeper and deeper tree, implying that cross-validation can still play an important role with our honest estimation approach, though perhaps less so than in the conventional CART.

Because the conventional CART cross-validation criterion does not account for honest estimation we consider the analogue of our unbiased estimate of the criterion, which accounts for honest estimation by evaluating a partition Π{\Pi} using only outcomes for units from the cross-validation sample Str,cv{\cal S}^{{\rm tr},{\rm cv}}:

This estimator for the honest criterion is unbiased, although it may have higher variance than MSE(Str,cv,Str,tr,Π){\rm MSE}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}) due to the small sample size of the cross-validation sample.

Honest Inference for Treatment Effects

In this section we change the focus to estimating conditional average treatment effects instead of estimating conditional population means. We refer to the estimators developed in this section as “Causal Tree” (CT) estimators. The setting with treatment effects creates some specific problems because we do not observe the value of the treatment effect whose conditional mean we wish to estimate. This complicates the calculation of the criteria we introduced in the previous section. However, a key point of this paper is that we can estimate these criteria and use those estimates for splitting and cross-validation.

We now observe in each sample the triple (Yiobs,Xi,Wi)(Y^{\rm obs}_{i},X_{i},W_{i}). For a sample S{\cal S} let Streat{\cal S}_{\rm treat} and Scontrol{\cal S}_{\rm control} denote the subsamples of treated and control units respectively, with cardinality NtreatN_{\rm treat} and NcontrolN_{\rm control} respectively, and let p=Ntreat/Np=N_{\rm treat}/N be the share of treated units. The concept of a tree remains the same as in the previous section. Given a tree Π\Pi, define for all xx and both treatment levels ww the population average outcome

Define the mean-squared error for treatment effects as

and define EMSEτ(Π){\rm EMSE}_{\tau}({\Pi}) to be its expectation over the estimation and test samples,

A key challenge is that the workhorse mean-squared error function MSEτ(Ste,Sest,Π){\rm MSE}_{\tau}({\cal S}^{\rm te},{\cal S}^{\rm est},{\Pi}) is infeasible, because we do not observe the τi\tau_{i}. However, we show below that we can estimate it.

Consider first modifying conventional (adaptive) CART to estimate heterogeneous treatment effects. Note that in the prediction case, using the fact that μ^\hat{\mu} is constant within each leaf, we can write

In the treatment effect case we can use the fact that

to construct an unbiased estimator of MSEτ(Ste,Str,Π){\rm MSE}_{\tau}({\cal S}^{\rm te},{\cal S}^{\rm tr},{\Pi}):

This leads us to propose, by analogy to CART’s in-sample mean-squared error criterion −MSEμ(Str,Str,Π)-{\rm MSE}_{\mu}({\cal S}^{\rm tr},{\cal S}^{\rm tr},{\Pi}),

as an estimator for the infeasible in-sample goodness of fit criterion.

For cross-validation we used in the prediction case −MSEμ(Str,cv,Str,tr,Π)-{{\rm MSE}}_{\mu}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}). Again, the treatment effect analog is infeasible, but we can use an unbiased estimate of it, which leads to −MSE^τ(Str,cv,Str,tr,Π).-\widehat{{\rm MSE}}_{\tau}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}).

2 Modifying the Honest Approach

The honest approach described in the previous section for prediction problems also needs to be modified for the treatment effect setting. Using the same expansion as before, now applied to the treatment effect setting, we find

For splitting we can estimate both components of this expectation using only the training sample. This leads to an estimator for the infeasible criterion that depends only on Str{\cal S}^{\rm tr}:

For cross-validation we use the same expression, now with the cross-validation sample: EMSE^τ(Str,cv,Π)\widehat{{\rm EMSE}}_{\tau}({\cal S}^{{\rm tr},{\rm cv}},{\Pi}).

These expressions are directly analogous to the criteria we proposed for the honest version of CART in the prediction case. The criteria reward a partition for finding strong heterogeneity in treatment effects, and penalize a partition that creates variance in leaf estimates. One difference with the prediction case, however, is that in the prediction case, the two terms are proportional; whereas for the treatment effect case they are not. It is possible to reduce the variance of a treatment effect estimator by introducing a split, even if both child leaves have the same average treatment effect, if a covariate affects the mean outcome but not treatment effects. In such a case, the split results in more homogenous leaves, and thus lower-variance estimates of the means of the treatment group and control group outcomes. Thus, the distinction between adaptive and honest splitting criterion will be more pronounced in this case.

The cross-validation criterion estimates treatment effects within leaves using the Str,cv{\cal S}^{{\rm tr},{\rm cv}} sample rather than Str,tr{\cal S}^{{\rm tr},{\rm tr}}, to account for the fact that leaf estimates will subsequently be constructed using an estimation sample that is independent of the training sample.

Four Partitioning Estimators for Causal Effects

In this section we briefly summarize our CT estimator, and then describe three alternative types of estimators. We compare CT to the alternatives theoretically and through simulations. For each of the four types there is an adaptive version and an honest version, where the latter takes into account that estimation will be done on a sample separate from the sample used for constructing the partition, leading to a total of eight estimators. Note that further variations are possible; for example, one could use adaptive splitting and cross-validation methods to construct a tree, but still perform honest estimation on a separate sample. We do not consider those variations in this paper.

The discussion above developed our preferred estimator, Causal Trees. To summarize, for the adaptive version of causal trees, denoted CT-A, we use for splitting the objective −MSE^(Str,Str,Π)-\widehat{{\rm MSE}}({\cal S}^{\rm tr},{\cal S}^{\rm tr},{\Pi}). For cross-validation we use the same objective function, but evaluated at the samples Str,cv{\cal S}^{{\rm tr},{\rm cv}} and Str,tr{\cal S}^{{\rm tr},{\rm tr}}, namely −MSE^(Str,cv,Str,tr,Π)-\widehat{{\rm MSE}}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}). For the honest version, CT-H, the splitting objective function is −EMSE^(Str,Π)-\widehat{{\rm EMSE}}({\cal S}^{\rm tr},{\Pi}). For cross-validation we use the same objective function, but now evaluated at the cross validation sample, −EMSE^(Str,cv,Π)-\widehat{{\rm EMSE}}({\cal S}^{{\rm tr},{\rm cv}},{\Pi}).

2 Transformed Outcome Trees (TOT)

3 Fit-based Trees (F)

We consider two additional alternative methods for constructing trees, based on suggestions in the literature. In the first of these alternatives the choice of which feature to split on, and at what value of the feature to split, is based on comparisons of the goodness–of–fit of the outcome rather than the treatment effect. In standard CART of course goodness–of–fit of outcomes is also the split criterion, but here we estimate a model for treatment effects within each leaf. Specifically, we have a linear model with an intercept and an indicator for the treatment as the regressors, rather only an intercept as in standard CART. This approach is used in , who consider building general models at the leaves of the trees. Treatment effect estimation is a special case of their framework. propose using statistical tests based on improvements in goodness-of-fit to determine when to stop growing the tree, rather than relying on cross-validation, but for ease of comparison to CART, in this paper we will stay closer to traditional CART in terms of growing deep trees and pruning them. We modify the mean-squared error function:

For the adaptive version F-A we follow conventional CART, using the criterion −MSEμ,W-{\rm MSE}_{\mu,W} in place of −MSE-{\rm MSE} for splitting, and the analog of −MSE^(Str,cv,Str,tr,Π)-\widehat{{\rm MSE}}({\cal S}^{{\rm tr},{\rm cv}},{\cal S}^{{\rm tr},{\rm tr}},{\Pi}) with with μ^w\hat{\mu}_{w} in place of μ^\hat{\mu} for cross-validation. For the honest version we use the analogs of −EMSE^(Str,Π)-\widehat{{\rm EMSE}}({\cal S}^{\rm tr},{\Pi}) and −EMSE^(Str,cv,Π)-\widehat{{\rm EMSE}}({\cal S}^{{\rm tr},{\rm cv}},{\Pi}), with μ^w\hat{\mu}_{w} in place of μ^\hat{\mu}, for splitting and cross-validation. Similar to the prediction case, the variance term in the honest splitting criterion does not make much of a difference for the choice of splits. An advantage of the fit-based tree approach is that it is a straightforward extension of conventional CART methods. In particular, the mean-squared error criterion is feasible, since YiY_{i} is observed. To highlight the disadvantages of the F approach, consider a case where two splits improve the fit to an equal degree. In one case, the split leads to variation in average treatment effects, and in the other case it does not. The first split would be better from the perspective of estimating heterogeneous treatment effects, but the fit criterion would view the two splits as equally attractive.

4 Squared T-statistic Trees (TS)

For the last estimator we look for splits with the largest value for the square of the t-statistic for testing the null hypothesis that the average treatment effect is the same in the two potential leaves. This estimator was proposed by . If the two leaves are denoted LL (Left) and RR (Right), the square of the t-statistic is

where S2S^{2} is the conditional sample variance given the split. At each leaf, successive splits are determined by selecting the split that maximizes T2T^{2}. The concern with this criterion is that it places no value on splits that improve the fit. While such splits do not deserve as much weight as the fit criterion puts on them, they do have some value.

Both the adaptive and honest versions of the TS approach use T2T^{2} as the splitting criterion. For cross-validation and pruning, it is less obvious how to proceed. suggests that when using a statistical test for splitting, if it is desirable in an application to grow deep trees and then cross-validate to determine depth, then one can use a standard goodness of fit measure for pruning and cross-validation. However, this could undermine the key advantage of TS, to focus on heterogeneous treatment effects. For this reason, we instead propose to use the CT-A and CT-H criteria for cross-validation for TS-A and TS-H, respectively.

5 Comparison of the Causal Trees, the Fit Criterion, and the Squared t-statistic Criterion

Then we can write the improvement in goodness of fit from splitting the single leaf into two leaves as

Ignoring degrees-of-freedom correctcions, the change in our proposed criterion for the honest version of the causal tree in this simple setting can be written as a combination of the F and TS criteria:

Our criterion focuses primarily on T2T^{2}. Unlike the TS approach, however, it incorporates the benefits of splits due to improvement in the fit.

Inference

Given the estimated conditional average treatment effect we also would like to do inference. Once constructed, the tree is a function of covariates, and if we use a distinct sample to conduct inference, then the problem reduces to that of estimating treatment effects in each member of a partition of the covariate space. For this problem, standard approaches are therefore valid for the estimates obtained via honest estimation, and in particular, no assumptions about model complexity are required. For the adaptive methods standard approaches to confidence intervals are not generally valid for the reasons discussed above, and below we document through simulations that this can be important in practice.

A Simulation Study

To assess the relative performance of the proposed algorithms we carried out a small simulation study with three distinct designs. In Table 1 we report a number of summary statistics from the simulations. We report averages; results for medians are similar. We report results for Ntr=NestN^{\rm tr}=N^{\rm est} with either 500 or 1000 observations. When comparing adaptive to honest approaches, we report the ratio of the MSEτ{\rm MSE}_{\tau} for adaptive estimation with Ntr=1000N^{\rm tr}=1000 to MSEτ{\rm MSE}_{\tau} for honest estimation with Ntr=Nest=500N^{\rm tr}=N^{\rm est}=500, in order to highlight the tradeoff between sample size and bias reduction that arises with honest estimation. We evaluate MSEτ{\rm MSE}_{\tau} using a test sample with Nte=6000N^{\rm te}=6000 observations to test the methods in order to minimize the sampling variance in our simulation results.

In all designs, the marginal treatment probability is p=0.5p=0.5. KK denotes the number of features. In each design, we have a model η(x)\eta(x) for the mean effect and κsim(x)\kappa^{\text{sim}}(x) for the treatment effect. Then, the potential outcomes are written

where ϵi∼N(0,.01)\epsilon_{i}\sim{\cal N}(0,.01), and the XiX_{i} are independent of ϵi\epsilon_{i} and one another, and Xi∼N(0,1)X_{i}\sim{\cal N}(0,1). The designs are summarized as follows:

In each design, there are some covariates that affect treatment effects (κ\kappa) and mean outcomes (η\eta); some covariates that enter η\eta but not κ\kappa; and some covariates that do not affect outcomes at all (“noise” covariates). Design 1 does not have noise covariates. In Designs 2 and 3, the first few covariates enter κ\kappa, but only when their signs are positive, while they affect η\eta throughout their range. Different criterion will thus lead to different optimal splits, even within a covariate; F will focus more on splits when the covariates are negative.

The first panel of Table 1 compares the number of leaves in different designs and different values of Ntr=NestN^{\rm tr}=N^{\rm est}. Recalling that TOT-A and TOT-H have the same splitting method, we see that it tends to build shallow trees. The failure to control for the realized value of WiW_{i} leads to additional noise in estimates, which tends to lead to aggressive pruning. For the other estimators, the adaptive versions lead to shallower trees than the honest versions, as the honest versions correct for overfitting, and the main cost of small leaf size is high variance in leaf estimates. F-A and F-H are very similar; as discussed above, the splitting criterion are very similar, and further, the F estimators are less prone to overfitting treatment effects, because they split based upon overall model fit. We also observe that the F estimators build the deepest trees; they reward splitting on covariates that affect mean outcomes as well as treatment effects.

The second panel of Table 1 examines the performance of the alternative honest estimators, as evaluated by the infeasible criterion MSEτ{\rm MSE}_{\tau}. We report the average of the ratio of MSEτ{\rm MSE}_{\tau} for a given estimator to MSEτ{\rm MSE}_{\tau} for our preferred estimtor, CT-H. The TOT-H estimator performs well in Designs 2 and 3, but suffers in Design 1. In Design 1, the variance of YiY_{i} conditional on (Wi,Xi)(W_{i},X_{i}) is very low at .01.01, and so the failure of TOT to account for the realization of WiW_{i} results in a noticeable loss of performance. The F-H estimator suffers in all 3 designs; all designs give the F-H criterion attractive opportunities to split based on covariates that do not enter κ\kappa. F-H would perform better in alternative designs where η(x)=κ(x)\eta(x)=\kappa(x); F-H also does well at avoiding splits on noise covariates. The TS-H estimator performs well in Design 1, where x1x_{1} affects η\eta and κ\kappa the same way, so that the CT-H criterion is aligned with TS-H. Design 3 is more complex, and the ideal splits from the perspective of balancing overall mean-squared error of treatment effects (including variance reduction) are different from those favored by TS-H. Thus, TS performs worse, and the difference is exacerbated with larger sample size, where there are more opportunities for the estimators to build deeper trees and thus to make different choices. We also calculate comparisons based on a feasible criterion, the average squared difference between the transformed outcome Yi∗Y^{*}_{i} and the estimated treatment effect τ^i\hat{\tau}_{i}. For details for this comparison see the SI Appendix. In general the results are consistent with those from the infeasible criterion.

The third panel of Table 1 explores the costs and benefits to honest estimation. The Table reports the ratio of MSEτ(Ste,Sest∪Str,πEstimator-A(Sest∪Str)){\rm MSE}_{\tau}({\cal S}^{\rm te},{\cal S}^{\rm est}\cup{\cal S}^{\rm tr},\pi^{\text{Estimator-A}}({\cal S}^{\rm est}\cup{\cal S}^{\rm tr})) to MSEτ(Ste,Sest,πEstimator-H(Str){\rm MSE}_{\tau}({\cal S}^{\rm te},{\cal S}^{\rm est},\pi^{\text{Estimator-H}}({\cal S}^{\rm tr}) for each estimator. The adaptive version uses the union of the training and estimation samples for tree-building, cross-validation, and leaf estimation. Thus it has double the sample size (1000 observations) at each step, while the honest version uses 500 of the observations in training and cross-validation, with the complement used for estimating treatment effects within leaves. The results show that there is a cost to honest estimation in terms of MSEτ{\rm MSE}_{\tau}, varying by design and estimator.

The final two panels of Table 1 show the coverage rate for 90% confidence intervals. We achieve nominal coverage rates for honest methods in all designs, where, in contrast, the adaptive methods have coverage rates substantially below nominal rates. Thus, our simulations bear out the tradeoff that honest estimation sacrifices some goodness of fit (of treatment effects) in exchange for valid confidence intervals.

Observational Studies with Unconfoundedness

The discussion so far has focused on the setting where the assignment to treatment is randomized. The proposed methods can be adapted to observational studies under the assumption of unconfoundedness. In that case we need to modify the estimates within leaves to remove the bias from simple comparisons of treated and control units. There is a large literature on methods for doing so, e.g., . For example, as in we can do so by propensity score weighting. Efficiency will improve if we renormalize the weights within each leaf and and within the treatment and control group when estimating treatment effects. propose approaches to trimming observations with extreme values for the propensity score to improve robustnesses. Note that there are some additional conditions required to establish asymptotic normality of treatment effect estimates when propensity score weighting is used (see, e.g., ); these results apply without modification to the estimation phase of honest partitioning algorithms.

The Literature

Conclusion

In this paper we introduce new methods for constructing trees for causal effects that allow us to do valid inference for the causal effects in randomized experiments and in observational studies satisfying unconfoundedness, without restrictions on the number of covariates or the complexity of the data generating process. Our methods partition the feature space into subspaces. The output of our method is a set of treatment effects and confidence intervals for each subspace.

A potentially important application of the techniques is to “data-mining” in randomized experiments. Our method can be used to explore any previously conducted randomized controlled trial, for example, medical studies or field experiments in developed economics. A researcher can apply our methods and discover subpopulations with lower-than-average or higher-than-average treatment effects, and can report confidence intervals for these estimates without concern about multiple testing.

References