Measurement Uncertainty
Uncertainty Versus Error
Error is the difference between a result and the true value, which can never be known exactly; uncertainty is a limit that the error is not expected to exceed at a stated confidence level (usually 95%). Good data is data that is useful for making decisions, so no test data should be reported without its uncertainty, and measurement error should be small compared with the change being investigated.
Error is the numerical difference between a measured value and the true value; however, we usually do not know the true value, so the actual error is also unknown. Uncertainty is an estimate of the range within which the error lies at a stated confidence level, usually 95%.
In everyday life
Suppose a kitchen thermometer reads 180 degrees for your home oven, and after adjusting the oven, you see a reading of 185 degrees. You do not know the actual temperature exactly; therefore, the error in either reading is unknown, but the thermometer's uncertainty indicates approximately how much each reading may differ from the actual value.
On the job
In a process furnace, a temperature sensor and Temperature Transmitter record the outlet temperature before and after a burner setting is changed. The actual temperature is not known exactly; measurement uncertainty shows whether the recorded change is greater than the likely measurement error and reliable enough to support an operating decision.
Step by step
- The temperature sensor measures the process value, and the instrument displays a number.
- We define error as the difference between the displayed value and the true value, but we do not know the true value.
- By evaluating the instrument and the data, we estimate uncertainty for the required confidence level.
- We report uncertainty along with the result and check whether it is sufficiently small compared with the change of interest.
Key rule: Error cannot be known exactly; uncertainty must be estimated and reported with the data, and it must be smaller than the change being investigated to support a decision.
Worked example
A temperature transmitter reads 100.0 °C, and the measurement uncertainty has been evaluated as ±0.8 °C at a 95% confidence level; what can be reported?
- Write the result as the measured value plus and minus the uncertainty.
- Lower limit: 100.0 − 0.8 = 99.2 °C.
- Upper limit: 100.0 + 0.8 = 100.8 °C.
- This range is an estimate of the uncertainty; it does not identify the actual error, because the true value is unknown.
Answer: 100.0 ± 0.8 °C at 95% confidence; that is, the estimated range is 99.2 to 100.8 °C.
Confidence Level and Normal Distribution
Repeated results often follow a normal distribution: approximately 68% fall within ±1σ, 95% within ±2σ, and 99.7% within ±3σ. The most common confidence level used in uncertainty calculations is 95%, but another level may be selected.
When a measurement is repeated several times under nearly identical conditions, the results usually spread around a mean, and this spread sometimes takes the form of a normal distribution. The standard deviation (σ) indicates the extent of this spread; the ranges ±1σ, ±2σ, and ±3σ contain approximately 68%, 95%, and 99.7% of the results, respectively.
In everyday life
Suppose you read the temperature of water in a kettle several times with a thermometer while conditions remain largely unchanged. The readings are not exactly the same, but most cluster near the mean, with fewer farther away. If the spread is normal, approximately 95% of the readings lie within ±2σ of the mean.
On the job
On a process line, a technician measures the steady temperature of a vessel several times using a reference thermometer with a Pt100 sensor. The readings may differ slightly; if their spread is normal, approximately 95% of the readings lie within the range of the mean ±2σ. However, this range alone does not determine the uncertainty of the mean.
Step by step
- Record a quantity several times under measurement conditions that are as consistent as possible.
- Find the mean of the readings and examine the difference between each reading and the mean.
- Express the spread as σ; for sample data, the sample standard deviation is usually used.
- Select the required coverage level: approximately ±1σ for 68%, ±2σ for 95%, or ±3σ for 99.7%.
Key rule: For normally distributed data, the range ±2σ covers approximately 95% of repeated results; select the confidence level to suit the application.
Worked example
The mean of 20 temperature readings is 80.0°C, and their standard deviation is σ = 1.5°C. Approximately what range contains 95% of the readings?
- For approximately 95% of the results in a normal distribution, use the ±2σ approximation.
- 2σ = 2 × 1.5°C = 3.0°C.
- Lower limit: 80.0 − 3.0 = 77.0°C; upper limit: 80.0 + 3.0 = 83.0°C.
Answer: Assuming the spread is normal, approximately 95% of the repeated readings lie in the range 77.0 to 83.0°C. This range represents the spread of the readings and is not the same as the uncertainty of the mean.
Sample Standard Deviation
Because the entire population cannot be measured, the sample standard deviation SX is calculated from N sample data points: SX = square root [sum (Xi − mean)² ÷ (N − 1)]; N − 1 is the degrees of freedom. Example: five readings of 10.1, 10.0, 9.9, 10.2, and 9.8 have a mean of 10.0 and an SX of about 0.16.
The sample standard deviation shows how far measured data typically lie from the mean. Because we usually do not measure the entire population, we use N−1 in the calculation; this is the sample's degrees of freedom.
In everyday life
Suppose you read the temperature of a room five times, and the mean of all the readings is 20 degrees. The sample standard deviation shows how much the readings are spread around 20; readings that are closer together have a smaller standard deviation.
On the job
In a process unit, a technician reads the temperature of a line five times using a temperature transmitter: 10.1, 10.0, 9.9, 10.2, and 9.8 degrees Celsius. The mean is 10.0 degrees, and the sample standard deviation is about 0.16 degrees Celsius; this value indicates the spread of these readings.
Step by step
- Collect N readings from the process or equipment.
- Calculate the mean of the readings.
- Square the difference between each reading and the mean, then add the results.
- Divide the sum by N−1 and take the square root of the result.
Key rule: To determine the spread of N sample readings, divide the sum of the squared differences by N−1, not by N.
Worked example
Calculate the sample standard deviation for the readings 10.1, 10.0, 9.9, 10.2, and 9.8 degrees Celsius.
- Mean: (10.1 + 10.0 + 9.9 + 10.2 + 9.8) ÷ 5 = 10.0 degrees Celsius.
- Squared differences from the mean: 0.01, 0, 0.01, 0.04, and 0.04; their sum is 0.10.
- Since N=5, divide the sum of the squared differences by N−1=4: 0.10 ÷ 4 = 0.025.
- Take the square root of 0.025: approximately 0.158 degrees Celsius.
Answer: The sample standard deviation is approximately 0.16 degrees Celsius.
Standard Deviation of the Mean (Random Uncertainty)
If the result is the mean of M readings, its spread is smaller than that of a single reading: standard deviation of the mean = SX ÷ square root of M; with 30 degrees of freedom or more, the mean ±2 times this value contains the true mean with 95% confidence. SX can come from historical data with a high number of degrees of freedom, and M from the current test.
The standard deviation of the mean shows how much the mean of several readings varies due to random scatter; it is smaller than the standard deviation of a single reading and equals SX divided by the square root of M. If SX is based on data with 30 degrees of freedom or more, the mean ±2 times this value is usually a 95% interval for the true mean.
In everyday life
Suppose you record your travel time to work over several consecutive days; some days the route is quiet and other days it is busy. The average over several days is usually more reliable than the time on a single day, and as the number of measurement days increases, the spread of the mean decreases.
On the job
At a refinery, a technician takes several readings of line temperature during a test using a thermocouple and temperature transmitter, then reports the mean of the M readings. The spread of the individual readings can be estimated using SX from historical data for the same measurement; the standard deviation of the test mean is SX/√M.
Step by step
- Calculate or estimate the sample standard deviation SX from historical measurement data and make sure it has at least 30 degrees of freedom.
- Take M readings during the current test and calculate their mean as the result.
- Divide SX by √M to obtain the standard deviation of the mean.
- To estimate the 95% interval, report the mean with a margin of ±2 times the standard deviation of the mean.
Key rule: For random scatter, increasing the number of readings in the mean, M, reduces uncertainty by a factor of 1/√M.
Worked example
Historical data for the temperature of a line, with more than 30 degrees of freedom, have an SX of 3.0 °C; M=9 readings are taken during the current test, and their mean is 80.0 °C. Find the standard deviation of the mean and the approximate 95% interval.
- √M = √9 = 3
- Standard deviation of the mean = SX/√M = 3.0/3 = 1.0 °C
- For 95%, approximate margin = 2 × 1.0 = 2.0 °C
Answer: The standard deviation of the mean is 1.0 °C, and the result is reported as 80.0 ± 2.0 °C, or from 78.0 to 82.0 °C.
Degrees of Freedom and Student’s t Coefficient
When data are limited, the Student’s t coefficient is used instead of 2 for 95% confidence; it is larger when the degrees of freedom are low (about 2.18 for 12 degrees of freedom and about 2.07 for 22 degrees of freedom). For 30 degrees of freedom or more, t ≈ 2. The effective degrees of freedom are calculated using the Welch–Satterthwaite formula and rounded down to the next integer.
The degrees of freedom indicate how much the uncertainty estimate relies on limited data. When the degrees of freedom are low, we use a Student’s t coefficient greater than 2 for a 95% confidence interval. When combining several uncertainty components, the effective degrees of freedom are calculated using the Welch–Satterthwaite approximation and rounded down to the next integer.
In everyday life
Suppose you weigh a package several times on a household scale and report the average. Since the number of measurements is small, the estimate of the spread is not yet very reliable. So, to construct a 95% interval, the t coefficient is greater than 2; with more data, this coefficient approaches 2.
On the job
When calibrating a temperature transmitter, a technician reads the same temperature several times and calculates the mean and spread of the readings. Because the data are limited, a t coefficient appropriate to the degrees of freedom is used for 95% uncertainty. If several uncertainty components are combined, the effective degrees of freedom are calculated using the Welch–Satterthwaite method.
Step by step
- Calculate the mean and sample standard deviation from the repeated data.
- For a single data set, the degrees of freedom for the sample standard deviation equal the number of data points minus one.
- If you have several uncertainty components, calculate the effective degrees of freedom using the Welch–Satterthwaite formula.
- Round the effective degrees of freedom down to the next integer and select the corresponding t coefficient for 95% confidence.
Key rule: The lower the degrees of freedom, the larger the t coefficient for 95% confidence. For 30 degrees of freedom or more, t ≈ 2 is generally used.
Worked example
In an uncertainty calculation, the effective degrees of freedom calculated using the Welch–Satterthwaite formula are 22.51. Select the t coefficient for 95% confidence.
- Round 22.51 down to the next integer: 22.
- For 22 degrees of freedom, the t coefficient at 95% confidence is 2.074.
- Round the coefficient to two decimal places for reporting.
Answer: The degrees of freedom used are 22, and the Student’s t coefficient for 95% confidence is 2.07.
Type A and Type B Classification
In the international classification, Type A uncertainty is evaluated using data from which a standard deviation can be calculated (repeated tests), while Type B uncertainty is evaluated without such data and is estimated from a calibration certificate, manufacturer specifications, or judgment (with infinite degrees of freedom assumed). This classification does not tell you whether to collect more data or improve the calibration to obtain a better result.
Type A and Type B are two ways of classifying uncertainty, based on whether repeated data are available to estimate it. For Type A, the standard deviation is calculated from the data; for Type B, the value is estimated from information such as a calibration certificate, manufacturer specifications, or technical judgment, and its degrees of freedom are usually assumed to be infinite.
In everyday life
Suppose you read the room temperature several times with a thermometer; the spread of these readings can be calculated, so this is a Type A estimate. If you rely only on the specifications on the thermometer’s box and have no repeated readings, your estimate is Type B.
On the job
In a refinery, if you measure the line temperature several times with a temperature transmitter and calculate the spread of the data, that is a Type A estimate. If you use the calibration certificate or manufacturer specifications to estimate the temperature transmitter’s error, that is a Type B estimate, and its degrees of freedom are assumed to be infinite.
Step by step
- Identify the source of uncertainty; for example, measurement spread or instrument error.
- Check whether you have repeated data to calculate the sample standard deviation.
- If you do, call the estimate Type A; if not, and you estimate it from information or judgment, call it Type B.
- Record the type, and do not confuse it with the decision to improve the measurement or calibration.
Key rule: Do you have repeated data to calculate the standard deviation? Type A. No repeated data, and estimating from information or judgment? Type B.
Engineering Classification: Random and Systematic Uncertainty
Engineering classification separates errors by their effects: random errors (scatter that decreases with more data and averaging) and systematic errors (a constant bias that decreases only with better calibration). This is why it is recommended in engineering work: it shows what needs to be improved. The overall result is approximately the same with both methods.
In engineering classification, uncertainties are separated by their effects: random means that measurements are scattered, and averaging can reduce the scatter; systematic means that the error has a stable bias and does not disappear through averaging. This distinction shows whether more data should be collected or the measurement should be calibrated better to improve the result; given the same assumptions, the overall result of this classification is usually approximately the same as that of the ISO method.
In everyday life
Suppose you use a scale several times in a row to weigh a package: the readings vary slightly, so averaging several weighings reduces the scatter. But if the scale always gives a higher reading, for example because it is incorrectly adjusted, repeating the measurement and averaging will not eliminate the bias; the scale must be calibrated.
On the job
In a process unit, a thermocouple temperature transmitter may give slightly scattered readings due to noise when measuring the temperature at a stable point; taking several readings and averaging them reduces the random effect. If the transmitter or measurement chain consistently indicates a temperature that is too high or too low, this is a systematic effect and must be corrected through calibration and inspection of the measurement chain.
Step by step
- When the process variable is stable, take several readings and check their degree of scatter.
- Treat the scatter between readings as the random contribution; increasing the number of readings being averaged can reduce this contribution.
- Compare the instrument readings with a suitable reference to identify any potential stable bias.
- Estimate the random and systematic contributions separately, and target averaging or calibration as appropriate for improvement.
Key rule: Reduce scatter with more data; correct stable bias with better calibration.
Combining Sources by Root-Sum-Square and the Sensitivity Coefficient
Independent uncertainty sources are combined by root-sum-square, but first they must be converted to the units of the result: multiply each source by its sensitivity coefficient (θ = change in the result ÷ change in that parameter). This is called uncertainty propagation and is necessary when the result is calculated from several parameters, such as flow from DP, temperature, and pressure.
When a result is obtained from several measurements, first convert each input uncertainty to the units of the result using its sensitivity coefficient. If the sources are independent, combine the converted values by root-sum-square; this is called uncertainty propagation.
In everyday life
Suppose you want to calculate the area of a rectangular rug from its length and width. A small error in the length and a small error in the width do not have the same effect on the area: the effect of a length error depends on the rug's width, and the effect of a width error depends on its length.
On the job
To calculate gas flow using an orifice plate, a differential-pressure (DP) flowmeter, a temperature transmitter, and a pressure transmitter send values to a flow computer. The computer calculates the flow while compensating for changes in density. The uncertainty of each input is converted to the units of flow using the sensitivity of flow to that input, then combined by root-sum-square for independent inputs.
Step by step
- Write the result as a function of the inputs: R=f(P₁,P₂,…).
- Find the sensitivity coefficient for each input: θᵢ=∂R/∂Pᵢ.
- Multiply each input uncertainty by its sensitivity coefficient to convert it to the units of the result.
- If the sources are independent, square the resulting values, add them, and take the square root of the sum.
Key rule: First convert each uncertainty to the units of the result using its sensitivity coefficient; then use root-sum-square only for independent sources.
Worked example
The length and width of a plate are measured as 2.00 ± 0.01 m and 3.00 ± 0.02 m, respectively. Find the standard uncertainty of the area; assume the two measurements are independent.
- The area is R=L×W; therefore, the sensitivity to length is W=3, and the sensitivity to width is L=2.
- Contribution of the length uncertainty to the area: 3×0.01=0.03 m².
- Contribution of the width uncertainty to the area: 2×0.02=0.04 m².
- Combine the independent contributions: √(0.03²+0.04²)=0.05 m².
Answer: The area is 6.00 m², and its standard uncertainty is 0.05 m².
Combined Uncertainty and a Worked Example
Combined uncertainty at 95% confidence: U = t95 × √[(B ÷ 2)² + S²], where B is the systematic uncertainty (equivalent to 2σ) and S is the random uncertainty of the mean. For a thermocouple temperature example with B about 0.13 and S about 0.20, and t95 = 2.07, the result is about ±0.44 degrees, which agrees with the Type A and B method (about 0.45). For a quick estimate, beginners can use t = 2.
Combined uncertainty indicates how far the measurement result may be from the true value, at 95% confidence. In this method, we combine the systematic uncertainty with the random uncertainty of the mean.
In everyday life
Suppose you measure the temperature of a cake with a thermometer; the thermometer may always have a small error, and the readings may also fluctuate slightly from one measurement to the next. Combined uncertainty summarizes the effect of both in a final range.
On the job
To measure the temperature of a furnace with a thermocouple, we take the calibration systematic error as B and the random spread of the mean of the measurements as S. Combining these gives the uncertainty range for the reported temperature at 95% confidence.
Step by step
- Specify the total systematic uncertainty B and the random uncertainty of the mean S in the result units, for example, degrees Celsius.
- Divide B by 2 to obtain its equivalent standard deviation.
- Add the squares of B ÷ 2 and S, then take the square root of the sum.
- Multiply the result by t95 to obtain the combined uncertainty at 95% confidence.
Key rule: For independent sources, first divide the systematic uncertainty by two; then combine it with S using the root-sum-square (RSS) method and multiply by t95.
Worked example
For a thermocouple, B = 0.13°C, S = 0.20°C, and t95 = 2.07; what is the combined uncertainty at 95% confidence?
- B ÷ 2 = 0.13 ÷ 2 = 0.065°C.
- √[(0.065)² + (0.20)²] = √0.044225 ≈ 0.210°C.
- U = 2.07 × 0.210 ≈ 0.435°C.
Answer: The combined uncertainty is approximately ±0.44°C at 95% confidence. If t95 is taken as 2 for a quick estimate, the result is approximately ±0.42°C.