NumBotMaxDepth {BayesTreePrior} | R Documentation |
Number of bottom nodes and depth in the case where we have one single variable (Case #3).
Description
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).
Usage
NumBotMaxDepth(alpha, beta, x_size, depth = 0)
Arguments
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, |
Value
Returns a vector containing the number of bottom nodes and depth
See Also
NumBotMaxDepth_inf
, NumBotMaxDepthX
Examples
NumBotMaxDepth(.95,.5,500)
[Package BayesTreePrior version 1.0.1 Index]