You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > TriangularPDF Method > Probabilities.TriangularPDF Method (double, double, double, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.TriangularPDF Method (double, double, double, double)

Triangular probability density function (PDF).

Syntax
C#
Visual Basic
public static double TriangularPDF(double x, double a, double b, double c);
Parameters 
Description 
double x 
Distribution domain, real value on closed interval [a,b]. 
double a 
Distribution locagtion parameter, real value, smaller than parameter b. 
double b 
Distribution scale parameter, real value, greater than parameter a. 
double c 
Distribution shape parameter, real value on closed interval [a,b]. 

the Triangular probability density function for parameters a, b and c.

The triangular probability density function is defined by the following equation: 

 

where a is location, b scale and c shape parameter. The triangular distribution is a simple distribution that has no real source in nature. It is most, if not exclusively, useful for stochastic modeling rather than statistical analysis because of its artificial nature. In stochastic modeling, the triangular distribution is best used to model variables with both upper and lower bounds near the range of interest. The distribution does not need to be, and frequently is not, symmetric.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!