lk_ratio_prune | R Documentation |
Likelihood ratio of the candidate tree and the previous tree, given that the action step was a prune.
lk_ratio_prune(old_tree, tree, current_node, pars, nodes_to_prune)
old_tree |
The previous tree. |
tree |
The current tree. |
current_node |
The current pruned node. |
pars |
The full list of parameters. |
nodes_to_prune |
The nodes to prune. |
For the likelihood ratio of the new pruned tree, we need to calculate an inversion of the one in the grow version. The value is based on the likelihood of all regions, given the tree and the parameters, for the new and the previous trees.
The likelihood ratio.
Bruna Wundervald, brunadaviesw@gmail.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.