Description Usage Arguments Details Value
View source: R/EulerMaruyama.R
Simulate a sample path of an exponential Ito-Levy process with the Euler-Maruyama scheme
1  | sde_levy(spot, tt, drift, diffusion, lambda, jumps, n = 1000, M = 20000)
 | 
spot | 
 the initial price of the share-price process.  | 
tt | 
 the terminal time to simulate until  | 
drift | 
 the infinitesimal drift coefficient function of   | 
diffusion | 
 the infinitesimal volatility coefficient function of   | 
lambda | 
 the mean jump-rate function of   | 
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   | 
 while jumps should contain
distr the name of the distribution of the jump-sizes: "norm", "unif", "kou"
param named list of parameters for the distribution matching the input in rdistr for a given "distr".
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.