rdkou | R Documentation |
Simulates mixture of two exponentials one negative.
rdkou(n, p, alpha, beta, ku, kd)
n |
number of variates to simulate |
p |
mixing probability |
alpha |
mean size of positive jumps |
beta |
mean size of negative jumps |
ku |
the displacement of upward jumps away from the origin |
kd |
the displacement of downward jumps away from the origin |
vector
The double-exponential mixture distribution or the Kou distribution was introduced (in mathematical finance) in the paper http://www.columbia.edu/~sk75/MagSci02.pdf by S.G. Kou.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.