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 06 Mar. 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

EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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