gof_ks: Kolmogorov-Smirnov goodness-of-fit test for the Vasicek...

Description Usage Arguments Value Examples

View source: R/gof_ks.R

Description

The function gof_ks performs Kolmogorov-Smirnov goodness-of-fit test for the Vasicek distribution

Usage

1
gof_ks(x, Rho, P)

Arguments

x

A numeric vector in the (0, 1) interval that is supposed to follow the Vasicek distribution

Rho

The Rho parameter in the Vasicek distribution

P

The P parameter in the Vasicek distribution

Value

A list with statistical test result, including ks stat and p-value.

Examples

1
2
x <- vsk_rvs(100, Rho = 0.2, P = 0.1)
gof_ks(x, Rho = 0.2, P = 0.1)

vasicek documentation built on Nov. 9, 2020, 9:07 a.m.

Related to gof_ks in vasicek...