BEAST v2.7.8 Documentation: beastlabs.math.distributions.ExcludablePrior

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.
Just as with Prior, produces log probability of the parameter x. This variant however allows one to explicitly exclude individual elements of multidimensional parameters from the result.

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

Inputs:

xInclude, x, distr

 

xInclude
type: beast.base.inference.parameter.BooleanParameter
Array of true/false values specifying which elements of x to include
Required input

 

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