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.
Related Posts with Two sample Kolmogorov-Smirnov test results
Predict commanddear all, I use stata 13. When I do "predict r, rstudent", "predict c, cooksd", etc, I have the foll…
Robreg mm - sDear I have some trouble with robreg mm or robreg s. When I run the regression I have the error mes…
local gives some incorrect resultsHi, I am quite new in using loop in Stata, and I find of great help this forum. I did some search on…
Multiple missing characteristics - Using egen to count number of members in householdI wish to count the number of members in a household for the given survey data. hh_id memgndr_1 m…
Past Stata "platform names" for "package files" (help usersite)In Stata 16, the output of help usersite tells us about the "g" lines in the package file. g sp…
Subscribe to:
Post Comments (Atom)
0 Response to Two sample Kolmogorov-Smirnov test results
Post a Comment