Description Usage Arguments Details Value Author(s)
A Laplace (double exponential) series with mean zero and variance 1 is simulated.
1 | simLaplace(n)
|
n |
Length of series. |
The model equation is:
e=(-1)^(u1≥0.5) * ln(u2) / sqrt(2)
where u1 and u2 are independent uniform (0,1) random variables.
vector of length n, simulated harmonic series.
Yuanhao Lai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.