Normalization by Subtracting the Median 


Assume that there are n rows with seven variables, A, B, C, D, E, F and G, in the data. We use variable E as an example in the calculations below. The remaining variables in the rows are normalized in the same way.

The normalized value of ei for variable E in the ith row is calculated as:

images/n_subtract_median_ekv.gif

where

Emedian = the median of variable E.

The median of a set of values is the middle value when the values are sorted from lowest to highest. If the number of values is even, the median is the average of the two middle values.

See also:

Normalizing Columns

Median