log_likelihood_anneal_func_da: Generic interface to annealed log-likeihood functions with...

Description Usage Arguments Value

View source: R/DA-memoised-log-likelihood-interface.R

Description

Prior -> Posterior or Approx posterior -> Posterior

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
log_likelihood_anneal_func_da(
  log_likelihood,
  log_like_approx,
  cwise_log_like_approx,
  log_prior,
  cores = 1L,
  start_from_approx = F,
  max_approx_anneal = 1,
  count_start = NULL
)

Arguments

log_likelihood

(Full) log-likelihood function.

log_like_approx

Approximate log-likelihood function.

cwise_log_like_approx

Approximate log-likelihood function.

log_prior

Log-prior function.

cores

Cores to use.

start_from_approx

Is the intial distribution an approximate model?

max_approx_anneal

Maximum value of temperature reached during approximate anneal.

count_start

Likelihood evaluation count. List with integer elements "log_likelihood" and "log_like_approx".

Value

Value of log-likelihood function.


bonStats/smcdar documentation built on Dec. 19, 2021, 10:47 a.m.