dr_scores {aggTrees} | 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