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 using indexes that can be set to true, rather than requiring a TRUE/FALSe entry for each parameter index.
Logable: yes, this can be used in a log.
xInclude, xIncludeInteger, x, distr
 
type: beast.base.inference.parameter.BooleanParameter |
Array of true/false values specifying which elements of x to include |
Either this, or xIncludeInteger needs to be specified |
 
type: beast.base.inference.parameter.IntegerParameter |
List of array indices to include of x to include |
Either this, or xInclude needs to be specified |
 
type: beast.base.core.Function |
point at which the density is calculated |
Required input |
 
type: beast.base.inference.distribution.ParametricDistribution |
distribution used to calculate prior, e.g. normal, beta, gamma. |
Required input |