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 16 Jul. 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

wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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