lk_ratio_k: Likelihood ratio for the sampled k1

lk_ratio_kR Documentation

Likelihood ratio for the sampled k1

Description

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

Usage

lk_ratio_k(new_k1, k1, current_tree, pars, group, tau_post = tau_post, M)

Arguments

new_k1

The sampled k1

k1

The current value of k1

current_tree

The current tree

pars

The full list of hyperparameters

group

The grouping variable

tau_post

The current value of tau

M

The M matrix

Value

The likelihood ratio

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.


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