The Heterogeneity Test for Grouped Average Treatment Effects (GATEs) in Randomized Experiments
Source:R/het.test.R
het.test.Rd
This function calculates statistics related to the test of heterogeneous treatment effects 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.
Value
A list that contains the following items:
- stat
The estimated statistic for the test of heterogeneity.
- pval
The p-value of the null hypothesis (that the treatment effects are homogeneous)
References
Imai and Li (2022). “Statistical Inference for Heterogeneous Treatment Effects Discovered by Generic Machine Learning in Randomized Experiments”,
Author
Michael Lingzhi Li, Technology and Operations Management, Harvard Business School mili@hbs.edu, https://www.michaellz.com/;