p_split {BayesTreePrior} | R Documentation |
Probability of split of the tree prior.
Description
Probability of split of the tree prior.
Usage
p_split(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 the probability of split.
References
Chipman, H. A., George, E. I. et McCulloch, R. E. (1998). Bayesian CART model search. Journal of the American Statistical Association, 93(443), 935-948.
Examples
p_split(.95,.5)
p_split(.95,.5,1)
p_split(.95,.5,2)
[Package BayesTreePrior version 1.0.1 Index]