pred_weights_C {orf} | R Documentation |
Predict honest weights (C++)
Description
Computes honest weights from the random forest as in Wager & Athey (2019) for the test sample based on the honest training sample
Usage
pred_weights_C(x, y, z, w)
Arguments
x |
leaf_IDs_test - list of leaf IDs in test data |
y |
leaf_IDs - list of leaf IDs in honest data |
z |
leaf_size - list of leaf sizes in honest data |
w |
binary indicator - equal 1 if marginal effects are being computed, 0 otherwise for normal prediction |
[Package orf version 0.1.4 Index]