This macro performs a 2-sample Kolmogorov-Smirnov normality test of the underlying distributions. The null hypothesis is that the distributions are the same. The two samples must be stored in separate columns of the active worksheet.
Be sure that Minitab knows where to find your downloaded macro. Choose . Under Macro location browse to the location where you save macro files.
If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.
For large sample sizes, the macro will take longer to complete. For two samples of size 100, the macro required about 4 sec on a PC with a 2.4 GHz processor and 3 GB of RAM. Two samples of size 1000 required approximately 35 sec.
Suppose the samples are stored in columns C1 and C2 and you want to perform the test at alpha=0.01. To run the macro, choose and type:
%KSTWO C1 C2;
ALPHA 0.01.
Click Run.