Lably
Skip to content

Median polish

  • 1 min read
  • 2 chapters

Explore on Lably

ToursExplore Lably’s 3D tours

Median polish utilizes the medians obtained from the rows and the columns of a two-way table to iteratively calculate the row effect and column effect on the data. The results are not meant to be sensitive to the outliers, as the iterative procedure uses the medians rather than the means.

Model for a two-way table

Suppose an experiment observes the variable Y under the influence of two variables. We can arrange the data in a two-way table in which one variable is constant along the rows and the other variable constant along the columns. Let i and j denote the position of rows and columns (e.g. yij denotes the value of y at the ith row and the jth column). Then we can obtain a simple linear regression equation:

yij=b0+b1xi+b2zj+εij,

where b0, b1, b2 are constants, and xi and zj are values associated with rows and columns, respectively.

The equation can be further simplified if no xi and zj values are present for the analysis:

yij=b0+ci+dj+εij,

where ci and dj denote row effects and column effects, respectively.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Statistics