sample_path_bm: Simulate a sample path of Brownian motion starting from a...

Description Usage Arguments Details Value

View source: R/sample_path_bm.R

Description

Non exported Wrapper to sample_path_em to directly simulate a sample path of Brownian motion without having to specify the trivial coefficient functions. This function should not be called directly but rather through sample_path with continuous.model set to "bm".

Usage

1
sample_path_bm(t, IC = NULL, parameters = NULL, jumps = NULL, n = 10000)

Arguments

t

length of time to simulate over

IC

list of initial conditions

parameters

list of parameters, in this case for the jump-dynamics

jumps

a list of objects defining the jump-size distribution, can be NULL for purely continuous models

n

number of time sub-intervals in the discretization

Details

The list jumps should contain

Value

data.frame containing t (time) and X (state).


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