PAVcv | R Documentation |
This function estimates the Population Average Value. The details of the methods for this design are given in Imai and Li (2019).
PAVcv(T, That, Y, ind, centered = TRUE)
T |
A vector of the unit-level binary treatment receipt variable for each sample. |
That |
A matrix where the |
Y |
The outcome variable of interest. |
ind |
A vector of integers (between 1 and number of folds inclusive) indicating which testing set does each sample belong to. |
centered |
If |
A list that contains the following items:
pav |
The estimated Population Average Value. |
sd |
The estimated standard deviation of PAV. |
Michael Lingzhi Li, Technology and Operations Management, Harvard Business School mili@hbs.edu, https://www.michaellz.com/;
Imai and Li (2019). “Experimental Evaluation of Individualized Treatment Rules”,
T = c(1,0,1,0,1,0,1,0)
That = matrix(c(0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1), nrow = 8, ncol = 2)
Y = c(4,5,0,2,4,1,-4,3)
ind = c(rep(1,4),rep(2,4))
pavlist <- PAVcv(T, That, Y, ind)
pavlist$pav
pavlist$sd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.