pmf_multinomial

function pmf_multinomial(x:Integer[_], n:Integer, ρ:Real[_]) -> Real

PMF of a multinomial variate.

  • x: The variate.
  • n: Number of trials.
  • ρ: Category probabilities.

Return: the probability mass.