Observational error (or measurement error) is the difference between a measured value of a quantity and its true value. In statistics, an error is not a "mistake". Variability is an inherent part of the results of measurements and of the measurement process.
Measurement errors can be divided into two components: random error and systematic error. Random errors are errors in measurement that lead to measurable values being inconsistent when repeated measurements of a constant attribute or quantity are taken. Systematic errors are errors that are not determined by chance but are introduced by an inaccuracy (involving either the observation or measurement process) inherent to the system. Systematic error may also refer to an error with a nonzero mean, the effect of which is not reduced when observations are averaged.
There are two types of measurement error: systematic errors and random errors.
A systematic error (an estimate of which is known as a measurement bias) is associated with the fact that a measured value contains an offset. In general, a systematic error, regarded as a quantity, is a component of error that remains constant or depends in a specific manner on some other quantity.
A random error is associated with the fact that when a measurement is repeated it will generally provide a measured value that is different from the previous value. It is random in that the next measured value cannot be predicted exactly from previous such values. (If a prediction were possible, allowance for the effect could be made.) In general, there can be a number of contributions to each type of error.
When either randomness or uncertainty modeled by probability theory is attributed to such errors, they are "errors" in the sense in which that term is used in statistics; see errors and residuals in statistics.