Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > stat > arXiv:1802.06966

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Statistics > Computation

arXiv:1802.06966 (stat)
[Submitted on 20 Feb 2018]

Title:Computing the Cumulative Distribution Function and Quantiles of the One-sided Kolmogorov-Smirnov Statistic

Authors:Paul van Mulbregt
View a PDF of the paper titled Computing the Cumulative Distribution Function and Quantiles of the One-sided Kolmogorov-Smirnov Statistic, by Paul van Mulbregt
View PDF
Abstract:The cumulative distribution and quantile functions for the one-sided one sample Kolmogorov-Smirnov probability distributions are used for goodness-of-fit testing. While the Smirnov-Birnbaum-Tingey formula for the CDF appears straight forward, its numerical evaluation generates intermediate results spanning many hundreds of orders of magnitude and at times requires very precise accurate representations. Computing the quantile function for any specific probability may require evaluating both the CDF and its derivative, both of which are computationally expensive. To work around avoid these issues, different algorithms can be used across different parts of the domain, and approximations can be used to reduce the computational requirements. We show here that straight forward implementation incurs accuracy loss for sample sizes of well under 1000. Further the approximations in use inside the open source SciPy python software often result in increased computation, not just reduced accuracy, and at times suffer catastrophic loss of accuracy for any sample size. Then we provide alternate algorithms which restore accuracy and efficiency across the whole domain.
Comments: 41 pages, 6 figures
Subjects: Computation (stat.CO)
MSC classes: 62-04
Cite as: arXiv:1802.06966 [stat.CO]
  (or arXiv:1802.06966v1 [stat.CO] for this version)
  https://doi.org/10.48550/arXiv.1802.06966
arXiv-issued DOI via DataCite

Submission history

From: Paul Van Mulbregt [view email]
[v1] Tue, 20 Feb 2018 04:49:32 UTC (435 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Computing the Cumulative Distribution Function and Quantiles of the One-sided Kolmogorov-Smirnov Statistic, by Paul van Mulbregt
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
stat.CO
< prev   |   next >
new | recent | 2018-02
Change to browse by:
stat

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack