Artigo Acesso aberto Revisado por pares

Evaluating Kolmogorov's Distribution

2003; Foundation for Open Access Statistics; Volume: 8; Issue: 18 Linguagem: Inglês

10.18637/jss.v008.i18

ISSN

1548-7660

Autores

George Marsaglia, Wai Wan Tsang, Jingbo Wang,

Tópico(s)

Numerical Methods and Algorithms

Resumo

Kolmogorov's goodness-of-fit measure, D n , for a sample CDF has consistently been set aside for methods such as the D + n or D - n of Smirnov, primarily, it seems, because of the difficulty of computing the distribution of D n . As far as we know, no easy way to compute that distribution has ever been provided in the 70+ years since Kolmogorov's fundamental paper. We provide one here, a C procedure that provides Pr(D n < d) with 13-15 digit accuracy for n ranging from 2 to at least 16000. We assess the (rather slow) approach to limiting form, and because computing time can become excessive for probabilities>.999 with n's of several thousand, we provide a quick approximation that gives accuracy to the 7th digit for such cases.

Referência(s)