Random Variation in a Model


Binomial

The probability mass function of the binomial distribution is

\[ p(x) = \frac{n!}{x!(n - x)!}p^{x}(1 - p)^{n - x} \]

for $x \in [0, 1, \dots , n]$.

Parameters:

n

is a positive integer that represents the number of independent Bernoulli trials.

$p \in [0, 1]$

is the probability of success on each trial.

Table B.1 shows how the binomial distribution parameter names are specified in Simulation Studio (specifically, in the Numeric Source block) and in JMP.

Table B.1: Binomial Distribution Parameter Names

 

Simulation Studio

JMP

n

N

n

p

Probability

p


The following examples show (case-sensitive) string values that can be used as Numeric Source block DataStreamDescription factor values or InStreamPolicy port values. In these examples, the distribution and parameter names in the string value are the names that are used in the Theoretical option in the Numeric Source Block Properties dialog box (including any spaces or hyphens). Quotation marks are not required around the string value, and you can specify only the parameters that need to be updated (as demonstrated in the second example).

  • class == Binomial;N == 5;Probability == 0.5

  • Probability == 0.1