Module rgsl::randist::multinomial
source · Functions
- This function returns the logarithm of the probability for the multinomial distribution P(n_1, n_2, …, n_K) with parameters
p[K]
. - This function computes the probability P(n_1, n_2, …, n_K) of sampling
n[K]
from a multinomial distribution with parametersp[K]
, using the formula given above.