Dirichlet(Number[] conc, Number sum)

The dirichlet probability distribution.

Parameters

  • Number[] conc - the concentration parameters of a Dirichlet distribution.
  • Number sum - (optional) The expected sum of values. By default, the sum is 1.

Return type

Double[]

Examples

  • birthDeathRhoSampling.lphy
  • dirichlet.lphy
  • https://linguaphylo.github.io/tutorials/time-stamped-data/