About Anaconda Help Download Anaconda

r / packages / r-ksgeneral

Computes a p-value of the one-sample two-sided (or one-sided, as a special case) Kolmogorov-Smirnov (KS) statistic, for any fixed critical level, and an arbitrary, possibly large sample size for a pre-specified purely discrete, mixed or continuous cumulative distribution function (cdf) under the null hypothesis. If a data sample is supplied, 'KSgeneral' computes the p-value corresponding to the value of the KS test statistic computed based on the user provided data sample. The package 'KSgeneral' implements a novel, accurate and efficient method named Exact-KS-FFT, expressing the p-value as a double-boundary non-crossing probability for a homogeneous Poisson process, which is then efficiently computed using Fast Fourier Transform (FFT). The package can also be used to compute and plot the complementary cdf of the KS statistic which is known to depend on the hypothesized distribution when the latter is discontinuous (i.e. purely discrete or mixed). To cite this package in publication use: Dimitrina S. Dimitrova, Vladimir K. Kaishev, and Senren Tan. Computing the Kolmogorov-Smirnov Distribution When the Underlying CDF is Purely Discrete, Mixed, or Continuous. Journal of Statistical Software. 2020; 95(10): 1--42. <doi:10.18637/jss.v095.i10>.

Type Size Name Uploaded Downloads Labels
conda 151.1 kB | linux-64/r-ksgeneral-1.1.2-r43h884c59f_0.tar.bz2  1 year and 2 months ago 25 main
conda 152.5 kB | linux-64/r-ksgeneral-1.1.1-r42h884c59f_0.tar.bz2  2 years and 9 months ago 55 main
conda 153.0 kB | osx-64/r-ksgeneral-0.1.1-r36h466af19_0.tar.bz2  5 years and 1 day ago 20 main
conda 147.3 kB | linux-64/r-ksgeneral-0.1.1-r36h29659fb_0.tar.bz2  5 years and 1 day ago 67 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.9) Legal | Privacy Policy