pou_logl_slow: Phylogenetic Likelihood

Description Usage Arguments Value

Description

Calculates the Phylogenetic Ornstein-Uhelenbeck Process negative log likelihood, given the process hyperparameters, a phylogenetic tree, and some data.

Usage

1
pou_logl_slow(ln_hyperparameters, phylogenetic_tree, observations)

Arguments

ln_hyperparameters

Vector of the natural logarithm of hyperparameters for an Ornstein-Uhlenbeck kernel in order log(phylogenetic noise, phylogenetic length-scale, non-phylogenetic noise)

phylogenetic_tree

Phylogenetic tree of relationships between observations

observations

Observations from the tips of the phylogenetic tree

Value

A positive value which is the negative log likelihood for the data.


jpmeagher/sdsBAT documentation built on May 5, 2019, 3:50 a.m.