# Distributions

Statistical distributions provide a method of simulating the variations that occur in timing (and other numbers) in any process involving people or machines or anything in nature. SIMUL8 contains a range of wide Statistical Distributions. The purpose of this section is to introduce these distributions and outline some typical purposes.

There are 2 main categories of Distribution: Discrete and Continuous.

When sampled a continuous distribution returns a non-integer value, whereas a discrete distribution will return an integer.

If you flip a coin or roll a dice there are a finite set of possible outcomes. These finite outcomes define a discrete distribution. Other examples could be the result of a test where the result is pass or fail, or the nature of a part when categorized by Part Number or Type.

A continuous distribution has an uncountable number of possible outcomes. The duration of a journey will follow a continuous distribution - each incidence of a journey will take a marginally different time - or the time taken to perform a manual operation will be continuous. In each of these cases the times may be very similar, but when measured to several decimal places then differences will be seen.

Distributions can be Bounded - meaning that they can have finite upper and/or lower limits.

SIMUL8 allows you to create your own distributions, however certain classical statistical distributions are provided:

Exponential
A Continuous distribution bounded on the lower side. Classically used to represent the time between random occurrences, such as entities arriving into a system, where the arrivals are independent of each other and randomly distributed, and the occurrence of breakdowns.

Fixed
Not a distribution as such, but a static number that cannot vary. This distribution will always produce the same result, unless altered through Visual Logic.

Normal
An unbounded Continuous distribution, symmetrical in shape. When plotted it is generally referred to as a Bell Curve. The Normal distribution is generally used to generate processing or job times, however this may be incorrect. Processing times are generally more likely to be represented as a skewed distribution, such as Log normal.

Uniform
A continuous distribution bounded at the upper and lower limits. It is useful for situations where there is a random occurrence between the upper and lower values, but where little else is known.

Average
An unbounded Continuous distribution useful for process times where there is a large variability. More information on average

Beta
A bounded Continuous distribution useful for situations where data is sparse.

Bernoulli
A Discrete distribution with 2 possible outcomes. Similar to flipping a coin, however unlike a coin there is not an equal probability of each value being sampled.

Binomial
A Discrete distribution with a lower bound of 0. Typically this is used where a single trial is repeated over and over again and the probability of an event occurring is known, for example the number of items in a batch, or the number of items demanded from inventory.

Erlang
A Continuous distribution bounded on the lower side. Useful in reliability modeling to simulate repair times.

Gamma
A continuous distribution bounded at the lower side. This has been used to generate lifetimes, lead times, personal income data, a population about a stable equilibrium, inter arrival times, and service times.

Geometric
A discrete distribution bounded at 0 on the lower side. This returns the number of failures before a success where there is a sequence of independent trials. It has been used for inventory demand, marketing survey returns, a ticket control problem, and meteorological models.

Log Normal
A continuous distribution bounded on the lower side. It is commonly used to generate processing times.

Negative Binomial
A discrete distribution bounded on the lower side at 0. The Negative Binomial distribution gives the total number of trials, x, to get k events (failures…), each with the constant probability, p, of occurring. It is commonly used to predict the number of failures in a batch or number of items demanded from inventory.

Pearson V
A bounded Continuous distribution, bounded at the lower side at a set parameter. It is useful for modeling time delays or process times where a minimum value is assumed.

Pearson VI
A bounded continuous distribution, bounded on the lower side. It is generally used to generate the time taken for a task.

Poisson
A discrete distribution bounded at 0 on the low side and unbounded on the high side. It is frequently used to simulate the occurrence of infrequent events whose rate is constant. This includes the occurrence of events such as telephone calls or defects in manufacturing.

Rounded Uniform
A discrete distribution bounded at the lower and upper sides. There is an equal probability of any value between the lower and upper bounds being sampled. This is generally only used where there is an absence of quality data that can be used to identify the shape of the distribution, and is used for generating batch sizes or item types.

Triangular
A continuous distribution, bounded at the upper and lower sides. Generally used only when data is sparse and where the distribution is discernibly not Uniform. Triangular uses 3 data points, Upper, Lower and Modal, to connect 3 points in a triangle.

Weibull
A continuous distribution bounded at the lower side. It is a very flexible distribution used for many purposes. It is used to describe the duration of a task, lifetime of a piece of equipment and many other situations.