Loading…

Kolmogorov Smirnov Test Tool

Math Probability • Non Parametric and Computational Probability

View all topics

Compare an empirical CDF to a theoretical CDF (one-sample) or compare two empirical CDFs (two-sample), compute the KS statistic \(D\), and visualize the maximum deviation on a CDF plot.

Tip: Use “Fill example” to load data and run the test immediately.

One-sample: \(D=\sup_x\lvert F_n(x)-F(x)\rvert\). Two-sample: \(D=\sup_x\lvert F_{n_1}(x)-F_{n_2}(x)\rvert\).
For custom CDF, write an expression in x using explicit multiplication (e.g., 2*x, not 2x).
Allowed separators: commas, spaces, semicolons, new lines.
Ready

CDF comparison plot (animated)

Animation ready
Scrub 0% t = 0.00

The badge inside the plot shows computed \(D\) and the approximate p-value. The moving line shows the deviation at the scrubbed position.

Enter data and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.