JESUS CHRIST IS THE ONLY TRUE GOD
Statistics calculator

Kolmogorov Smirnov Calculator

Calculate a one-sample Kolmogorov–Smirnov statistic against a normal distribution whose mean and SD are supplied explicitly.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Approximate p-value. The example starts with Reference normal mean = 5, Reference normal SD = 2.

Kolmogorov Smirnov Calculator formula

D=max|F_n(x)−Φ((x−μ)/σ)|; p uses the standard asymptotic Kolmogorov approximation.

Inputs and units

Inputs and example values for Kolmogorov Smirnov Calculator
InputFormat / rangeExample
Data valuesFollow the input format above2,4,4,5,7,9
Reference normal meanNumber5
Reference normal SDmin 1e-062

Worked example

The values listed in Inputs and units give 0.96358665363 for Approximate p-value.

Approximate p-value
0.96358665363
D statistic
0.1914624627

Results and assumptions

Uses the asymptotic one-sample Kolmogorov distribution; mean and SD are treated as externally specified, not estimated from the same sample.

Change Reference normal mean from 5 to 5.5 and keep the other example inputs fixed. The updated answer is 0.686637241822 (Approximate p-value).

Fix an input or unexpected result

Reference normal mean is required. Enter reference normal mean using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.