NumBotMaxDepth_inf {BayesTreePrior} | R Documentation |
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).
Description
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).
Usage
NumBotMaxDepth_inf(alpha, beta, depth = 0)
Arguments
alpha |
base parameter of the tree prior, |
beta |
power parameter of the tree prior, |
depth |
depth of the current node, |
Value
Returns a vector containing the number of bottom nodes and depth.
See Also
NumBotMaxDepth
, NumBotMaxDepthX
Examples
NumBotMaxDepth_inf(.95,.5)
[Package BayesTreePrior version 1.0.1 Index]