
Last chance! 50% off unlimited learning
Sale ends in
TwoDiffAtra3D(N, t0, Dt, T = 1, X1_0, X2_0, X3_0, Y1_0,
Y2_0, Y3_0, v, K, m, Sigma, Output = FALSE)
discretization
).X1(t)
at time t0
.X2(t)
at time t0
.X3(t)
at time t0
.Y1(t)
at time t0
.Y2(t)
at time t0
.Y3(t)
at time t0
.see detail
K > 0
.m > 0
.Sigma > 0
.Output = TRUE
write a Output
to an Excel (.csv).dW1(t)
and dW2(t)
are brownian motions independent.
D(t)=sqrt((X1(t)^2 - Y1(t)^2)+(X2(t)^2 - Y2(t)^2)+(X3(t)^2-Y3(t)^2))
it is distance between V1(t)
and V2(t)
.
And the random variable tau
"first passage time", is defined by : v is the threshold
.TwoDiffAtra2D
, tho_02diff
.TwoDiffAtra3D(N=500, t0=0, Dt=0.001, T = 1, X1_0=0.5, X2_0=0.25,
X3_0=0.1,Y1_0=-0.5,Y2_0=-1, Y3_0=0.25, v=0.01, K=5,
m=0.2, Sigma=0.1, Output = FALSE)
Run the code above in your browser using DataLab