Inference

As described in the short tutorial, we can get standard errors for the GATEs by estimating via OLS appropriate linear models. Then, under an “honesty” condition, we can use the estimated standard errors to conduct valid inference about the GATEs as usual, e.g., by constructing conventional confidence intervals. In this article, we discuss which linear models are estimated by the inference_aggtree function.

Honesty

As mentioned above, we require an honesty condition to achieve valid inference about the GATEs.

Honesty is a subsample-splitting technique that requires that different observations are used to form the subgroups and estimate the GATEs.

To this end, inference_aggtree always uses the honest sample to estimate the linear models below, unless we called the build_aggtree function without allocating any observation to the honest sample (e.g., we set honest_frac = 0 or we used a vector of FALSEs for the is_honest argument).

Linear Models

When calling the build_aggtree function, the user can control the GATE estimator employed by the routine by setting the method argument. The inference_aggtree function inherits this argument and selects the model to be estimated accordingly.

Difference in Mean Outcomes

If method is set to "raw", the inference_aggtree function estimates via OLS the following linear model:

with |𝒯α| the number of leaves of a particular tree 𝒯α, and Li, l a dummy variable equal to one if the i-th unit falls in the l-th leaf of 𝒯α.

Exploiting the random assignment to treatment, we can show that each βl identifies the GATE in the l-th leaf.

Under honesty, the OLS estimator β̂l of βl is root-n consistent and asymptotically normal.

Doubly-Robust Scores

If method is set to "aipw", the inference_aggtree function estimates via OLS the following linear model:

where Γi writes as:

with μ(Di, Xi) = 𝔼[Yi|Di, Zi] the conditional mean of Yi and p(Xi) = ℙ(Di = 1|Xi) the propensity score.

The doubly-robust scores Γi are inherited by the output of the build_aggtree function.

As before, we can show that each βl identifies the GATE in the l-th leaf, this time even in observational studies.

Under honesty, the OLS estimator β̂l of βl is root-n consistent and asymptotically normal, provided that the Γi are cross-fitted in the honest sample and that the product of the convergence rates of the estimators of the nuisance functions μ(⋅, ⋅) and p(⋅) is faster than n1/2.