The Consistency Test for Grouped Average Treatment Effects (GATEs) in Randomized Experiments
Source:R/consist.test.R
consist.test.Rd
This function calculates statistics related to the test of treatment effect consistency across groups.
Arguments
- T
A vector of the unit-level binary treatment receipt variable for each sample.
- tau
A vector of the unit-level continuous score. Conditional Average Treatment Effect is one possible measure.
- Y
A vector of the outcome variable of interest for each sample.
- ngates
The number of groups to separate the data into. The groups are determined by
tau
. Default is 5.- nsim
Number of Monte Carlo simulations used to simulate the null distributions. Default is 10000.
Value
A list that contains the following items:
- stat
The estimated statistic for the test of consistency
- pval
The p-value of the null hypothesis (that the treatment effects are consistent)
References
Imai and Li (2022). “Statistical Inference for Heterogeneous Treatment Effects Discovered by Generic Machine Learning in Randomized Experiments”,
Author
Michael Lingzhi Li, Operations Research Center, Massachusetts Institute of Technology mlli@mit.edu, http://mlli.mit.edu;