BEAST v2.7.8 Documentation: orc.consoperators.PiecewiseLinearDistribution

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.
Approximates parametric distribution by piecewise linear approximation.

Inputs:

distr, bins, limit, cutOffEnd, offset

 

distr
type: beast.base.inference.distribution.ParametricDistribution
Underlying parametric distribution that is approximated.
Required input

 

bins
type: java.lang.Integer
number of bins used to approximate the distribution piecewise linearly. (default 100)
Optional input. Default: 100

 

limit
type: java.lang.Double
fraction of bins at end of distribution to be cut off -- should be between 0 and 1
Optional input. Default: 0.1

 

cutOffEnd
type: java.lang.Boolean
approximate values below for quantiles close to 0 and 1 with rate at limit/bins and (1-limit/bins) respectively.If false, for quantiles below limit/bins and above (1-limit/bins) the inverseCumulativeProbability methods of the underlying parametric distribution is called(which is slower, but should not happen very often).
Optional input. Default: true

 

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