pred_weights_C: Predict honest weights (C++)

View source: R/RcppExports.R

pred_weights_CR 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


orf documentation built on July 24, 2022, 1:05 a.m.