Usage
snssde2d(N, ...)
## S3 method for class 'default':
snssde2d(N = 1000, M = 1, x0 = 0, y0 = 0, t0 = 0, T = 1, Dt,
driftx, diffx, drifty, diffy, 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 'snssde2d':
summary(object, \dots)
## S3 method for class 'snssde2d':
time(x, \dots)
## S3 method for class 'snssde2d':
mean(x, \dots)
## S3 method for class 'snssde2d':
median(x, \dots)
## S3 method for class 'snssde2d':
quantile(x, \dots)
## S3 method for class 'snssde2d':
kurtosis(x, \dots)
## S3 method for class 'snssde2d':
skewness(x, \dots)
## S3 method for class 'snssde2d':
moment(x, order = 2, \dots)
## S3 method for class 'snssde2d':
bconfint(x, level=0.95, \dots)
## S3 method for class 'snssde2d':
plot(x, \dots)
## S3 method for class 'snssde2d':
lines(x, \dots)
## S3 method for class 'snssde2d':
points(x, \dots)
## S3 method for class 'snssde2d':
plot2d(x, \dots)
## S3 method for class 'snssde2d':
lines2d(x, \dots)
## S3 method for class 'snssde2d':
points2d(x, \dots)Arguments
N
number of simulation steps.
x0, y0
initial value of the process $X_{t}$ and $Y_{t}$ at time t0.
Dt
time step of the simulation (discretization). If it is missing a default $\Delta t = \frac{T-t_{0}}{N}$. driftx, drifty
drift coefficient: an expression of three variables t, x and y for process $X_t$ and $Y_t$. diffx, diffy
diffusion coefficient: an expression of three variables t, x and y for process $X_t$ and $Y_t$. alpha, mu
weight of the predictor-corrector scheme; the default alpha = 0.5 and mu = 0.5.
type
if type="ito" simulation sde of Ito type, else type="str" simulation sde of Stratonovich type; the default type="ito".
method
numerical methods of simulation, the default method = "euler".
x, object
an object inheriting from class "snssde2d".
level
the confidence level required.
...
further arguments for (non-default) methods.