calculate_denominator_Dirichlet_restricted {ERPM}R Documentation

Calculate Dirichlet denominator

Description

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.

Usage

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

Value

a numeric


[Package ERPM version 0.2.0 Index]