calculate_proba_Dirichlet_restricted: Calculate Dirichlet probability

View source: R/functions_exactcalculations.R

calculate_proba_Dirichlet_restrictedR 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


ERPM documentation built on May 29, 2024, 10:05 a.m.