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.
Prior on models, uniform on model number, or uniform on parameter number
Logable: yes, this can be used in a log.
priorType, substModel, x, distr
 
type: bmodeltest.math.distributions.ModelSetPrior$PriorType |
Prior on model set, uniformOnModel in order not to prefer any model in the set, e.g. JC69 is as likely as model 121131, or uniformOnParameterCount in order to not prefer a number of parameters, e.g., JC66 is as likely as having a 3-parameter model |
Optional input |
 
type: bmodeltest.evolution.substitutionmodel.NucleotideRevJumpSubstModel |
model test substitution model representing the individual models |
Required input |
 
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 |