The Median test investigates the difference between the medians of two independent samples of sizes
and
, denoted by:
and
where
.
The test proceeds by forming a
frequency table, giving the number of scores in each sample above and below the median of the pooled sample:
|
Sample 1 |
Sample 2 |
Total |
Scores pooled median |
|
|
|
Scores pooled median |
|
|
|
Total |
|
|
|
Under the null hypothesis,
, we would expect about half of each group's scores to be above the pooled median and about half below, that is, we would expect
, to be about
and
to be about
.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
The probability returned should be accurate enough for practical use.
This example is taken from page 112 of
Siegel (1956). The data relate to scores of ‘oral socialisation anxiety’ in
societies, which can be separated into groups of size
and
on the basis of their attitudes to illness.