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: 2023-07-10
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 21 Nov. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

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  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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