Kolmogorov-Smirnov test — one- and two-sample.
mediumAnswer
- Statistic: | — max vertical distance between two ECDFs (two-sample) or between empirical and theoretical CDF (one-sample).
- Distribution-free, works for continuous data, sensitive to shifts in location, scale, or shape.
- Weakness: less sensitive in the tails.
- Use in drift detection (compare distribution today vs baseline).
Check yourself — multiple choice
- Only parametric
- |; distribution-free; sensitive to location/scale/shape; used for drift detection
- Requires normality
- Same as t-test
KS test: max CDF gap; distribution-free; foundation of drift detection.
#hypothesis-testing#non-parametric
Practise Statistics Fundamentals
215 interview questions in this topic.