R/utils.R
dr_scores.Rd
Constructs doubly-robust scores via K-fold cross-fitting.
dr_scores(Y, D, X, k = 5)
Outcome vector.
Treatment assignment vector.
Covariate matrix (no intercept).
Number of folds.
A vector of scores.
Honest regression forests are used to estimate the propensity score and the conditional mean function of the outcome.
Riccardo Di Francesco