Evaluate list of trees returned by create.sequence function

evaluate.sequence(tree.list, val, exploration.dat, lambdas)

Arguments

tree.list

list of trees returned by create.sequence function

val

validation dataframe with outcome Y, exposure variable treat

exploration.dat

exploration dataframe with outcome Y, exposure variable treat

lambdas

regularization values to use

Value

dataframe with one row for each tree in sequence and lambda value, representing the ability of the tree to explain the effect heterogeneity