Random Variation in a Model


Discrete Uniform

The probability mass function of the discrete uniform distribution is

\[ p(x) = \frac{1}{j - i + 1} \]

for $x \in [i, i+1, \dots , j]$, where i and j are integers with $i \le j$.

Parameters:

i

is a location parameter.

$j - i$

is a scale parameter.

Table B.2 shows how the discrete uniform distribution parameter names are specified in Simulation Studio (specifically, in the Numeric Source block). The discrete uniform distribution is not available with the Distribution option in JMP.

Table B.2: Discrete Uniform Distribution Parameter Names

 

Simulation Studio

JMP

i

i

j

j


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 == Discrete Uniform;i == 5;j == 10

  • j == 100