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

- 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.
- 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.
- 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.
- For the bottom row of column medians in the previous ...

Start Free Trial

No credit card required