powered by
The function vsk_mle estimates parameters in the Vasicek distribution by using maximum likelihood estimator.
vsk_mle
vsk_mle(x)
A numeric vector in the (0, 1) interval that is supposed to follow the Vasicek distribution
A list with Vasicek parameters, namely Rho and P.
# NOT RUN { vsk_mle(vsk_rvs(1000, Rho = 0.2, P = 0.1)) # $Rho # [1] 0.2110976 # $P # [1] 0.1025469 # }
Run the code above in your browser using DataLab