Usage
bridgesde1d(N, ...)
## S3 method for class 'default':
bridgesde1d(N = 1000, x0 = 0, y = 0, t0 = 0, T = 1, Dt,
drift, diffusion, 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 'bridgesde1d':
summary(object, \dots)
## S3 method for class 'bridgesde1d':
time(x, \dots)
## S3 method for class 'bridgesde1d':
plot(x, \dots)
## S3 method for class 'bridgesde1d':
lines(x, \dots)
## S3 method for class 'bridgesde1d':
points(x, \dots)Arguments
N
number of simulation steps.
x0
initial value of the process at time t0.
y
terminal value of the process at time T.
Dt
time step of the simulation (discretization). If it is missing a default $\Delta t = \frac{T-t_{0}}{N}$. drift
drift coefficient: an expression of two variables t and x. diffusion
diffusion coefficient: an expression of two variables t and x. 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 snssde1d. x, object
an object inheriting from class "bridgesde1d".
...
further arguments for (non-default) methods.