powered by
Random generation for the Laplace (double exponential) data with location 0 and scale 1.
rlaplace(n)
A vector of length n is returned containing the random data.
scalar. number of random draws.
John Kloke, Joseph McKean
A Laplace or double expoential distribution has heavier tails than a normal distribution and so a sample will tend to have additional outliers.
Hogg, Robert V.; McKean, Joseph; and Craig, Allen T., "Introduction to Mathematical Statistics (6th Edition)" (2005).
x <- rlaplace(100) qqnorm(x)
Run the code above in your browser using DataLab