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 Aug. 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), (2026-07-09 08:07)
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

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  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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