How to use the Assay QA/QC – Standards, Blanks, Duplicates & Grade Conversion
Free · works offline · no sign-up
Bring a laboratory batch and get a verdict: certified standards judged by Westgard rules with control charts kept on your phone, blank carry-over, duplicate precision (HARD, average CV% and Thompson-Howarth), handheld XRF against the laboratory, exact grade units, CSV in and out and a JORC Table 1 paragraph. Free.
What it does
Checks whether a batch of laboratory results can be trusted, using the control samples you hid in it.
What you need
Your lab results as a CSV file or pasted text, with the standards, blanks and duplicates marked
How to use it
- Every tab or section has its own "What is this? (start here)" note in plain words; open it if a word is new to you.
- Look at the top card first: it judges a worked example so you can see how a verdict looks. New to this? Open "What is this? (start here)".
- Tap "Open a batch (CSV)", or "Paste or edit the batch". Either one line per result (id, type, value, ref), or a laboratory or Leapfrog-style table with HoleID, From, To, sample, QC type, standard and element columns; then pick the element to judge.
- Type each standard’s certificate (name, certified value, certified SD) in the certificates box.
- Tap "Judge this batch".
- Save the batch or the QC table as CSV for your files, or tap "JORC Table 1 text" for a paragraph you can paste into a report.
- In the Duplicates tab, choose your deposit and duplicate type to judge the average CV% against Abzalov (2008).
- In the "Lab vs certificate" tab, type a certified reference material's certificate (certified value, within- and between-laboratory SD) and a laboratory's repeat results on it, or a round-robin summary (laboratories, results, grand mean, within- and between-laboratory SD). The page judges precision and trueness by ISO Guide 33:1989; its examples are the standard's own iron-ore examples. A Grubbs test on the repeat results says whether one of them is an outlier to look into first.
- In the "Many laboratories" tab, paste or open the raw results (laboratory, result; one per line) of an interlaboratory test. The page gives each laboratory Mandel's h and k, runs Cochran's and Grubbs' tests, and works out the repeatability and reproducibility SDs and limits r and R by ISO 5725-2. "Use in round robin" carries the numbers to the ISO Guide 33 round-robin check. The example is a published collaborative study (Li & Cardozo 1994).
- Under "Precision curve", open "Is the laboratory as precise as you asked?" to test the duplicate pairs against a target relative SD (Thompson & Howarth 1973).
Reading the answer
The big word reads ACCEPT, ACCEPT WITH WARNINGS, INVESTIGATE BEFORE USE or RE-ASSAY, with the reasons listed underneath. A standard whose results scatter far more than its certificate allows, or far less (a sign the laboratory recognised it), is named in the reasons.
Files it opens and saves
- Opens: CSV, TSV or semicolon files; the page’s own four-column batch, or a laboratory / Leapfrog-style interval table with one column per element. "<0.005" and negative detection limits (−0.005) are read as below detection; −9, −99, −999 and −9999 as missing.
- Saves: the batch as CSV (it opens again unchanged), the QC table as CSV (one row per control with its z-score and rule), and the JORC Table 1 paragraph as text. "Many laboratories" opens and saves the raw results as CSV (laboratory, result; it opens again) and saves one row per laboratory with h, k and the flags, with r, R and the SDs in comment lines at the end.
Methods
- Standards: Westgard et al. (1981) multirule chart and a t-test against the certificate; scatter by chi-square (Abzalov 2011, Eq. 19). Laboratory against a certificate, one laboratory or a round robin: ISO Guide 33:1989, sections 2.4.1 and 2.4.2 (eq. 3-9; Abzalov 2011, Eq. 14-20), checked against its worked examples.
- Duplicates: HARD (Stanley & Lawie 2007) and average CV% with the best and acceptable levels of Abzalov (2008), Table 4; Thompson & Howarth (1976) precision curve and their (1973) target test, as in the R package rgr.
- Several laboratories: ISO 5725-2:1994 (Mandel h and k, Cochran and Grubbs tests, repeatability and reproducibility by one-way analysis of variance). Critical values and results are checked against the open reference software R (packages outliers, metRology and rgr, and R's own analysis of variance) and against published tables (NIST e-Handbook Grubbs example, Harvey's Grubbs table, a published Cochran table).
- Handheld XRF: US EPA Method 6200. Reporting: JORC Code 2012, Table 1, "Quality of assay data and laboratory tests".
- The page has a self-test against published values; tap "Run the self-test" at the bottom.