BEAST v2.7.8 Documentation: beast.base.inference.distribution.Prior

implemented by the following
beastlabs.math.distributions.ExcludablePrior
bmodeltest.math.distributions.NucleotideRevJumpSubstModelRatePrior
bmodeltest.math.distributions.ModelSetPrior
bmodeltest.math.distributions.BMTPrior
beastlabs.math.distributions.ExcludablePriorIndex

BEASTObject that performs calculations based on the State.
Probabilistic representation that can produce a log probability for instance for running an MCMC chain.
Produces prior (log) probability of value x.If x is multidimensional, the components of x are assumed to be independent, so the sum of log probabilities of all elements of x is returned as the prior.

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

Inputs:

x, distr

 

x
type: beast.base.core.Function
point at which the density is calculated
Required input

 

distr
type: beast.base.inference.distribution.ParametricDistribution
distribution used to calculate prior, e.g. normal, beta, gamma.
Required input