powered by
The function vsk_pdf calculates the probability density function of Vasicek.
vsk_pdf
vsk_pdf(x, Rho, P)
A numeric vector in the (0, 1) interval that is supposed to follow the Vasicek distribution
The Rho parameter in the Vasicek distribution
The P parameter in the Vasicek distribution
A numeric vector with the corresponding pdf.
# NOT RUN { vsk_pdf(c(0.01, 0.02), Rho = 0.2, P = 0.3) # [1] 0.07019659 0.22207564 # }
Run the code above in your browser using DataLab