Usage
bridgesde3d(N, ...)
## S3 method for class 'default':
bridgesde3d(N = 1000, x0 = c(0, 0, 0), y = c(1, -1, 2), t0 = 0, T = 1, Dt,
driftx, diffx, drifty, diffy, driftz, diffz, alpha = 0.5, mu = 0.5,
type = c("ito", "str"), method = c("euler", "milstein", "predcorr",
"smilstein", "taylor", "heun", "rk1", "rk2","rk3"), ...)
## S3 method for class 'bridgesde3d':
summary(object, \dots)
## S3 method for class 'bridgesde3d':
time(x, \dots)
## S3 method for class 'bridgesde3d':
plot3D(x, display = c("persp","rgl"), ...)
## S3 method for class 'bridgesde3d':
plot(x, \dots)
## S3 method for class 'bridgesde3d':
lines(x, \dots)
## S3 method for class 'bridgesde3d':
points(x, \dots)
Arguments
N
number of simulation steps.
x0
initial value (numeric vector of length 3) of the process $X_t$, $Y_t$ and $Z_t$ at time $t_0$.
y
terminal value (numeric vector of length 3) of the process $X_t$, $Y_t$ and $Z_t$ at time $T$.
Dt
time step of the simulation (discretization). If it is missing
a default $\Delta t = \frac{T-t_{0}}{N}$. driftx
drift coefficient: an expression
of four variables t
, x
, y
and z
for process $X_t$. diffx
diffusion coefficient: an expression
of four variables t
, x
, y
and z
for process $X_t$. drifty
drift coefficient: an expression
of four variables t
, x
, y
and z
for process $Y_t$. diffy
diffusion coefficient: an expression
of four variables t
, x
, y
and z
for process $Y_t$. driftz
drift coefficient: an expression
of four variables t
, x
, y
and z
for process $Z_t$. diffz
diffusion coefficient: an expression
of four variables t
, x
, y
and z
for process $Z_t$. alpha
weight alpha
of the predictor-corrector scheme; the default alpha = 0.5
.
mu
weight mu
of the predictor-corrector scheme; the default mu = 0.5
.
type
if type="ito"
simulation diffusion bridge of Ito type, else type="str"
simulation diffusion bridge of Stratonovich type; the default type="ito"
.
method
numerical methods of simulation, the default method = "euler"
; see snssde3d
. x, object
an object inheriting from class "bridgesde3d"
.
display
"persp"
perspective or "rgl"
plots.
...
further arguments for (non-default) methods.