I have a data set and keep getting $D=1$ when I use the KS-Test. It doesn't matter what distribution I use. For example, consider the following:
For these, I get:
D = 1, p-value < 2.2e-16 alternative hypothesis: two-sided
The data I have looks exponential. Yet the KS-Test shows the opposite. Why?