get_forest_weights: Get Forest Weights

View source: R/weight_funs.R

get_forest_weightsR Documentation

Get Forest Weights

Description

get forest weights, i.e. in-sample weights based on honest or train sample produced by the random forest algorithm as defined in Wager & Athey (2018)

Usage

get_forest_weights(forest, honest_data, train_data)

Arguments

forest

estimated forest object of type ranger

honest_data

honest dataframe

train_data

train dataframe

Value

matrix of honest forest weights


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