| Literature DB >> 29895807 |
Abstract
An assessment of measurement uncertainty is a task, which has to be the final step of every chemical assay. Apart from a commonly applied typical assessment method, Monte Carlo (MC) simulations may be used. The simulations are frequently performed by a computer program, which has to be written, and therefore some programming skills are required. It is also possible to use a commonly known spreadsheet and perform such simulations without writing any code. Commercial programs dedicated for the purpose are also available. In order to show the advantages and disadvantages of the ways of uncertainty evaluation, i.e., the typical method, the MC method implemented in a program and in a spreadsheet, and commercial programs, a case of pH measurement after two-point calibration is considered in this article. The ways differ in the required mathematical transformations, degrees of software usage, the time spent for the uncertainty calculations, and cost of software. Since analysts may have different mathematical and coding skills and practice, it is impossible to point out the best way of uncertainty assessment-all of them are just as good and give comparable assessments.Entities:
Keywords: Monte Carlo simulation; pH measurement; potentiometry; uncertainty evaluation
Year: 2018 PMID: 29895807 PMCID: PMC6022053 DOI: 10.3390/s18061915
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Potential indications of pH-meter during calibration and measurement.
| No |
|
|
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|---|---|
|
| mV | ( | mV | ( | mV | ( | |||
| 1 | 182.4 | 0 | 0 | −103.8 | 0 | 0 | 9.0 | −3 | 9 |
| 2 | 182.6 | 2 | 4 | −103.9 | 1 | 1 | 9.2 | −1 | 1 |
| 3 | 182.2 | −2 | 4 | −104.0 | 2 | 4 | 9.3 | 0 | 0 |
| 4 | 182.1 | −3 | 9 | −103.7 | −1 | 1 | 9.6 | 3 | 9 |
| 5 | 182.7 | 3 | 9 | −103.6 | −2 | 4 | 9.4 | 1 | 1 |
| mean | 182.4 | −103.8 | 9.3 | ||||||
| SSD | 26 | 10 | 20 |
Deviations are calculated as: ; ; , where , , and are the mean values of , , and , respectively, and are calculated according to Equation (7). The sums of squared deviations (SSD) are calculated as for .
Uncertainty budget for the pH measurement.
| Name | Quantity | Estimate | Standard Uncertainty | Sensitivity Coefficient | Uncertainty Contribution | Squares of Uncert. Contr. |
|---|---|---|---|---|---|---|
| Symbol |
|
|
|
|
|
|
| Column No. | (1) | (2) | (3) | (4) | (5) = (3)·(4) | (6) = |
|
|
|
|
|
|
| |
| Sources |
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
| Result |
|
|
|
|
Figure 1Concept of the Monte Carlo method.
Figure 2Outputs of the Monte Carlo simulations obtained by the script run in GNU Octave.
Comparison of simulation times.
| Language | Time (s) |
|---|---|
| C++ | 6.16 |
| Octave | 1.68 |
| R | 4.72 |
| Python | 3.90 |
Figure 3A table in a spreadsheet containing the input data and their uncertainties.
Figure 4A table in Gnumeric containing the uncertain input data.
Figure 5Output data calculated in Gnumeric.
Figure 6Screens of Metrodata GUM Workbench Professional Version 2.4 (left) and Qualisyst GUM Enterprise 4.10 (right).