Data Errors
Data Errors
In any scientific, engineering, or statistical analysis, understanding and managing data errors
is crucial. Errors can arise from various sources, including measurement limitations, data
entry mistakes, and environmental factors. This lecture will cover the concepts of data
errors, focusing on absolute and relative errors, and explore their applications in different
fields.
1. Systematic Errors: These are consistent and repeatable errors associated with faulty
equipment or biased techniques. They can often be identified and corrected.
2. Random Errors: These are unpredictable variations that arise from unknown or
uncontrollable factors. They affect the precision of measurements.
3. Blunders: These are mistakes made by users, such as data entry errors, and can often
be identified and corrected through careful data review.
2. Absolute Errors
Definition
Absolute error is the difference between the measured value and the true value of a quantity.
It provides a measure of how much the measured value deviates from the actual value.
𝐴𝑏𝑠𝑜𝑙𝑢𝑡𝑒 𝐸𝑟𝑟𝑜𝑟 =∣ 𝑀𝑒𝑎𝑠𝑢𝑟𝑒𝑑 𝑉𝑎𝑙𝑢𝑒 − 𝑇𝑟𝑢𝑒 𝑉𝑎𝑙𝑢𝑒 ∣
Example
If the true value of a length is 100 cm and the measured value is 98 cm, the absolute error is:
Applications
3. Relative Errors
Definition
Relative error is the ratio of the absolute error to the true value, often expressed as a
percentage. It provides a measure of the error's significance relative to the size of the true
value.
Relative error is a measure of the uncertainty of measurement compared to the size of the
measurement. It's used to put error into perspective. For example, an error of 1 cm would be
a lot if the total length is 15 cm, but insignificant if the length was 5 km. Relative error is also
known as relative uncertainty or approximation error.
Relative error compares a measurement to an exact value. The two reasons for this error are:
1. Using an approximation instead of real data (e.g., 22/7 or 3.14 instead of pi or
rounding 2/3 to 0.67)
2. Imprecise measurement due to instrumentation (e.g., a ruler measuring to the nearest
millimeter)
Example
Using the previous example, with an absolute error of 2 cm and a true value of 100 cm:
Applications
Understanding absolute and relative measures of error is crucial for various real-world
applications. Here are some practical examples to illustrate these concepts:
1. Medical Testing
• Absolute Error: In a medical test for glucose levels, suppose the true glucose level is
90 mg/dL. If the test result shows 92 mg/dL, the absolute error is:
• Relative Error: Using the same example, the relative error would be:
This indicates that the measurement is off by 2.22% from the true value.
2. Manufacturing and Quality Control
• Absolute Error: In a factory producing bolts with a target length of 5 cm, if a bolt is
measured to be 5.1 cm, the absolute error is:
• Relative Error: The relative error for the bolt length would be:
This relative error helps in assessing how significant the deviation is compared to the
target length.
• Absolute Error: A GPS device indicates a location that is actually 50 meters away
from the true position. The absolute error is:
• Relative Error: If the expected accuracy for the GPS device is within 10 kilometers
(10,000 meters), the relative error is:
This small relative error shows that the device is quite accurate within its expected
range.
• Absolute Error: An investment portfolio is projected to yield $10,000, but the actual
yield is $9,800. The absolute error is:
This helps investors understand the error magnitude relative to the expected return.
• Absolute Error: In measuring the length of a metal rod, the true length is 150 cm, but
the measurement is 149.8 cm. The absolute error is:
Relative Error: The relative error for the length measurement would be:
6. Climate Science
• Absolute Error: A weather station predicts 30 mm of rainfall, but the actual rainfall
is 28 mm. The absolute error is:
𝐴𝑏𝑠𝑜𝑙𝑢𝑡𝑒 𝐸𝑟𝑟𝑜𝑟 =∣ 28 − 30 ∣= 2 𝑚𝑚
• Relative Error: The relative error for the rainfall prediction would be:
This relative error helps meteorologists assess the accuracy of their forecasts.