## 20.10 同分布检验 ks.test

Lilliefors 检验 32 和单样本的 ks 检验的关系

As to whether you can do a Lilliefors test for several groups, that depends entirely on your ability to understand what the underlying question would be (see Adams D 1979).

— Knut M. Wittkowski 33

Kolmogorov-Smirnov 检验：单样本或两样本的同分布检验

usage(ks.test)
ks.test(x, y, ..., alternative = c("two.sided", "less", "greater"),
exact = NULL)