ks-test-0.1: Kolmogorov distribution and Kolmogorov-Smirnov test.

Safe HaskellSafe-Infered

Data.Random.Distribution.Kolmogorov

Description

CDF of Kolmogorov's D-statistic, parameterized by sample size

Synopsis

Documentation

data D a Source

Constructors

D Int 

Instances

kCdf :: (Floating a, Integral b, RealFrac a, Factorial a, Unbox a) => b -> a -> aSource

kCdfQuick :: (Floating a, Integral b, RealFrac a, Factorial a, Unbox a) => b -> a -> aSource

kCdf with Marsaglia's long-computation shortcut approximation. Accurate to about 7 decimal places in the right tail of the distribution.