Converter tool

Assay Validation Statistics for Laboratories

Estimate precision components, check linearity, find LoB, LoD and LoQ and build reference intervals from your own study results, then collect the studies into one report.

One study at a time; the report collects the ones you have run

Study

One row per result

1. Your data

Or paste the table

Assay Validation Statistics for Laboratories

Operator: Abdulla Al Fahad. How tools are built and checked

A validation file for a quantitative assay answers four questions: how repeatable is it, is it linear across the range, how low can it go, and what do healthy people measure. Each has its own design and its own statistics, and they are usually worked in four separate spreadsheets. This page runs all four from plain study tables and keeps the finished studies together for one report.

Key features

  • Precision from a day x run x replicate design by nested ANOVA: repeatability, between-run, between-day and within-laboratory SD and CV, with Satterthwaite confidence limits
  • Verification of repeatability and within-laboratory SD against a claimed value with a chi-square upper limit
  • Linearity by first-, second- and third-order polynomial fits with t-tests on the highest term, deviation from the linear fit at every level and a replicate-based lack-of-fit test
  • Limit of blank (non-parametric and parametric), limit of detection from pooled low-level SD, and limit of quantitation against CV and total-error goals
  • Reference intervals by non-parametric percentiles with binomial confidence limits or Box-Cox, Tukey outlier flags and a Harris-Boyd test for splitting groups

How each study is calculated

Precision tables hold one row per result with a day, a run and the value; the design must be balanced, with the same number of runs on every day and replicates in every run. A study with a lost run is refused with that message rather than analysed on unequal cells. Components come from the expected mean squares: repeatability is the error mean square, between-run is (MS run - MS error) / replicates, and between-day is (MS day - MS run) / (runs x replicates). A negative estimate is shown as 0 and marked.

Limits on each SD use a chi-square interval with Satterthwaite degrees of freedom, (sum of c_i MS_i)^2 over the sum of (c_i MS_i)^2 / df_i. The within-laboratory SD is the square root of the sum of the three components and, in the 20 x 2 x 2 example, has 51.4 degrees of freedom. Over 1,500 simulated studies with known components the average estimates came back at 1.439, 0.810 and 0.525 against true values of 1.44, 0.81 and 0.49, and the 95 percent interval covered the truth 96.4 percent of the time.

Linearity needs at least 5 distinct assigned levels. Polynomial fits use a centred and scaled axis so a range of 0 to 10,000 does not make the matrix near-singular. The deviation at each level is the best significant polynomial minus the linear fit there, shown in result units and as a percentage of the linear fit; you set the allowable deviation, in percent or in units.

Detection limits follow the structure of CLSI EP17: LoB is the 95th percentile of blanks (rank 0.5 + 0.95 n, interpolated) or mean + 1.645 SD; LoD = LoB + c x SD_L with SD_L pooled over samples and c = 1.645 / (1 - 1/(4 df)). LoQ is the lowest assigned level at which CV (and total error, as |bias| + 2 SD, if you give a goal) is met and stays met at every higher level.

How it works

Nothing is fitted iteratively except the Box-Cox lambda, which is chosen by profile likelihood over a fixed grid from -2 to 2 in steps of 0.01.

Confidence limits for a non-parametric percentile use the binomial order-statistic method: the lower rank is the largest r with P(Bin(n, p) <= r - 1) <= 0.05, the upper the smallest with that probability at least 0.95. For n = 120 this gives ranks 1 and 7 for the 2.5th percentile and 114 and 120 for the 97.5th.

The Harris-Boyd test compares two groups with z = |mean difference| over its standard error against z* = 3 x sqrt(mean n / 120), and flags an SD ratio above 1.5 when both groups have at least 30 results.

Common use cases

  • A dilution series at 10, 55, 100, 145 and 190 with three replicates gives a significant quadratic term (p = 0.0005) and a non-significant cubic one (p = 0.35). The deviation from the straight line is -9.4% at the lowest level but about 1% in the middle, so a 5 percent allowance fails and a 12 percent one passes.
  • Sixty blanks give a non-parametric LoB of 1.57 (rank 57.5) against 1.53 parametric. Five low-level samples with six replicates pool to an SD of 0.649 on 25 df, so LoD = 1.57 + 1.662 x 0.649 = 2.65. With a 20 percent CV goal the LoQ is 2.5, since the 1.5 sample has a CV of 31.6 percent.
  • 160 results, 80 per sex, give a non-parametric interval of 3.07 to 5.76 with Box-Cox (lambda 0.69) at 3.11 to 5.74. Harris-Boyd gives z = 2.86 against z* = 2.45 for the two sexes, so separate intervals are suggested.
  • A manufacturer claims a repeatability SD of 1.2 and a within-laboratory SD of 1.5. The page gives upper verification limits of 1.42 (40 df) and 1.74 (51.4 df); the laboratory's 1.23 passes, while its 1.80 within-laboratory SD does not, so the claim is not verified at the 95 percent level.

How to use this tool

  1. Choose the study and drop its table, or load the simulated example next to it.
  2. Check the columns the page guessed, and type the allowable deviation, CV goal or claimed SD that your protocol sets.
  3. Read the numbers and notes under each result; notes say when a design is smaller than the CLSI protocol asks for.
  4. Switch to the next study; finished ones stay in the report.
  5. Download the combined PDF or the CSV of all studies.

Example

A precision study of 20 days x 2 runs x 2 replicates (80 results, mean 99.48)

Columns: day (1 to 20), run (1 or 2), replicate, result; for example day 1 run 1 gives two results near 100

Precision

Repeatability SD 1.233 (CV 1.24%), 95% limits 1.01 to 1.58 on 40 df
Between-run SD 0.813; between-day SD 1.027
Within-laboratory SD 1.799 (CV 1.81%), 51.4 df, 95% limits 1.51 to 2.23
Against a claimed within-laboratory SD of 1.5 the upper verification limit is 1.74, so 1.80 is not verified; against a claimed repeatability of 1.2 the limit is 1.42 and 1.23 passes

Common pitfalls

Acceptance goals are the laboratory's. The page supplies none, and a pass or fail against your own limit is not a regulatory verdict.

The statistics follow published descriptions of the CLSI methods, cited by document number only (EP05, EP06, EP15, EP17, EP28); the documents themselves are copyrighted and their tables are not reproduced. Check your protocol for details such as the number of days or lots.

Reference intervals with fewer than 120 results carry wide confidence limits, which the output notes; the robust method for small samples and the transformation-free partitioning methods beyond Harris-Boyd are not included.

Outliers are flagged by Tukey fences, not removed unless you tick the box; whether a result is an outlier is a clinical decision.

  • For precision, add a claim only when your protocol needs verification: with 40 error degrees of freedom the upper limit is about 18 percent above the claim, so a modest excess is allowed.

Common errors and how to fix them

"The design must be balanced"
Every day needs the same number of runs and every run the same number of replicates. Remove the incomplete day or run, or add the missing results.
"Use at least 5 different levels"
A linearity study needs five assigned values; repeat results at one level count as one.
"The Box-Cox option needs every result above 0"
Use the non-parametric method, or check for a zero or negative result that is a data-entry error.

Best practices

  • Plan the precision design to the protocol's size (20 days gives 19 day degrees of freedom); with fewer days the within-laboratory interval widens, and a warning appears when you have under 20.
  • Keep blanks over several days and reagent lots so the LoB reflects real variation.

What is checked and what is not

Each component is tested on data with known answers: nested ANOVA recovers simulated variance components without bias, the Satterthwaite interval keeps its nominal coverage, the polynomial fit reproduces a hand-computed line, and the binomial ranks match the published ranks for n = 120. These show the arithmetic is sound; they do not show your protocol is met.

Method comparison is a different job

Comparing a new assay with a reference method (Bland-Altman, Deming or Passing-Bablok regression) is not part of this page; the method-comparison page handles that design, and its result can sit alongside this report.

Frequently asked questions

Why is a variance component shown as 0?

The ANOVA estimate of a component can come out negative when the true component is small. The usual practice is to report 0 and say so, and the page marks it so the lower limit is not read as a measured zero.

Does the PDF include the raw data?

No. It holds the settings, the results and the notes of each study you ran. The CSV carries the key figures; keep the original study tables with the validation file.