How to do K-S test with weight
Dear specialists,
I really thank everyone here sparing no efforts to help me.
The problem is this: I have two samples (merged in one dataset) and I want to compare the distributions on some variables between the two samples. Normally, this is quite straightforward with, say, a Kolmogorov-Smirnov test. My problem is that I want to include probability weights in the two samples. The Stata ksmirnov routine does not allow for pweights. I was wondering if there is a way to do such a thing in Stata?
It would be great if somebody can help me. Thank you very much in advance!
Ye
0 Response to How to do K-S test with weight
Post a Comment