if output = TRUE write a output to an Excel (.csv).
Value
data.frame(time,x) and plot of process.
Details
Another interesting family of parametric models is that of the Cox-Ingersoll-Ross process. This model was introduced by Feller as a model for population growth and became quite popular in finance after Cox, Ingersoll, and Ross proposed it to model short-term interest rates. It was recently adopted to model nitrous oxide emission from soil by Pedersen and to model the evolutionary rate variation across sites in molecular evolution.
The discretization dt = (T-t0)/N, and the stochastic differential equation of CIR is : $$dX(t) = (r - theta *X(t))*dt + sigma *sqrt(X(t)) *dW(t)$$
With (r - theta *X(t)) :drift coefficient and sigma*sqrt(X(t)) :diffusion coefficient, W(t) is Wiener process.
Constraints: 2*r > sigma^2.
See Also
CEV Constant Elasticity of Variance Models, CIRhy modified CIR and hyperbolic Process, 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.