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.