pred_weights_C | R Documentation |
Computes honest weights from the random forest as in Wager & Athey (2019) for the test sample based on the honest training sample
pred_weights_C(x, y, z, w)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.