TriangularDistribution Class

Represents a triangular distribution.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public sealed class TriangularDistribution : ContinuousDistribution
Inheritance
Object    UnivariateDistribution    ContinuousDistribution    TriangularDistribution

Remarks

Like a uniform distribution, a triangular distribution is confined to a finite interval. Unlike a uniform distribution, a triangular distribution is not uniform across the interval.

Triangular distributions are often used in project planning, where a maximum, minimum, and most likely value for some quantity is known or supposed.

Constructors

TriangularDistribution Initializes a new triangular distribution.

Properties

ExcessKurtosis Gets the excess kurtosis of the distribution.
(Inherited from UnivariateDistribution)
Mean Gets the mean of the distribution.
(Overrides UnivariateDistributionMean)
Median Gets the median of the distribution.
(Inherited from ContinuousDistribution)
Skewness Gets the skewness of the distribution.
(Inherited from UnivariateDistribution)
StandardDeviation Gets the standard deviation of the distribution.
(Inherited from UnivariateDistribution)
Support Gets the interval over which the distribution is non-vanishing.
(Overrides ContinuousDistributionSupport)
Variance Gets the variance of the distribution.
(Overrides UnivariateDistributionVariance)

Methods

CentralMoment Computes a central moment of the distribution.
(Overrides ContinuousDistributionCentralMoment(Int32))
Cumulant Computes a cumulant of the distribution.
(Inherited from UnivariateDistribution)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExpectationValue Computes the expectation value of the given function.
(Inherited from ContinuousDistribution)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandomValue Generates a random variate.
(Inherited from ContinuousDistribution)
GetRandomValues Generates the given number of random variates.
(Inherited from ContinuousDistribution)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Hazard Computes the hazard function.
(Inherited from ContinuousDistribution)
InverseLeftProbability Returns the point at which the cumulative distribution function attains a given value.
(Overrides ContinuousDistributionInverseLeftProbability(Double))
InverseRightProbability Returns the point at which the right probability function attains the given value.
(Inherited from ContinuousDistribution)
LeftProbability Returns the cumulative probability to the left of (below) the given point.
(Overrides ContinuousDistributionLeftProbability(Double))
ProbabilityDensity Returns the probability density at the given point.
(Overrides ContinuousDistributionProbabilityDensity(Double))
RawMoment Computes a raw moment of the distribution.
(Overrides ContinuousDistributionRawMoment(Int32))
RightProbability Returns the cumulative probability to the right of (above) the given point.
(Overrides ContinuousDistributionRightProbability(Double))
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also