Gianvecchio developed a detection technique using the
Kolmogorov-Smirnov test, which determines whether or not
two samples (or a sample and a distribution) dier. The
test measures the maximum distance between two emperical
distribution functions:
KSTEST = max jS1(x)