compute_log_likelihood.simple | R Documentation |
compute_log_likelihood.simple
computes the log-likelihood of the data
in the simple case where the inverse of the variance matrix is given.
compute_log_likelihood.simple(
phylo,
Y_data_vec,
sim,
Sigma,
Sigma_YY_chol_inv,
miss = rep(FALSE, dim(sim)[1] * length(phylo$tip.label)),
masque_data = c(rep(TRUE, dim(sim)[1] * length(phylo$tip.label)), rep(FALSE,
dim(sim)[1] * phylo$Nnode)),
...
)
phylo |
Input tree. |
Sigma |
: variance-covariance matrix, result of function |
This function takes parameters sim, Sigma and Sigma_YY_inv from
compute_mean_variance.simple
. It uses functions
extract_variance_covariance
, extract_covariance_parents
, and
extract_simulate_internal
to extract the needed quantities from these objects.
log likelihood of the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.