downdate_dirichlet_multinomial

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

Downdate the parameters of a Dirichlet distribution with a multinomial likelihood.

  • x: The variate.
  • n: Number of trials.
  • α': Posterior concentrations.

Returns: the prior hyperparameters α.