observe_multinomial

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

Observe a multinomial variate.

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

Returns: the log probability mass.