tho_M1(N, M, t0, T, R0, v, K, sigma, Output = FALSE,
Methods = c("Euler", "Milstein", "MilsteinS",
"Ito-Taylor", "Heun", "RK3"), ...)
t0
,(R0 > 0).see detail
.K > 0
.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 - K)/ R(t) )* 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_M1(N=1000, M=50, t0=0, T=1, R0=2, v=0.05, K=3,
sigma=0.3, Output = FALSE)
Run the code above in your browser using DataLab