Chapter Contents |
Previous |
Next |
The NPAR1WAY Procedure |
When there are tied values, PROC NPAR1WAY first sorts the observations in ascending order and assigns ranks as if there were no ties. Then the procedure computes the scores based on these ranks, using the formula for the specified score type. The procedure averages the scores for tied observations and assigns this average score to each of the tied observations. Thus, all equal data values have the same score value. PROC NPAR1WAY then computes the test statistic from these scores.
Note that the asymptotic tests may be less accurate when the distribution of the data is heavily tied. For such data, it may be appropriate to use the exact tests provided by PROC NPAR1WAY, as described in the "Exact Tests" section.
When computing empirical distribution function statistics for data with ties, PROC NPAR1WAY uses the formulas given in the "Statistics Based on the Empirical Distribution Function" section. No special handling of ties is necessary.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.