Estimation of the Population Average Prescription Effect in Randomized Experiments Under Cross Validation
Source:R/PAPEcv.R
PAPEcv.Rd
This function estimates the Population Average Prescription Effect with and without a budget constraint. The details of the methods for this design are given in Imai and Li (2019).
Arguments
- T
A vector of the unit-level binary treatment receipt variable for each sample.
- That
A matrix where the
i
th column is the unit-level binary treatment that would have been assigned by the individualized treatment rule generated in thei
th fold. Ifbudget
is specified, please ensure that the percentage of treatment units of That is lower than the budget constraint.- 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.
- budget
The maximum percentage of population that can be treated under the budget constraint. Should be a decimal between 0 and 1. Default is NA which assumes no budget constraint.
- centered
If
TRUE
, the outcome variables would be centered before processing. This minimizes the variance of the estimator. Default isTRUE
.
Value
A list that contains the following items:
- pape
The estimated Population Average Prescription Effect.
- sd
The estimated standard deviation of PAPE.
Author
Michael Lingzhi Li, Operations Research Center, Massachusetts Institute of Technology mlli@mit.edu, http://mlli.mit.edu;