Other packages > Find by keyword >

KSgeneral  

Computing P-Values of the One-Sample K-S Test and the Two-Sample K-S and Kuiper Tests for (Dis)Continuous Null Distribution
View on CRAN: Click here


Download and install KSgeneral package within the R console
Install from CRAN:
install.packages("KSgeneral")

Install from Github:
library("remotes")
install_github("cran/KSgeneral")

Install by package version:
library("remotes")
install_version("KSgeneral", "2.0.2")



Attach the package and use:
library("KSgeneral")
Maintained by
Dimitrina S. Dimitrova
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-01-08
Latest Update: 2024-07-29
Description:
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. .
How to cite:
Dimitrina S. Dimitrova (2018). KSgeneral: Computing P-Values of the One-Sample K-S Test and the Two-Sample K-S and Kuiper Tests for (Dis)Continuous Null Distribution. R package version 2.0.2, https://cran.r-project.org/web/packages/KSgeneral. Accessed 26 Jun. 2026.
Previous versions and publish date:
0.1.0 (2018-01-08 19:46), 0.1.1 (2018-05-14 20:24), 0.1.2 (2020-02-11 11:00), 1.0.0 (2020-10-02 14:02), 1.1.0 (2021-12-05 17:00), 1.1.1 (2022-03-20 18:40), 1.1.2 (2023-07-10 21:10), 1.1.3 (2024-03-15 23:30), 2.0.0 (2024-05-21 12:40), 2.0.1 (2024-07-26 00:30)
Other packages that cited KSgeneral R package
View KSgeneral citation profile
Other R packages that KSgeneral depends, imports, suggests or enhances
Complete documentation for KSgeneral
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
colormap  
Color Palettes using Colormaps Node Module
Allows to generate colors from palettes defined in the colormap module of 'Node.js'. (see ...
Download / Learn more Package Citations See dependency  
poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
tactile  
New and Extended Plots, Methods, and Panel Functions for 'lattice'
Extensions to 'lattice', providing new high-level functions, methods for existing functions, panel f ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA