NumBotMaxDepth: Number of bottom nodes and depth in the case where we have...

Description Usage Arguments Value See Also Examples

Description

Generate a tree and returns the number of bottom nodes and depth in the case where we have one variable with a finite number of observations (Case #3).

Usage

1
NumBotMaxDepth(alpha, beta, x_size, depth = 0)

Arguments

alpha

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

beta

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

x_size

number of possible splits, x_{size}>0.

depth

depth of the current node, depth ≥q 0.

Value

Returns a vector containing the number of bottom nodes and depth

See Also

NumBotMaxDepth_inf, NumBotMaxDepthX

Examples

1
NumBotMaxDepth(.95,.5,500)

BayesTreePrior documentation built on May 2, 2019, 4:18 a.m.