BEAST v2.7.8 Documentation: beastlabs.core.Likelihood

BEASTObject that performs calculations based on the State.
Probabilistic representation that can produce a log probability for instance for running an MCMC chain.
Takes a collection of distributions, typically a number of likelihoods and priors and combines them into the compound of these distributions typically interpreted as the posterior.
Represents one of more likelihoods which represent the probability of some data (e.g. a sequence alignment), possibly conditioned on one or more DataNodes (e.g. a Tree or set of Parameters). The class checks that Data has not defined more than one likelihood.

Logable: yes, this can be used in a log.

Inputs:

distribution, useThreads, threads, ignore

 

distribution
type: beast.base.inference.Distribution***
individual probability distributions, e.g. the likelihood and prior making up a posterior
Optional input

 

useThreads
type: java.lang.Boolean
calculated the distributions in parallel using threads (default false)
Optional input. Default: false

 

threads
type: java.lang.Integer
maximum number of threads to use, if less than 1 the number of threads in BeastMCMC is used (default -1)
Optional input. Default: -1

 

ignore
type: java.lang.Boolean
ignore all distributions and return 1 as distribution (default false)
Optional input. Default: false