双侧Kolmogorov-Smirnov统计量极限的累积分布函数和分位数的计算
Computing the Cumulative Distribution Function and Quantiles of the limit of the Two-sided Kolmogorov-Smirnov Statistic
摘要:
双侧单样本Kolmogorov-Smirnov概率分布的累积分布和分位数函数用于拟合优度检验。CDF是出了名的难以明确地描述和计算,并且对于大样本量,极限分布的使用是一个有吸引力的替代方案,其较低的计算要求。没有封闭形式的解决方案的计算的分位数是已知的。对于任何特定概率,通过数值求根器计算分位数函数可能需要对CDF及其导数进行多次评估。可以使用对CDF及其导数的近似来减少计算需求。我们表明,开源SciPy Python软件内部使用的近似值会导致计算量增加,而不仅仅是精度降低,并导致根查找的收敛失败。然后,我们提供了替代算法,恢复整个域的准确性和效率。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。