dcOU(x, Dt, x0, theta, log = FALSE)
pcOU(x, Dt, x0, theta, lower.tail = TRUE, log.p = FALSE)
qcOU(p, Dt, x0, theta, lower.tail = TRUE, log.p = FALSE)
rcOU(n=1, Dt, x0, theta)
t
; see details.P[X <= x]<="" code="">;
otherwise P[X > x]
.=>
Constraints: $\theta_2>0, \theta_3>0$.
Please note that the process is stationary only if $\theta_2>0$.
Vasicek, O. (1977) An Equilibrium Characterization of the Term Structure, Journal of Financial Economics, 5, 177-188.
rsOU
rcOU(n=1, Dt=0.1, x0=1, theta=c(0,2,1))
Run the code above in your browser using DataLab