You are on page 1of 3

Triangular Distribution

Brighton Webs Ltd.


Data & Analysis Services for Industry & Education

Free Videos ICSE 5th-12th Maths & Science Videos Over 5000 free lessons www.attanolearn.com

Master's/PhD Dissertation Professional Plag free quality work Statistics help - SPSS, SAS www.tutorsindia.com

SpinCore's iSpin-NMR Portable, Mobile NMR System Broadband 0-100 MHz Frequency Range www.spincore.com

Home Triangular Distribution


Index
Feedback The Triangular Distribution is typically used as a subjective description of a population for which
Ads by Google there is only limited sample data. It is based on a knowledge of the minimum and maximum and
Generator an inspired guess as to what the modal value might be. Despite being a simplistic description of a
Formula population, it is a very useful distribution for modeling processes where the relationship between
Inverse variables is known, but data is scarce (possibly because of the high cost of collection).
Generating
It is also used as an alternative to the Beta distribution in PERT, CPM and similar forms of project
management tool. The section on the Beta distribution contains an example using both the Beta
and Triangular distributions.

Profile

Parameters

Parameter Description Characteristics


A float > -8 and <=
min Minimum value
mode
A float >= min or <=
mode Modal Value
max
A float >= mode and <
max Maximum value
8

Range

The range is determined by the min and max parameters.

Functions

http://www.brighton-webs.co.uk/distributions/triangular.asp[9/21/2010 12:48:48 AM]


Triangular Distribution

Properties

Example

Triangular distributions are used in oil and gas exploration where data is expensive to collect and
it is almost impossible to model the population being sampled accurately, thus subjectivity plays a
greater role than in data rich sectors. The example below shows a subjective assessment of the
expected size of discoveries in the United Kingdom's East Midland's Basin:

See the section on the lognormal distribution for an alternative model.

Parameter Estimation

The parameters of a triangular distribution can be derived directly from the dataset which it is
intended to describe or model. Provided the dataset does not contain any anomalous points, the
minimum and maximum can be obtained by sorting the values in ascending order and selecting

http://www.brighton-webs.co.uk/distributions/triangular.asp[9/21/2010 12:48:48 AM]


Triangular Distribution

the first and last points. Un less the mode is being set subjectively, there are a number of ways of
determining the mode including:

Use an algorithm such successive bisection

Use the Max, Min and Mean to estimate the mode

This example illustrates both approaches. The figures below are the porosity of rock samples
from deep bore holes. These are very expensive to collect and only a few are available to the
analyst who may be asked to provide input for some form of Monte-Carlo evaluation:

10.0%, 13.5%, 15.5%, 20.0%

The successive bisection algorithm estimates the mode as 14.5%. The mean value of the
observations is 14.75%, using this value together with the min and max into this formula sets the
mode as 14.25%:

A subjective estimate of the mode by a cautions analyst might set the mode at 12%.

Random Number Generation

Random number generation (referred to as R) for a triangular distribution can be performed by


transforming a continuous uniform variable in the range 0 to 1 (referred to as U) with the
distribution's inverse probability function:

r=g(u)

Using Basic style code, the function would be similar to:

u=rnd()

if u <= (mode-min)/(max-min) then


r=min+sqrt(u*(max-min)*(mode-min))
else
r=max-sqrt((1-u)*(max-min)*(max-mode))
end if

Storing the value from the random number function in the variable u is important because most
random number function return a new value each time they are called. Without the use of the u
variable, the statement would use one value for branching and another for calculation.

Page updated: 20-Jun-2008

For more information: info@brighton-webs.co.uk

http://www.brighton-webs.co.uk/distributions/triangular.asp[9/21/2010 12:48:48 AM]

You might also like