LognormalDistribution Class

Represents a log-normal distribution.

Definition

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

Remarks

The logarithm of a log-normal distributed variable is distributed normally.

The log-normal distribution is commonly used in financial engineering as a model of stock prices. If the rate of return on an asset is distributed normally, then its price at a given time will be distributed log-normally.

Constructors

LognormalDistribution Initializes a standard log-normal distribution.
LognormalDistribution(Double, Double) Initializes a log-normal distribution.

Properties

ExcessKurtosis Gets the excess kurtosis of the distribution.
(Overrides UnivariateDistributionExcessKurtosis)
Mean Gets the mean of the distribution.
(Overrides UnivariateDistributionMean)
Median Gets the median of the distribution.
(Overrides ContinuousDistributionMedian)
Mu Gets the value of the μ parameter.
Sigma Gets the value of the σ parameter.
Skewness Gets the skewness of the distribution.
(Overrides UnivariateDistributionSkewness)
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.
(Overrides UnivariateDistributionCumulant(Int32))
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)
FitToSample Computes the log-normal distribution that best fits the given sample.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandomValue Generates a random variate.
(Overrides ContinuousDistributionGetRandomValue(Random))
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.
(Overrides ContinuousDistributionInverseRightProbability(Double))
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