tho_M2(N, M, t0, T, R0, v, K, s, Sigma, Output = FALSE,
Methods = c("Euler", "Milstein", "MilsteinS",
"Ito-Taylor", "Heun", "RK3"), ...)
t0
,(R0 > 0).see detail
.K > 0
.s >= 2
.Sigma > 0
.Output = TRUE
write a Output
to an Excel (.csv).snssde
.Radial Process R(t)
with R(t)=||(X(t),Y(t))||
is a markovian diffusion, solution of the stochastic differential equation one-dimensional:
$$dR(t) = ((0.5 * Sigma^2 * R(t)^(S-1) - K)/ R(t)^S )* dt + Sigma* dW(t)$$
We take interest in the random variable FPT
"first passage time", is defined by : $$FPT = inf(t>=0 \ R(t) <= v="" )$$<="" em=""> with v is the threshold
.
For more detail consulted References
.=>AnaSimFPT
Simulation The First Passage Time FPT For A Simulated Diffusion Process.tho_M2(N=1000, M=50, t0=0, T=1, R0=2, v=0.05, K=3,s=2,
Sigma=0.3,Output = FALSE,Methods="Euler")
Run the code above in your browser using DataLab