Deviation (statistics)


In mathematics and statistics, deviation is a measure of difference between the observed value of a variable and some other value, often that variable's mean. The sign of the deviation reports the direction of that difference. The magnitude of the value indicates the size of the difference.

Types

A deviation that is a difference between an observed value and the true value of a quantity of interest is an error.
A deviation that is the difference between the observed value and an estimate of the true value is a residual. These concepts are applicable for data at the interval and ratio levels of measurement.

Unsigned or absolute deviation

In statistics, the absolute deviation of an element of a data set is the absolute difference between that element and a given point. Typically the deviation is reckoned from the central value, being construed as some type of average, most often the median or sometimes the mean of the data set:
where

Measures

Mean signed deviation

For an unbiased estimator, the average of the signed deviations across the entire set of all observations from the unobserved population parameter value averages zero over an arbitrarily large number of samples. However, by construction the average of signed deviations of values from the sample mean value is always zero, though the average signed deviation from another measure of central tendency, such as the sample median, need not be zero.

Dispersion

Statistics of the distribution of deviations are used as measures of statistical dispersion.
Deviations have units of the measurement scale.
One can nondimensionalize in two ways.
One way is by dividing by a measure of scale, most often either the population standard deviation, in standardizing, or the sample standard deviation, in studentizing.
One can scale instead by location, not dispersion: the formula for a percent deviation is the observed value minus accepted value divided by the accepted value multiplied by 100%.