Turns a table of calibration results from several laboratories into the numbers a
proficiency testing scheme needs: the assigned value x_pt (Hampel robust
mean), the robust standard deviation s_pt (Q method), the uncertainty of
the assigned value U(x_pt), and an E_n score for every participant. It is
the reporting side of ISO/IEC 17043 with the statistical core of ISO 13528, for
small circulating-artefact comparisons where an ordinary mean and standard
deviation are too easily bent by one bad result.
How to use
- Paste the data with one laboratory per line:
Labno, u, value1, value2, ...
Labno is the laboratory identifier shown in the results.
u is the expanded uncertainty U(x_i) the laboratory reported.
value1, value2, ... are that laboratory's measurement results.
- Separate the columns with a comma, semicolon, tab or space. Use a dot as the
decimal separator. A header line such as
Labno,u,data1 is optional; the tool
recognises and skips it.
- Set K, the coverage factor used in
U(x_pt) = 1.25 · s_pt / √p · K.
The default is 2, i.e. roughly 95 % coverage.
- Run. Results show
x_pt, s_pt, U(x_pt), an E_n table per laboratory, the
per-laboratory x_i and U(x_i) echoed back for checking, and a CSV export.
Any laboratory with |E_n| > 1 is also flagged in the warnings.
At least two laboratories are required; with one there is no between-laboratory
dispersion to estimate.
Robust statistics (ISO 13528 Cl. 5, Q/Hampel). The robust standard deviation
s_pt comes from the Q method over every pairwise difference between values of
different laboratories. The assigned value x_pt is the Hampel estimator — the
solution of Σ ψ((xᵢ − x_pt)/s_pt) = 0 — rather than an arithmetic mean, so a
participant whose instrument is out of tolerance does not move the consensus.
Uncertainty of the assigned value.
U(x_pt) = 1.25 · s_pt / √p · K
The factor 1.25 is the ISO 13528 allowance for the uncertainty of the robust
estimator itself, s_pt/√p is the standard error of the mean of p laboratories,
and K converts to an expanded uncertainty.
E_n score.
E_n = (xᵢ − x_pt) / √(U(xᵢ)² + U(x_pt)²)
Each laboratory's deviation is measured against the combined uncertainty of its own
result and of the assigned value — not against s_pt, which is what the older z
score used. The bands come from ISO/IEC 17043 and the calibration community's
practice:
| Score band |
Interpretation |
| |E_n| ≤ 1 |
Satisfactory — deviation is within the stated uncertainties |
| 1 < |E_n| < 1.5 |
Questionable — investigate before the next round |
| |E_n| ≥ 1.5 |
Unsatisfactory — action required |
FAQ
Why give my uncertainty u per laboratory? Because E_n is an uncertainty
question, not a spread question: a laboratory that reports a genuinely large
uncertainty and matches the assigned value loosely can still be satisfactory, while
one that claims a tiny uncertainty must land very close. Without U(xᵢ) no E_n
can be computed.
What happens if two laboratories report identical values? The Q method handles
it, but if too many values coincide — 0.625 + 0.375·H1(0) > 1 — the robust
standard deviation becomes undefined and the tool says so. That usually means the
instrument resolution is too coarse for the study.
Why does the CSV have an extra first row? It carries the tool's credit line, as
required by the tool's licence, above the data table.
Can I run it without the header line? Yes. The header is optional; a header line
whose first field is recognised as a label is skipped automatically.
Common mistakes
- Using a comma as the decimal separator.
0,24 splits into two columns and
shifts every value on that line by one. Use 0.24.
- Entering the coverage factor as
k in the data instead of U(xᵢ). u must be
the expanded uncertainty in the same unit as the results; a coverage factor belongs
in the K field.
- Forgetting that
K in the panel is a parameter, not a result. Changing it
scales U(x_pt), hence changes every E_n score.
- Mixing artefact corrections between participants. Values should already be at
the same reference and in the same unit; the tool compares raw numbers.
- Treating
|E_n| > 1 as fraud. It is a signal to investigate — a broken
correction, a temperature offset, a typing error — not a verdict.