---
title: "Distributions"
canonical: "https://modelassist.epixanalytics.com/space/EA/26574865/Distributions"
format: markdown
---
### Use of Distributions

Distributions are used in risk analysis to model three conceptually different things:

  


1. The variability of individuals in a population (frequency distribution);
2. The value of a random variable (probability distribution); and
3. The uncertainty we have about a fixed, but imprecisely known, parameter in nature (uncertainty distribution).

  


  


 

> Macro (gliffy)

  


| **Discrete** | **Make your own** | **Approximations ** | **Continuous** | **I don't know** | **Recursive formulas** |
| --- | --- | --- | --- | --- | --- |
| [Discrete Distribution](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575436/Discrete+Distributions) | [Creating your own distributions](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575271) | [Approximating one distribution with another](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575258) | [Continuous distributions](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575215) | [Selecting the appropriate distributions for your model](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575199) | [Recursive formulas](https://modelassist.epixanalytics.com/space/EA/26575270/Recursive+formulas+for+discrete+distributions) |

This section is a resource to allow you to look up specific distributions by name, to see how they are used, learn how to generate their values when they are not directly available in your preferred software, and review the most useful equations associated with each distribution. We have also described the inter-relationships between various distributions and provided links to related topics.

  


The distributions are split into two categories: [discrete](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575200) and [continuous](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575215). We explain what you need to think about when [selecting a distribution](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575199) to go in your model. We also provide a section that describes how you can [approximate one distribution with another](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575258), or use [recursive formulas](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575270), so that you can avoid the parameter restrictions set by your simulation software.

  


Finally, if none of the distributions we describe suit your purpose, you can always [create your own](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575271)! We show you a variety of ways to do that.

  


<span style="color: #ffffff">Once you have reviewed the material in this section, you might like to test how much you have learned by taking the self-test quizzes:</span>

  


<span style="color: #ffffff">A quiz on Distributions: </span>> Macro (take-quiz-button)



<span style="color: #ffffff">A quiz on Probability distribution identities (intermediate level): </span>> Macro (take-quiz-button)



<span style="color: #ffffff">A quiz on Probability distribution identities (advanced level): </span>> Macro (take-quiz-button)



  


---

  


### Useful formulas and functions

  


When reviewing the formulae associated with each distribution you will frequently come across a number of unusual (though not very complicated!)  mathematical functions that are worth explaining here:

  


#### Binomial coefficient

  


The binomial coefficient is defined as follows:

  


![image](media://2ae5897e-c285-48b8-845e-d76de01cd7aa)

  


> Macro (mathblock)

where:  *n*! = 1 * 2 * 3 * .. * (*n*-1) * *n*

  


In Excel use =[COMBIN](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575570)(*n,r*). The Excel function [FACT](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575570)(*n*) also returns *n*!gli

  


#### The Gamma function

  


Γ(*n*) is the gamma function and has the following properties:

  


![image](media://786f6e12-c679-444b-85ef-2f0ef01e2073)

  


> Macro (mathblock)

Γ(*n*+1) = *n*Γ(*n*) = *n*!       where *n* is an integer

  


Γ(0.5) = √π

  


Γ(0) = 1

  


So, for example, Γ (1.5) = 1/2 * Γ (0.5) = 1/2 √π . Excel offers the function [GAMMALN](https://epixanalytics.atlassian.net/wiki/spaces/EA/pages/26575570)( ) which returns the natural log of the Gamma function, so to get Γ(*n*) you write =EXP(GAMMALN(*n*)).

  


Other functions

  


| tan-1(x) | The arc tan of x in radians. =ATAN(x) in Excel |
| --- | --- |
| |x| | The absolute value of x, i.e. |-x| = x, |x| = x. Use =ABS(x) in Excel |
| csc(x) | The cosecant of x, = 1/sin(x). Use =1/SIN(x) in Excel |
| > Macro (mathinline) | The nearest integer at or below x. Use =ROUNDDOWN(x,0) in Excel |
| > Macro (mathinline) | The nearest integer at or above x. Use =ROUNDUP(x,0) in Excel |
| ln(x) | The natural log of x, so that x = exp(ln(x)). Use =LN(x) in Excel |
| exp(x), ex | The natural exponent of x, = 2.718281828..x. Use =EXP(x) in Excel |

  


  


---