Description Usage Arguments Value See Also Examples
View source: R/BayesTreePrior.R
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).
1 | NumBotMaxDepth_inf(alpha, beta, depth = 0)
|
alpha |
base parameter of the tree prior, α \in [0,1). |
beta |
power parameter of the tree prior, beta ≥q 0. |
depth |
depth of the current node, depth ≥q 0. |
Returns a vector containing the number of bottom nodes and depth.
NumBotMaxDepth
, NumBotMaxDepthX
1 | NumBotMaxDepth_inf(.95,.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.