Hello everybody,

I would like to ask a question concerning the interpretation of a two sample Kolmogorov-Smirnov test result which we conducted as a formal goodness-of-fit test.
We conducted the test for the variables age and education which are ordinally scaled. First, is it the right test to assess formal goodness-of-fit?
If yes, how is it possible that we find in the first line (0) a difference of 0.0000 for both tests (see below)?

It would be great if you could help me. Thanks in advance!



ksmirnov Age, by (FinUn)

Two-sample Kolmogorov-Smirnov test for equality of distribution functions

Smaller group D P-value
-----------------------------------
0: 0.0000 1.000
1: -0.1030 0.064
Combined K-S: 0.1030 0.128

Note: Ties exist in combined dataset;
there are 4 unique values out of 656 observations.



. ksmirnov Education, by (FinUn)

Two-sample Kolmogorov-Smirnov test for equality of distribution functions

Smaller group D P-value
-----------------------------------
0: 0.0000 1.000
1: -0.0317 0.770
Combined K-S: 0.0317 1.000


Note: Ties exist in combined dataset;
there are 5 unique values out of 656 observations.