Error analysis
Introduction / Definition
Error analysis examines the difference between an observed or predicted value and a reference value. It helps quantify measurement or prediction quality. Absolute, relative, and percentage error are common measures. Error must be interpreted with the precision and purpose of the measurement.
Framework / Formula / Structure
Absolute error=|x−x_true|; Relative error=|x−x_true|/|x_true|; Percentage error=Relative error×100
Detailed Explanation
Compute the difference between measured and reference values. Relative error normalizes the difference by the reference magnitude.
Example
Measured=10.5 ms, true=10 ms. Absolute error=0.5 ms; percentage error=5%.
Output / Expected Result
Absolute error = 0.5 ms and percentage error = 5%.
Important Points / Notes
- Absolute error has the same units.
- Relative error is dimensionless.
- State the reference value.
Mini Practice Question
A model predicts 48 and actual value is 50. Find absolute and percentage error.