dr_scores | R Documentation |
Constructs doubly-robust scores via K-fold cross-fitting.
dr_scores(Y, D, X, k = 5)
Y |
Outcome vector. |
D |
Treatment assignment vector. |
X |
Covariate matrix (no intercept). |
k |
Number of folds. |
Honest regression forests are used to estimate the propensity score and the conditional mean function of the outcome.
A vector of scores.
Riccardo Di Francesco
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.