Click or drag to resize

Laplace

the Laplace distribution is a continuous probability distribution. The difference between two independent identically distributed exponential random variables is governed by a Laplace distribution, as is a Brownian motion evaluated at an exponentially distributed random time. This distribution has two parameters: scale b and mean μ.

This topic contains the following sections:

Constructor

Constructor

Description

Performance

set scale and mean

Creates new instance of Laplace with user specified parameters.

methodLaplace(Double, Double)

set random generator

Creates new instance of Laplace with user specified generator and parameters.

methodLaplace(RandomGenerator, Double, Double)

Methods

Method

Description

Performance

sample

Generate random variable sample.

methodSample

Fill in array with random variable series in place:

methodSample(Double)

Static method which generates new sample of Laplace distribution variate with specified parameters:

StaticSample(Double, Double)

StaticSample(RandomGenerator, Double, Double)

pdf

Probability density function.

DLaplace Pdf

methodPdf(Double)

Static probability density function.

StaticPdf(Double, Double, Double)

cdf

Cumulative distribution function.

DLaplace Cdf

methodCdf(Double)

Static cumulative distribution function.

StaticCdf(Double, Double, Double)

inverse cdf

Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter.

StaticInverseCdf(Double, Double, Double)

Properties

Property

Description

Performance

scale

Scale of the distribution.

PropertyScale

mean

Mean of the distribution.

DLaplace Mean

PropertyMean

median

Median of the distribution.

DLaplace Mean

PropertyMedian

mode

Mode of distribution.

DLaplace Mean

PropertyMode

kurtosis

Excess Kurtosis of distribution.

DLaplace Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DLaplace Skewness

PropertySkewness

entropy

Entropy of distribution.

DLaplace Entropy

PropertyEntropy

variance

Variance of the distribution.

DLaplace Variance

PropertyVariance

standard deviation

Standard deviation of the distribution.

DLaplace Std Dev

PropertyStandardDeviation