loglik_ESS_pref: Compute the log-likelihood using the set-up for ESS (sampling...

Description Usage Arguments Value

View source: R/Phyloinfer.R

Description

Compute the log-likelihood using the set-up for ESS (sampling aware)

Usage

1
loglik_ESS_pref(f, betas, params)

Arguments

f

vector of log effective population sizes at grid midpoints.

betas

vector of beta coefficients for log-linear sampling model.

params

output from initialize_parameters().

Value

numeric log-likelihood to agree with the output of mcmc_sampling(alg='ESS', samp_alg='MH').


mdkarcher/phylodyn documentation built on Nov. 24, 2021, 12:20 a.m.