Skip to content

One-Sample Kolmogorov-Smirnov Test

Compares a variable’s distribution with a theoretical one (normal, uniform, Poisson or exponential).

  • Goodness of fit to a specific distribution.
  • For normality with parameters estimated from the data, prefer Explore’s Shapiro-Wilk or the Lilliefors-corrected test. The classic K-S p-value is too large in that case.
  • A continuous distribution for the normal, uniform and exponential versions; independent observations.
  • Most extreme differences between the empirical and theoretical cumulative distributions, the Z statistic and significance. A small p means a poor fit.

Tenure followed an exponential distribution, Kolmogorov-Smirnov Z = 0.81, p = .53.

Syntax: NPAR TESTS /K-S(EXPONENTIAL)=tenure.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.