PACKAGE | |STAT Data Manipulation and Analysis, by Gary Perlman |
---|---|
NAME | rankind - rank order statistics for independent samples |
SYNOPSIS | rankind [-pry] [-w plotwidth] [-s splitter] [names] |
WEB FORM | rankind can be run from an online web form. |
DESCRIPTION |
rankind analyses data from ordinally ranked data obtained from
independent samples. The input consists of scores from several
samples, conditions, or groups. The scores need not be ranks; they
will be ranked by the program. Each group's data are separated by a
special value called the splitter, which is by default -1.0, but can
be changed with the -s option. For each group, the number of scores,
extrema and quartiles are reported. These scores are then ranked and
their medians and average ranks are tested using the median test, the
Fisher Exact Test, the Mann-Whitney U test, and the Kruskal-Wallis
one-way analysis of variance for ranks. These test the equality of
location (e.g., median or average rank) of the conditions.
The Mann-Whitney U test and the Fisher Exact test are used only when there are two conditions. The Kruskal-Wallis H significance test tests the same hypothesis as the Mann-Whitney U. The Fisher Exact test is an exact test of the chi-square approximation of the Median test, however, it is a generally less powerful test than the Mann- Whitney or Kruskal-Wallis, both of which make more use of ordinal information in scores.
Probability of Obtained Statistics
Ties
|
OPTIONS |
The following standard help options are supported. The program exits after displaying the help.
|
EXAMPLE |
The following data are from Siegel, page 122. An analysis that
includes a plot and names the conditions "absent" and "present"
follows.
> rankind -p absent present 17 16 15 15 15 14 14 14 13 13 13 12 12 12 12 11 11 10 10 10 8 8 6 -1 13 12 12 10 10 10 10 9 8 8 7 7 7 7 7 6The Fisher Exact two-tailed probability is .002550, while the chi- square approximation is 8.089 (p = .004453). The Mann-Whitney U of 304 has a probability of .000292 using a normal approximation (corrected for ties). The Kruskal-Wallis H of 11.9091 has a two- tailed probability of .000559, which is very close to twice the probability of the U test. |
LIMITS | Use the -L option to determine the program limits. |
MISSING VALUES | Missing data values (NA) are counted but not included in the analysis. |
SEE ALSO |
oneway performs the normal-theory parametric counterparts to this
non-parametric, distribution-free analysis.
rankrel analyses ordinal data for related conditions. contab analyses multi-factor contingency tables. Siegel, S. (1956) Nonparametric Statistics for the Behavioral Sciences. New York: McGraw-Hill. |
WARNING | When the program advises to check a table for exact probabilities of significance tests, it may still compute approximate values. These approximations should not be used for serious work. |
UPDATED | January 20, 1987 |