11-13-2014 12:54 PM
I need a statistical test to show that the distribution of two samples are the same.
I was thinking I could probably test to see if both the distributions are normal or not but then it necessarily does not have to be a normal distribution and these could be any other distribution. So this might not work for my case.
Is there a way i could test that the distibutions are the same. Any code/examples will be very helpful.
11-13-2014 01:30 PM
The Kolmogorov Smirnov test whether the two distribution-functions are the same in a nonparametric way.
this can be done with PROC NPAR1WAY with the KS-option. It also gives some some other test for the same hypothesis, but the Kolmogorov-Smirnov test are the most well-know.