rdkou: Simulate displaced double-exponential jumps

View source: R/kou-family.R

rdkouR Documentation

Simulate displaced double-exponential jumps

Description

Simulates mixture of two exponentials one negative.

Usage

rdkou(n, p, alpha, beta, ku, kd)

Arguments

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

Value

vector

References

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.


shill1729/findistr documentation built on May 20, 2024, 9:43 a.m.