powered by
The function gof_ks performs Kolmogorov-Smirnov goodness-of-fit test for the Vasicek distribution
gof_ks
gof_ks(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 list with statistical test result, including ks stat and p-value.
# NOT RUN { x <- vsk_rvs(100, Rho = 0.2, P = 0.1) gof_ks(x, Rho = 0.2, P = 0.1) # }
Run the code above in your browser using DataLab