NumBotMaxDepth {BayesTreePrior} | R Documentation |
Generate a tree and returns the number of bottom nodes and depth in the case where we have one variable with a finite number of observations (Case #3).
NumBotMaxDepth(alpha, beta, x_size, depth = 0)
alpha |
base parameter of the tree prior, |
beta |
power parameter of the tree prior, |
x_size |
number of possible splits, |
depth |
depth of the current node, |
Returns a vector containing the number of bottom nodes and depth
NumBotMaxDepth_inf
, NumBotMaxDepthX
NumBotMaxDepth(.95,.5,500)