NumBotMaxDepth_inf {BayesTreePrior} | R Documentation |
Generate a tree and returns the number of bottom nodes and depth in the unrealistic case where we assume that the number of variables and possible splits are infinite (therefore P(T) is not dependent on the design matrix X) (Case #2).
NumBotMaxDepth_inf(alpha, beta, depth = 0)
alpha |
base parameter of the tree prior, |
beta |
power parameter of the tree prior, |
depth |
depth of the current node, |
Returns a vector containing the number of bottom nodes and depth.
NumBotMaxDepth
, NumBotMaxDepthX
NumBotMaxDepth_inf(.95,.5)