dr_scores: Doubly-Robust Scores
Description
Constructs doubly-robust scores via K-fold cross-fitting.
Usage
dr_scores(Y, D, X, k = 5)
Arguments
- Y
Outcome vector.
- D
Treatment assignment vector.
- X
Covariate matrix (no intercept).
- k
Number of folds.
Author
Riccardo Di Francesco
Details
Honest regression forests are used to estimate the propensity score and the conditional mean function of the outcome.