Skip to main content icon/video/no-internet

Friedman Test

A common design in quantitative research involves the repeated testing of participants in a number of (k) different treatments or conditions. A related design involves the random allocation of subgroups of k matched individuals to k different treatments or conditions. In both cases, the observations are matched across the k conditions, and the research question is whether there is any variation among the conditions on some criterion variable. Classically, this question is addressed using an analysis of variance (with repeated measures in the former design and randomized blocks in the latter design). However, this procedure assumes that the criterion variable in question (a) is measured on an interval or ratio scale, (b) is normally distributed, and (c) has the same variance in all of the conditions.

The Friedman two-way analysis of variance by ranks (to give the full name for the test) was developed for use in situations in which one or more of these assumptions is not met. (The “two-way” refers to the fact that the raw data are often couched in the form of a table in which the columns refer to the conditions and the rows refer to the individuals or subgroups of individuals who have participated.) This entry describes the original derivation of the Friedman test, provides a simple worked example, discusses the test’s power and power efficiency, and describes the relationship between the test statistic and Kendall’s coefficient of concordance.

Analysis of Variance by Ranks

In 1937, an American statistician and economist, Milton Friedman, suggested that the assumption of normality in the parametric analysis of variance could be circumvented by converting the data in question into ranks. If the data table contains k columns and n rows, the entries in each row are replaced by the numbers from 1 to k, where 1 refers to the smallest observation and k refers to the largest observation across the k conditions. (Friedman noted that it was immaterial whether the ranking was from the lowest to the highest or from the highest to the lowest.) Suppose that Ri is the sum of the ranks in the ith condition and that R is the sum of all the ranks across the k conditions. The deviation of the mean of the ranks in the ith condition is [(Ri/n)(R/kn)]. Friedman defined a statistic that he denoted by the symbol χr2 (chi-r-square) as the sum of the squared standardized deviations across the k conditions.

However, this can be simplified computationally because the data in each row are simply the integers from 1 to k. Within each row, the sum of all the ranks is k(k+1)/2, the mean of all the ranks is (k+1)/2, and the variance of all the ranks is (k2−1)/12. This enabled Friedman to express his test statistic in terms of the following formula:

χr2={12/[nk(k+1)]}[(Ri2)]3n(k+1),

where summation is carried out across the k conditions. For k = 2, Friedman noted that his test was formally equivalent to the sign test, whose properties had already been well-documented. For k = 3 and values of n between 2 and 9, and for k = 4 and values of n between 2 and 4, he presented tables showing the exact probability of obtaining a value of χr2 or a higher value under the null hypothesis that the observations in the different conditions were drawn from the same population. For larger values of k and n, Friedman proposed that the means of the ranks would be normally distributed under the null hypothesis; χr2 would therefore be distributed as chi-square (χ2) with (k − 1) degrees of freedom, and it could be evaluated using existing tables of χ2.

...

  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles

Sage Recommends

We found other relevant content for you on other Sage platforms.

Loading