ratio_prune | R Documentation |
The final ratio is to be used as the acceptance criteria in the MCMC of the b-cart model
ratio_prune( tree, old_tree, current_node, pars, nodes_to_prune, alpha_grow, beta_grow )
tree |
The current tree |
old_tree |
The previous tree |
current_node |
The current pruned node |
pars |
The full list of parameters |
nodes_to_prune |
The node to prune from |
alpha_grow |
The alpha of the growing probability |
beta_grow |
The beta of the growing probability |
The final ratio for the candidate tree
Bruna Wundervald, brunadaviesw@gmail.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.