Computing the Cumulative Distribution Function and Quantiles of the limit of the Two-sided Kolmogorov-Smirnov Statistic

02/28/2018
by   Paul van Mulbregt, et al.
0

The cumulative distribution and quantile functions for the two-sided one sample Kolmogorov-Smirnov probability distributions are used for goodness-of-fit testing. The CDF is notoriously difficult to explicitly describe and to compute, and for large sample size use of the limiting distribution is an attractive alternative, with its lower computational requirements. No closed form solution for the computation of the quantiles is known. Computing the quantile function by a numeric root-finder for any specific probability may require multiple evaluations of both the CDF and its derivative. Approximations to both the CDF and its derivative can be used to reduce the computational demands. We show that the approximations in use inside the open source SciPy python software result in increased computation, not just reduced accuracy, and cause convergence failures in the root-finding. Then we provide alternate algorithms which restore accuracy and efficiency across the whole domain.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/20/2018

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

The cumulative distribution and quantile functions for the one-sided one...
research
07/16/2022

Exact and asymptotic goodness-of-fit tests based on the maximum and its location of the empirical process

The supremum of the standardized empirical process is a promising statis...
research
09/10/2020

Fast calculation of p-values for one-sided Kolmogorov-Smirnov type statistics

We present a method for computing exact p-values for a large family of o...
research
02/11/2019

Computing Extremely Accurate Quantiles Using t-Digests

We present on-line algorithms for computing approximations of rank-based...
research
10/11/2019

Analytical Quantile Solution for the S-distribution, Random Number Generation and Statistical Data Modeling

The selection of a specific statistical distribution is seldom a simple ...
research
04/09/2018

Some indices to measure departures from stochastic order

This paper deals with three famous statistics involved on two-sample pro...
research
11/30/2021

Application of Equal Local Levels to Improve Q-Q Plot Testing Bands with R Package qqconf

Quantile-Quantile (Q-Q) plots are often difficult to interpret because i...

Please sign up or login with your details

Forgot password? Click here to reset