calculate_denominator_Dirichlet_restricted function

Calculate Dirichlet denominator

Calculate Dirichlet denominator

Recursive function to calculate the denominator for the model with a single statistic for the number of groups and a given parameter value. The set of possible partitions can be restricted to partitions with groups of a certain size.

calculate_denominator_Dirichlet_restricted(n, smin, smax, alpha, results)

Arguments

  • n: number of nodes
  • smin: minimum size for a group
  • smax: maximum size for a group
  • alpha: parameter value
  • results: a list

Returns

a numeric

  • Maintainer: Marion Hoffman
  • License: GPL (>= 3)
  • Last published: 2024-05-10