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
| Input | Format / range | Example |
|---|---|---|
| Data values | Follow the input format above | 2,4,4,5,7,9 |
| Reference normal mean | Number | 5 |
| Reference normal SD | min 1e-06 | 2 |
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.
