calculate_proba_Dirichlet_restricted {ERPM} | R Documentation |
Calculate Dirichlet probability
Description
Calculate the probability of observing a partition with a given number of groups for a 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_proba_Dirichlet_restricted(alpha, stat, n, smin, smax)
Arguments
alpha |
parameter value |
stat |
observed stat (number of groups) |
n |
number of nodes |
smin |
minimum size for a group |
smax |
maximum size for a group |
Value
a numeric
[Package ERPM version 0.2.0 Index]