## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

# Time for action – the median polish algorithm

The median polish algorithm (refer to http://www-rohan.sdsu.edu/~babailey/stat696/medpolishalg.html) is given next:

1. Obtain the row medians of the two-way table and upend it to the right-hand side of the data matrix. From each element of every row, subtract the respective row median.
2. Find the median of the row median and record it as the initial grand effect value. Also, subtract the initial grand effect value from each row median.
3. For the original data columns in the previously upended matrix, obtain the column median and append it with the previous matrix at the bottom. As in step 1, subtract from each column element their corresponding column median.
4. For the bottom row of column medians in the previous ...

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required