Error
In everyday use, an error is a mistake. It is an action, thought, or judgment that is wrong.[1]
In science, engineering, and statistics, the word has a narrower meaning. It is the difference between a value someone measured or calculated and the true or correct value.[1] A careful scientist using the best available method still gets results with some error, because every measurement has limits. A mistake, such as misreading a dial, is a separate thing.[2]
Kinds of error
The word "error" is used in several fields, and each gives it a precise sense.
- Measurement error is the measured value minus a reference value, such as the true value.[2]
- Statistical error is how far one observation falls from the true value it is meant to reflect, such as a population average.[3]
- Calculation error is the gap between an approximate answer and the exact answer, for example from rounding.[4]
- Human error is a planned action that does not go as intended, or the use of a wrong plan.[5]
- Statistics names two kinds of wrong decision in a hypothesis test and gives each a probability.[6]
Error in measurement
Definition
Metrology is the science of measurement. Its standard vocabulary is the International Vocabulary of Metrology (VIM).[2]
Measurement error is the difference between a measured value and a reference value. The VIM defines it as the measured value minus the reference value.[2]
Here is the error, is the measured value, and is the reference value. A positive means the reading is too high, and a negative means it is too low.
Whether the error can be known depends on the reference value used.[2]
| Reference value | Is the error known? |
|---|---|
| A measurement standard whose own uncertainty is so small it can be ignored | Yes |
| The true value of the quantity | No |
Measurement error is not the same as a mistake. The VIM states that the two should not be confused.[2]
Absolute and relative error
Error can be stated in two ways.[4]
- The true error, also called the absolute error, is the approximate value minus the true value.
- The relative error is that error divided by the true value, given as a fraction or a percentage.
Here is the measured or approximate value and is the true value, which must not be zero for the relative error to exist. Relative error lets you compare errors in quantities of very different size.
Flow meter error shows why the difference matters. A flow meter rated at ±0.5 percent of a 50 ft/s full range can be off by ±0.25 ft/s at any flow. At a flow of 6 ft/s, that is about 4.17 percent of the reading.[7]
A meter rated at ±0.5 percent of the reading behaves differently. Its error stays at 0.5 percent of whatever it reads.[7]
Systematic and random error
Measurement error is traditionally split into two parts.[8] They behave differently when you repeat a measurement.
- Systematic error stays the same or changes in a predictable way across repeated measurements.[9] It is often called bias.[8]
- Random error changes in an unpredictable way across repeated measurements.[10] Its average over many repeats is generally assumed to be zero.[10]
The two parts add up to the total error, so each one equals the total error minus the other.[9][10] The broader topic is covered in observational error.
Each part is reduced in a different way. Random error cannot be corrected for, but it can usually be reduced by taking more observations and averaging them.[8]
A known systematic error can be offset by applying a correction, often found through calibration against a standard.[9][8] Even so, neither kind of error can be removed completely.[8]
Accuracy and precision
Accuracy and precision describe the results of measurement in terms of error.
| Term | Meaning in the VIM | Link to error |
|---|---|---|
| Accuracy | How closely a measured value agrees with the true value[2] | A measurement with a smaller error is more accurate[2] |
| Precision | How closely repeated measured values agree with each other, under stated conditions[2] | Usually given as a standard deviation, variance, or coefficient of variation[2] |
The measures of spread in the table have simple meanings. The variance is the average of the squared differences between the values and their mean. The coefficient of variation is the standard deviation divided by the mean.
A related term, trueness, falls as systematic error grows and does not depend on random error.[2] The VIM says the term "measurement accuracy" should not be used for trueness, and "measurement precision" should not be used for accuracy.[2]
Error versus uncertainty
Error and measurement uncertainty are different ideas. The Guide to the Expression of Uncertainty in Measurement (GUM) says they are not words with the same meaning and should not be confused.[8]
| Idea | What it describes | Can it be known? |
|---|---|---|
| Error | The gap between a result and the true value | No, because the true value is unknowable; the GUM calls error a simplified idea[8] |
| Uncertainty | The doubt that remains about a result after all known errors are corrected[8] | Yes, it is estimated and reported with the result[8] |
The VIM also describes two views of the true value itself.[2]
| Approach | What it assumes about true values |
|---|---|
| Error approach | There is one true value, but it cannot be known in practice |
| Uncertainty approach | A quantity's definition is never complete, so there is a set of true values consistent with it, not a single one |
Error in statistics
Errors and residuals
In statistics, an error is the gap between an observation and the true value it reflects.[3] A common setting is regression, which fits a line that predicts one variable from another. In a regression model, the error for observation is
where is the observed value and is its mean value on the true line.[3] Here means a mean, not the measurement error used above. The true line is usually unknown, so the errors are unknown too.
A residual is the observable stand-in for an error. It is the vertical distance from a data point to the line fitted from the sample, not to the true line.[3]
Here is the residual, is the observed value, and is the value the fitted line predicts for that point.[3] Analysts study residuals to check whether the assumptions made about the errors hold.[3] See errors and residuals.
Errors in hypothesis tests
A statistical hypothesis test can reach a wrong conclusion in two ways, called type I and type II errors. Each depends on whether the null hypothesis (the default claim of no effect) is really true.[6]
| Decision | Null hypothesis is true | Null hypothesis is false |
|---|---|---|
| Reject it | Type I error (false positive) | Correct |
| Do not reject it | Correct | Type II error (false negative) |
Each kind of error has a probability, and these set the quality of a test.[6]
- , the significance level, is the chance of a type I error.
- is the chance of a type II error.
- The power, , is the chance that the test detects an effect of a given size that really exists.
- Many studies set and , though these values are chosen without a strong reason.
Type III error
A type III error means giving the right answer to the wrong problem.[11]
The statistician A. W. Kimball gave this definition of an "error of the third kind" in 1957. He traced it mainly to poor communication between a statistical consultant and the researcher.[11]
Error in calculation
Round-off and truncation error
Calculations done on computers or by approximation have their own errors, studied in numerical analysis. There are two main kinds.[4]
- Round-off error arises because a computer stores numbers with limited precision, so not every number can be held exactly.[4]
- Truncation error comes from using an approximation in place of an exact mathematical procedure, such as estimating a derivative from nearby points.[4]
Truncation error is often studied with the Taylor series. A derivative is the rate at which a function changes. A Taylor series writes a function near a point as a sum of terms built from its derivatives at that point.[12]
Stopping the sum after the term leaves a remainder , which is the truncation error.[4]
Here is the step size, the distance from to . Taylor's theorem gives the remainder a definite form when can be differentiated times on an interval containing both points.[12] See also approximation error.
The step size trade-off
The two kinds of error pull in opposite directions.[4]
- Truncation error grows as the step size grows.
- Round-off error shrinks as the step size grows.
- So a step size that is either too small or too large gives poor results.
Propagation of error
When a result is calculated from several measured inputs, the errors in the inputs carry into the result. Propagation of error estimates how much.[13] Inputs are uncorrelated when their errors do not tend to vary together. For with uncorrelated inputs, the standard deviation of is estimated as
Here and are the standard deviations of the input measurements.[13] The partial derivative is how much changes per unit change in when the other inputs are held fixed.
When the inputs are correlated, the full formula adds covariance terms.[13] These terms account for how pairs of inputs vary together.
Human error
Definition
Human error is error in the everyday sense. The Institute of Medicine defines an error as the failure of a planned action to be completed as intended, or the use of a wrong plan to achieve an aim.[5] Following James Reason, it calls these errors of execution and errors of planning.[5]
Types of human failure
The UK Health and Safety Executive sorts human failures into errors (slips, lapses, and mistakes) and violations.[14]
| Type | What happens | Example |
|---|---|---|
| Slip (error) | An unintended action during a familiar task | Pressing the wrong button |
| Lapse (error) | A step is forgotten during a familiar task | Missing a step in a procedure |
| Mistake (error) | The intended action is wrong, though the person believes it is right | Using a remembered rule that does not fit a new situation |
| Violation | A deliberate, usually well-meant, break from a rule | Taking a shortcut to finish a job faster |
Each type of error has a different fix.[14]
- Training cannot remove slips and lapses, but better design can make them less likely.
- Training based on good procedures is the main defense against mistakes.
Medical error
Medical error is human error in health care. It is a central concern of patient safety.
The Institute of Medicine report To Err Is Human, released on 29 November 1999, drew wide attention to it.[15] It estimated that medical errors kill at least 44,000 Americans in hospitals each year, and possibly as many as 98,000.[5]
Not every error causes harm.[5] The report argued that building safety into care processes reduces errors more than blaming individuals.[5]
Errors in perception and memory
The mind makes systematic errors too. In representational momentum, memory for the last position of a moving object is often shifted forward in the direction it was moving.[16]
Jennifer Freyd and Ronald Finke first showed this in 1984 with a simple task.[16]
- Observers saw three rectangles in a row whose orientations implied rotation.
- They then saw a fourth rectangle, the probe, and judged whether it matched the last one.
- They said "same" more often when the probe was rotated slightly forward than when it was rotated slightly backward.
Errors in science
Scientific claims can also be wrong, and the history of particle physics has many false discoveries.[17] A well-known case is Oops-Leon, a particle that seemed to appear in data at Fermilab.
The signal
By August 1975, Leon Lederman's E288 team saw a bump near 6 GeV. A GeV (giga-electronvolt) is a unit physicists use for particle mass. The team found 12 events where they expected 4 from background, meaning events from known processes that can look like a signal.[17]
The team proposed the name Upsilon for the new particle. Team member Walter Innes joked that if it proved a mirage, they could call it "Oops-Leon".[17]
Why it was false
A repeat experiment a few months later found no excess at 6 GeV, and a 1977 analysis ruled it out.[17] The false signal mixed chance with a mistake in the background model.
The team had assumed the background fell as the inverse cube of mass, that is, in proportion to one divided by the mass cubed. In fact it fell exponentially, dropping by the same fraction for each equal step up in mass. With the right model, the expected background was nearer 8 events than 4, so 12 events were much less significant.[17]
The real Upsilon
The same team later found a real particle near 9.5 GeV, the Upsilon meson.[17] It pointed to the existence of a fifth quark, the bottom quark.[17]
References
- Error, definition and meaning, Merriam-Webster.
- JCGM 200:2008 International Vocabulary of Metrology, Chapter 2: Measurement, Joint Committee for Guides in Metrology, 2008.
- 4.1 Residuals, STAT 462, Penn State Eberly College of Science.
- Section 1: Roundoff and Truncation Errors, Oregon State University, ESC 440 course notes.
- To Err Is Human: Building a Safer Health System, Executive Summary, Institute of Medicine, National Academies Press, 2000.
- Hypothesis testing, type I and type II errors, Banerjee A. et al., Industrial Psychiatry Journal, 2009.
- Instrumentation Lessons: Selecting and Sizing Flowmeters, InTech, International Society of Automation, 2022.
- JCGM 100:2008 Evaluation of measurement data: Guide to the expression of uncertainty in measurement, Joint Committee for Guides in Metrology, 2008.
- VIM3 2.17 systematic measurement error, BIPM, 2008.
- VIM3 2.19 random measurement error, BIPM, 2008.
- Errors of the Third Kind in Statistical Consulting, A. W. Kimball, Journal of the American Statistical Association 52(278):133 to 142, 1957.
- 6.3 Taylor and Maclaurin Series, Calculus Volume 2, OpenStax.
- 2.5.5 Propagation of error considerations, NIST/SEMATECH e-Handbook of Statistical Methods, NIST.
- Managing human failures: Overview, Health and Safety Executive (UK).
- An Overview of To Err is Human: Re-emphasizing the Message of Patient Safety, Donaldson M. S., in Patient Safety and Quality, Agency for Healthcare Research and Quality, 2008.
- Representational momentum and related displacements in spatial memory: A review of the findings, Hubbard T. L., Psychonomic Bulletin and Review, 2005.
- From Oops-Leon to the Upsilon particle, APS News, American Physical Society, 2022.
