View source: R/honest_splitting.R
honest_splitting | R Documentation |
Splits data into discovery and inference sub-samples.
honest_splitting(y, z, X, ratio_dis, ite = NULL)
y |
An observed response vector. |
z |
A treatment vector. |
X |
A features matrix. |
ratio_dis |
A double number indicating the ratio of data delegated to the discovery sub-sample. |
ite |
A vector of estimated ITE. |
A list containing the discovery and inference sub-samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.