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

BEASTObject that performs calculations based on the State.
A class that describes a parametric distribution, that is, a distribution that takes some parameters/valuables as inputs and can produce (cumulative) densities and inverse cumulative densities.
Weighted Dirichlet distribution that scales dimensions by weight, where the values are scaled to maintain the expected mean (default to 1).

Inputs:

alpha, weights, mean, offset

 

alpha
type: beast.base.core.Function
coefficients of the Dirichlet distribution
Required input

 

weights
type: beast.base.core.Function
weights of the scaled Dirichlet distribution
Required input

 

mean
type: java.lang.Double
the expected weighted mean of the values, default to 1
Optional input. Default: 1.0

 

offset
type: java.lang.Double
offset of origin (defaults to 0)
Optional input. Default: 0.0