lk_ratio_grow: Likelihood ratio for grow

View source: R/grow_ratio.R

lk_ratio_growR Documentation

Likelihood ratio for grow

Description

Likelihood ratio of the candidate tree and the previous tree, given that the action step was a grow

Usage

lk_ratio_grow(tree, current_node, pars)

Arguments

tree

The current tree

current_node

The current pruned node

pars

The full list of parameters

Details

The likelihood ratio for growth needs the joint distribution of each region (of each node), given the tau parameter

Value

The likelihood ratio

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.


brunaw/hebart documentation built on June 1, 2022, 8:35 p.m.