Discrete Statistical Distributions
February 22nd, 2010 by Kristopher ReeseStatistical Distributions of data are an important aspect in both analyzing resulting data and in generating random numbers based on a specified distribution. This post will discuss a handful of Statistical Distributions that are common in Discrete-Event Simulations. It will discuss the Uniform Distribution, the Triangular Distribution, the Binomial/Bernoulli Distribution, the Poisson Distribution, and the Exponential Distribution. The two most important aspects of these distributions for the purposes of this discussion are the Probability Mass Function and the Cumulative Distribution Function. Each distributions PDF and CDF will be discussed further here.
Before getting started, below is a table of equations for each of the distributions for finding the mean, median, mode, and variance of a specific distribution:
| Distribution | Mean | Median | Mode | Variance |
|---|---|---|---|---|
| Uniform | N/A | |||
| Triangular | c | |||
| Binomial | np | |||
| Exponential | 0 | |||
| Poisson | λ | λ |
The Uniform Distribution exists in both the discrete and the continuous spaces. For this discussion however, we will strictly discuss the Discrete version. In a discrete uniform distribution, we can generate the Probability Mass Function with the equation:
where:
Using the same parameters, we can calculate the Cumulative Distribution Function using the equation:
Using the PDF and CDF we can plot a set of points onto graphs which would look similar to Figure 1a & 1b respectively (with the same parameters):
(a)
(b)A plot of the Discrete Uniform (a) Probability Mass Function and (b) Cumulative Distribution Function. a = 1, b = 5. Graph generated with MATLAB
The Triangular Distribution can be used in situations which a normal distribution might be needed, but when we want to restricted the distribution to a set of bounds. A triangular distribution has three parameters a lower limit a, an upper limit b, and a mode c. These parameters are defined as:
With these parameters we can find the PMF and CDF to be:
Plotting these functions, will result in graphs that appear similar to Figure 2. Figure 2 images were taken from the wikipedia article. These two images are distributed under the Creative Commons Attribution ShareAlike 3.0 License.
(a)
(b)A plot of a Continuous Triangular Distribution (a) Probability Mass Function and (b) Cumulative Distribution Function.
Binomial Distribution is a distribution of the number of sequences of trials in an experiment which contains only two possible outcomes (success/failure, true/false, etc.). This distribution is associated with Bernoulli Trials and when parameter n = 1, we can call this distribution a Bernoulli Distribution. The Binomial Distribution has three parameters:
We can find the PMF and the CDF to be:
we define to be the binomial coefficient which we can define as:
The resulting PMF and CDF graphs might look like (with the same parameters) Figure 3a & Figure 3b respectively:
(a)
(b)A plot of the Discrete Binomial distribution (a) Probability Mass Function and (b) Cumulative Distribution Function. n = 5, p = 0.5
Exponential Distribution is a continuous probability distribution that is frequently used in Simulations. Though it is considered a class of continuous distributions, discretizing the distribution does not take a lot of effort. The exponential function is always bounded between [0,∞) and has one parameter:
Using this parameter, we can solve the PMF and CDF for any exponential distribution:
Plotting these functions will result in graphs that look like (with the same parameters):
(a)
(b)A plot of a Continuous Exponential Distribution (a) Probability Mass Function and (b) Cumulative Distribution Function. λ = 0.4
Poisson Distribution will be the last distribution discussed in this entry. This distribution can be used to express a probability of a number of events occurring within a fixed period of time, assuming that these events occur with an average rate and the events are independently from other events. The Poisson Distribution functions have two parameters:
The PMF and CDF are, respectively:
It is interesting to note that as λ moves towards sufficiently large values, a normal distribution with a mean and variance of λ and a standard deviation of will decently approximate the Poisson distribution. If we plot the PDF and CDF for the Poisson Distribution, we get a graph that would look like (with the same parameters):
(a)
(b)A plot of the the Discrete Poisson Distribution (a) Probability Mass Function and (b) Cumulative Distribution Function. λ = 4
These are only a handful of possible distributions that could result from simulation outcomes, but these are probably the most frequently encountered distributions. More distributions will be touched on in future posts. If you have one you’d like me to discuss or go into more detail about, leave a comment!

Hood College
Univ. of Louisville
Elizabethtown Community and Tech. College