rkou: Simulate double-exponential jumps

Description Usage Arguments Value References

View source: R/kou.R

Description

Simulates mixture of two exponentials one negative.

Usage

1
rkou(n, p, alpha, beta)

Arguments

n

number of variates to simulate

p

mixing probability

alpha

mean size of positive jumps

beta

mean size of negative jumps

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/FeynmanKacSolver documentation built on May 19, 2020, 8:23 p.m.