Function ADS::kolmogorovSmirnov

Function Documentation

inline std::pair<double, double> ADS::kolmogorovSmirnov(std::vector<double> U)

the statistics ( K+ , K- ) of Kolmogorov and Smirnov of the numbers U in [ 0 , 1 ) against the uniform distribution, scaled by sqrt( n )

Pre:

U not empty