plaplace: Laplace (Double Exponential) Cumulative Distribution Function
Description
Laplace (double exponential) cumulative distribution function with mean equal to mean and standard deviation equal to sd.
Usage
plaplace(q, mean = 0, sd = 1, lower.tail = TRUE)
Arguments
q
Vector of quantiles.
mean
Population mean.
sd
Population standard deviation.
lower.tail
Logical; if TRUE (default), probabilities are \(P[X \le x]\); otherwise, \(P[X > x]\).
Value
plaplace gives the distribution function.
Details
The Laplace distribution has density
\(e^{-|x-\mu| \sqrt{2} / \sigma} / (\sigma \sqrt{2}),\)
where \(\mu\) is the mean of the distribution and \(\sigma\) is the standard deviation.
References
Higgins, J. J. (2004) Introduction to Modern Nonparametric Statistics.