Usage
snssde3D(N, T = 1, t0, x0, y0, z0, Dt, driftx, drifty, driftz, diffx,
diffy, diffz, Step = FALSE, Output = FALSE, Methods = c
("SchEuler", "SchMilstein", "SchMilsteinS",
"SchTaylor", "SchHeun", "SchRK3"), ...)
Arguments
x0
initial value of the process X(t)
at time t0
.
y0
initial value of the process Y(t)
at time t0
.
z0
initial value of the process Z(t)
at time t0
.
Dt
time step of the simulation (discretization
).
driftx
drift coefficient of process X(t)
: an expression of variables t
, x
and y
, z
.
drifty
drift coefficient of process Y(t)
: an expression of variables t
, x
and y
, z
.
driftz
drift coefficient of process Z(t)
: an expression of variables t
, x
and y
, z
.
diffx
diffusion coefficient of process X(t)
: an expression of variables t
, x
and y
, z
.
diffy
diffusion coefficient of process Y(t)
: an expression of variables t
, x
and y
, z
.
diffz
diffusion coefficient of process Z(t)
: an expression of variables t
, x
and y
, z
.
Step
if Step = TRUE
ploting step by step.
Output
if output = TRUE
write a output
to an Excel (.csv).
Methods
method of simulation ,see details
.