sample_path2: Simulate Ito-Levy process by model name and parameters

Description Usage Arguments Details Value

View source: R/sample_path2.R

Description

TO BE DEPRECATED——–Simulate stock prices under either the real or the risk-neutral measure for a combination of jump-diffusion models, including geometric Brownian motion, local volatility Gaussian mixtures, for the continuous-diffusion part, and the double exponential Kou model, the Merton normal jump-diffusion model, and uniformly distributed jumps for the discontinuous jump part. See details for specifics on parameters.

Usage

1
sample_path2(t, n, continuous.model, jump.model, parameters, measure = "Q")

Arguments

t

terminal time

n

number of nodes-1

continuous.model

"gbm" or "lvm"

jump.model

"kou", "norm", or "unif"

parameters

parameter list depending on models, see details

measure

either "P" or "Q"

Details

Regardless of the models parameters should contain

where lambda is a function of (x,t) describing the mean rate of arrivals of jumps,

for continuous.model == "gbm" parameters should additionally contain

for continuous.model = "lvm", parameters should additionally contain

for jump.model = "kou", parameters should additionally contain

for jump.model = "runif" parameters should additionally contain

and finally for jump.model = "norm" parameters should additionally contain

Value

data.frame


shill1729/FeynmanKacSolver documentation built on May 19, 2020, 8:23 p.m.