sde_em: Euler-Maruyama solver for Ito SDEs

Description Usage Arguments Value

View source: R/EulerMaruyama.R

Description

The stochastic Euler-Maruyama solver for SDEs. See wikipedia for details

Usage

1
sde_em(x0, tt, drift, diffusion, n = 1000)

Arguments

x0

initial value of the process

tt

length to simulate over

drift

the drift coefficient function of space-time in the order (t, x)

diffusion

the diffusion coefficient function of space-time, in the order (t, x)

n

number of sub-intervals in time-discretization

Value

data.frame


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