Unless scientific theory suggests a specific transformation a priori, transformations are usually chosen from the "power family" of transformations, where each value is replaced by x**p, where p is an integer or half-integer, usually one of:
For p = -0.5 (reciprocal square root), 0, or 0.5 (square root), the data values must all be positive. To use these transformations when there are negative and positive values, a constant can be added to all the data values such that the smallest is greater than 0 (say, such that the smallest value is 1). (If all the data values are negative, the data can instead be multiplied by -1, but note that in this situation, data suggesting skewness to the right would now become data suggesting skewness to the left.) To preserve the order of the original data in the transformed data, if the value of p is negative, the transformed data are multiplied by -1.0; e.g., for p = -1, the data are transformed as x --> -1.0/x. Taking logs or square roots tends to "pull in" values greater than 1 relative to values less than 1, which is useful in correcting skewness to the right. Transformation involves changing the metric in which the data are analyzed, which may make interpretation of the results difficult if the transformation is complicated. If you are unfamiliar with transformations, you may wish to consult a statistician before proceeding.
A median test can be calculated by creating a 2x2 contingency table of counts of the values in each sample that are greater or not greater than the median of both samples together. Then this contingency table can be tested by a chi-square test or Fisher's exact test. This test does not assume equality of dispersions, but is likely to be less powerful than the rank sum test when the dispersions are in fact comparable.
If applying a transformation promotes normality, the unpaired two-sample t test may be a more powerful test than the rank sum test for the transformed data.
Examine the glossary.
Do a keyword search of PROPHET
StatGuide.
Back to StatGuide testing equality of means/location page.
Back to StatGuide nonparametric tests page.
Back to StatGuide rank sum test page.
Back to StatGuide home page.
©1996 BBN Corporation All rights reserved.