Multinomial Distribution

Multinomial

The Multinomial distribution has the probability density function (PDF):

\[f(x_1,..,x_k;p_1,.., p_k) = \frac{n!}{x_1!..x_k!} p_1^{x_1} \cdots p_k^{x_k}\]

where \(\sum{x_i} = n\) is the number of trials and \(p_i>0\) is an event probability.

Usage

e["Distribution"][*index*]["Type"] = "Specific/Multinomial"

Configuration

These are settings required by this module.

Name
  • Usage: e[“Name”] = string

  • Description: Defines the name of the distribution.

Random Seed
  • Usage: e[“Random Seed”] = unsigned integer

  • Description: Defines the random seed of the distribution.

Range
  • Usage: e[“Range”] = gsl_rng

  • Description: Stores the current state of the distribution in hexadecimal notation.

Default Configuration

These following configuration will be assigned by default. Any settings defined by the user will override the given settings specified in these defaults.

{
"Name": "",
"Random Seed": 0,
"Range": ""
}