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, α \in [0,1). |
beta |
power parameter of the tree prior, beta ≥q 0. |
x_size |
number of possible splits, x_{size}>0. |
depth |
depth of the current node, depth ≥q 0. |
Returns a vector containing the number of bottom nodes and depth
NumBotMaxDepth_inf
, NumBotMaxDepthX
NumBotMaxDepth(.95,.5,500)