Yes, I did that, and realized NPAR1WAY was calculating things incorrectly because the frequency is not the same as the weight, and all it takes is the frequency (and I have a weight). E.g. the Kolmogorov-Smirnov p-value is always near zero because it uses the sum of the frequencies in the calculation, but the statistical precision goes as the number of entries (i.e. as 10,000, not as 10,000*W). Same for Wilcoxon Rank Sum tests, using the weight as a frequency NPAR1WAY thinks there are 10,000*W people and thus the p-values are always miniscule. For the K-S tests I can in principle recalculate p from D, n1 and n2. But I cannot do anything about the Wilcoxon calculations. they are wrong and I can't recalculate them. Thus the need to create the new unweighted, resampled data set from the original weighted set.
... View more