p_split: Probability of split of the tree prior.

Description Usage Arguments Value References Examples

View source: R/BayesTreePrior.R

Description

Probability of split of the tree prior.

Usage

1
p_split(alpha, beta, depth = 0)

Arguments

alpha

base parameter of the tree prior, α \in [0,1).

beta

power parameter of the tree prior, β ≥q 0.

depth

depth of the current node, depth ≥q 0.

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

1
2
3
p_split(.95,.5)
p_split(.95,.5,1)
p_split(.95,.5,2)

AlexiaJM/BayesTreePrior documentation built on May 5, 2019, 4:53 a.m.