In
statistics, Mood's median test is a special case of
Pearson's chi-squared test
Pearson's chi-squared test (\chi^2) is a statistical test applied to sets of categorical data to evaluate how likely it is that any observed difference between the sets arose by chance. It is the most widely used of many chi-squared tests (e.g ...
. It is a
nonparametric test that tests the
null hypothesis
In scientific research, the null hypothesis (often denoted ''H''0) is the claim that no difference or relationship exists between two sets of data or variables being analyzed. The null hypothesis is that any experimentally observed difference is d ...
that the
medians of the
population
Population typically refers to the number of people in a single area, whether it be a city or town, region, country, continent, or the world. Governments typically quantify the size of the resident population within their jurisdiction using ...
s from which two or more
samples are drawn are identical. The data in each sample are assigned to two groups, one consisting of data whose values are higher than the median value in the two groups combined, and the other consisting of data whose values are at the median or below. A Pearson's chi-squared test is then used to determine whether the observed frequencies in each sample differ from expected frequencies derived from a
distribution Distribution may refer to:
Mathematics
*Distribution (mathematics), generalized functions used to formulate solutions of partial differential equations
*Probability distribution, the probability of a particular value or value range of a varia ...
combining the two groups.
Relation to other tests
The test has low
power
Power most often refers to:
* Power (physics), meaning "rate of doing work"
** Engine power, the power put out by an engine
** Electric power
* Power (social and political), the ability to influence people or events
** Abusive power
Power may ...
(efficiency) for moderate to large sample sizes. The Wilcoxon–
Mann–Whitney U two-sample test or its generalisation for more samples, the
Kruskal–Wallis test, can often be considered instead. The relevant aspect of the median test is that it only considers the position of each observation relative to the overall median, whereas the Wilcoxon–Mann–Whitney test takes the ranks of each observation into account. Thus the other mentioned tests are usually more powerful than the median test. Moreover, the median test can only be used for quantitative data.
It is crucial to note, however, that the null hypothesis verified by the Wilcoxon–
Mann–Whitney U (and so the
Kruskal–Wallis test) is not about medians. The test is sensitive also to differences in scale parameters and symmetry. As a consequence, if the Wilcoxon–
Mann–Whitney U test rejects the null hypothesis, one cannot say that the rejection was caused only by the shift in medians. It is easy to prove by simulations, where samples with equal medians, yet different scales and shapes, lead the Wilcoxon–
Mann–Whitney U test to fail completely.
However, although the alternative Kruskal-Wallis test does not assume normal distributions, it does assume that the variance is approximately equal across samples. Hence, in situations where that assumption does not hold, the median test is an appropriate test. Moreover, Siegel & Castellan (1988, p. 124) suggest that there is no alternative to the median test when one or more observations are "off the scale."
See also
*
Sign test
The sign test is a statistical method to test for consistent differences between pairs of observations, such as the weight of subjects before and after treatment. Given pairs of observations (such as weight pre- and post-treatment) for each subject ...
– a paired alternative to the median test.
References
* Corder, G.W. & Foreman, D.I. (2014). Nonparametric Statistics: A Step-by-Step Approach, Wiley. {{ISBN, 978-1118840313.
* Siegel, S., & Castellan, N. J. Jr. (1988, 2nd ed.). Nonparametric statistics for the behavioral sciences. New York: McGraw–Hill.
* Friedlin, B. & Gastwirth, J. L. (2000). Should the median test be retired from general use? ''The American Statistician, 54'', 161–164.
Statistical tests
Nonparametric statistics