Usage
PredCorr3D(N, T = 1, t0, x0, y0, z0, Dt, alpha = 0.5, mu = 0.5, driftx, drifty, driftz, diffx, diffy, diffz, Step = FALSE, Output = FALSE)
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).
alpha
weight alpha of the predictor-corrector scheme.
mu
weight mu of the predictor-corrector scheme.
driftx
drift coefficient of process X(t): an expression of three variables t , x and y, z.
drifty
drift coefficient of process Y(t): an expression of three variables t , x and y, z.
driftz
drift coefficient of process Z(t): an expression of three variables t , x and y, z.
diffx
diffusion coefficient of process X(t): an expression of three variables t , x and y, z.
diffy
diffusion coefficient of process Y(t): an expression of three variables t , x and y, z.
diffz
diffusion coefficient of process Z(t): an expression of three 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).