sde_levy: Simulate a sample path of an exponential Ito-Levy process...

Description Usage Arguments Details Value

View source: R/EulerMaruyama.R

Description

Simulate a sample path of an exponential Ito-Levy process with the Euler-Maruyama scheme

Usage

1
sde_levy(spot, tt, drift, diffusion, lambda, jumps, n = 1000, M = 20000)

Arguments

spot

the initial price of the share-price process.

tt

the terminal time to simulate until

drift

the infinitesimal drift coefficient function of (t, x)

diffusion

the infinitesimal volatility coefficient function of (t, x)

lambda

the mean jump-rate function of (t, x)

jumps

a list of objects defining the jump-size distribution

n

number of sub-intervals in time-grid

M

number of samples to use in Monte-Carlo estimate of eta for the jump-diffusion drift correction.

Details

while jumps should contain

Value

data.frame


shill1729/sdes documentation built on Aug. 30, 2021, 6:36 p.m.