Rev Language Reference


dnLaplace - Laplace Distribution

Laplace distribution with mean equal to ‘mean’ and scale equal to ‘scale’.

Usage

dnLaplace(Real mean, RealPos scale)

Arguments

mean : Real (pass by const reference)
The mean parameter.
Default : 0
scale : RealPos (pass by const reference)
The scale parameter.
Default : 1

Domain Type

Details

The Laplace distribution has density: f(x) = 1/(2 b) e^-(abs(x-mu)/b) where mu is the mean of the distribution and b the scale.

See Also