06-18-2015 08:11 AM
I need to calculate KS between two groups of variables. Each group has 5 variables.
I use the following code,
proc npar1way edf plots=all data=have;
LOG shows: ERROR: One and only one CLASS variable must be specified.
How can I fix the code? And can I store the result of KS as a new valuable in my dataset?
06-18-2015 08:21 AM
You need to restructure your data so that BL(baseline?) is a category of a single CLASS variable (TIME?) that will have two levels, BASELINE and POST (perhaps).
the values of BLdist1-BLdist5 will be assigned to dist1-dist5 when the class variable is equal to BASELINE.
dist1=bldist1; dist2=bldist2; ...