pmf_dirichlet_multinomial

function pmf_dirichlet_multinomial(x:Integer[_], n:Integer, α:Real[_]) -> Real

PMF of a Dirichlet-multinomial variate.

  • x: The variate.
  • n: Number of trials.
  • α: Concentrations.

Return: the probability mass.