if output = TRUE write a output to an Excel (.csv).
Value
data.frame(time,x) and plot of process.
Details
The stochastic differential equation of the modified CIR is : $$dX(t) = -r *X(t)*dt + sigma *sqrt(1 + X(t)^2) *dW(t)$$
With -r*X(t) :drift coefficient and sigma*sqrt(1+X(t)^2) :diffusion coefficient, W(t) is Wiener process, the discretization dt = (T-t0)/N.
Constraints: r + (sigma^2)/2 > 0 (this is needed to make the process positive recurrent).
See Also
CEV Constant Elasticity of Variance Models, CIR Cox-Ingersoll-Ross Models , CKLS Chan-Karolyi-Longstaff-Sanders Models, DWP Double-Well Potential Model, GBM Model of Black-Scholes, HWV Hull-White/Vasicek Models, INFSR Inverse of Feller s Square Root models, JDP Jacobi Diffusion Process, PDP Pearson Diffusions Process, ROU Radial Ornstein-Uhlenbeck Process, diffBridge Diffusion Bridge Models, snssde Simulation Numerical Solution of SDE.