observe_dirichlet_categorical

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

Observe a Dirichlet-categorical variate.

  • x: The variate.
  • α: Concentrations.

Returns: the log probability mass.