In Statistics, coding refers to applying a fixed transformation to the values in a data set. The most common transformation is a linear one of the form:

$x \mapsto a x + b$

for some constants $a$ and $b$.

Examples

Changing units. For example, if the data is temperature and was originally recorded as Fahrenheit then to adjust it to Centigrade we apply the coding $c = \frac{5}{9} (f - 32)$.

Simplifying numbers. For example, population might be measured in thousands so is coded as $x/1000$.

Created on October 7, 2018 20:02:00
by Loopspace?
(81.109.85.228)