---
title: "Statistical software accuracy: NIST reference datasets | QLogix"
description: "How QLogix checks its statistics engine on every release: 58 NIST reference datasets, distributions to the far tails and reference software, in digits of agreement."
url: https://qlogix.ai/blog/statistics-engine-accuracy-nist-reference-datasets
markdown: https://qlogix.ai/blog/statistics-engine-accuracy-nist-reference-datasets.md
updated: 2026-11-13
publisher: "QLogix (QLogix LLC)"
language: en-US
---

Validation

# How do you know a statistics package gives the right numbers? The QLogix accuracy statement
By QLogix · Published 13 November 2026 · 5 min read
The short answer
By comparing it with values computed independently, digit by digit, every time it changes. The QLogix statistics engine is run against 58 NIST reference datasets, against distribution values computed in 50-digit arithmetic and against reference software on every release, and the agreement is published as a statement the comparison run writes itself.
NIST Statistical Reference Datasets run through the engine on every release. 58
Numerical comparisons with reference values, on 2026-11-13. 23,100
Procedures with numerical comparisons; the others are listed with the reason. 184 of 199

## Key takeaways
- A statistics package is only as trustworthy as the evidence that it computes what it claims. For GMP use, that evidence belongs in the supplier's validation package, not in a sales claim.
- The NIST Statistical Reference Datasets give certified values computed in 500-digit arithmetic for summary statistics, analysis of variance, linear regression and nonlinear regression, graded by difficulty. They are the standard first test of numerical accuracy.
- Agreement is measured in significant digits, the log relative error NIST uses. Fifteen digits is the most that double-precision arithmetic, which all mainstream statistical software uses, can give.
- Some NIST datasets cannot be matched to all certified digits by any double-precision software, because the stored data are already rounded. The honest statement says so and gives the limit the data allow.
- Agreement shows that the software computes what the reference computes. Whether an analysis suits the data and the question remains the analyst's judgement.

## Why does the accuracy of statistical software need evidence?
Release decisions, process validation, shelf lives and investigations rest on figures a statistics package computes: a Cpk, a p-value, the time a confidence bound crosses a limit. Under GAMP 5 and FDA's computer software assurance guidance (final, September 2025), the user's validation effort can lean on the supplier's own testing, but only if that testing exists, is described and can be inspected.
For a statistics engine the question is narrow and testable: given these data, does it produce the right numbers, to how many digits, including on the awkward cases where naive formulas lose precision?

## What are the NIST Statistical Reference Datasets?
The Statistical Reference Datasets (StRD) are published by the US National Institute of Standards and Technology for exactly this purpose. Each dataset comes with certified values computed in 500-digit arithmetic and a difficulty grade. The four groups cover univariate summary statistics, one-way analysis of variance, linear regression and nonlinear regression.
The hard cases are deliberate. NumAcc4 and SmLs07 to SmLs09 hold values with many constant leading digits, where a standard deviation computed the textbook way loses most of its digits. Longley, Filip and the Wampler problems are ill-conditioned regressions. Many nonlinear problems start far from the solution.
QLogix keeps the dataset files as NIST publishes them and reads the certified values from those files, so nothing is retyped.

## How is agreement measured?
As NIST does: the log relative error, minus the base-10 logarithm of the relative difference between the computed and the certified value. It is the number of leading digits the two share. Fifteen is the most double-precision arithmetic gives.
For each dataset the statement gives the weakest agreement over all its certified values, and the minimum the comparison run requires. A run that falls below a minimum fails, and the release does not ship.
NIST StRD: weakest agreement per dataset, a selection (2026-11-13)
Dataset Group NIST difficulty Weakest agreement
NumAcc1 Summary statistics Lower 15 digits
NumAcc4 Summary statistics Higher 8 digits (the limit of the stored data)
SmLs03 Analysis of variance Lower 15 digits
SmLs09 Analysis of variance Higher 3 digits (the limit of the stored data)
Norris Linear regression Lower 13 digits
Longley Linear regression Higher 14 digits
Filip Linear regression Higher 7 digits
Wampler5 Linear regression Higher 13 digits
Misra1a Nonlinear regression Lower 10 digits
Thurber Nonlinear regression Higher 10 digits
Rat43 Nonlinear regression Higher 10 digits

Significant digits shared with NIST's certified values. The full table of all 58 datasets is in the accuracy statement of each release.

## What about the datasets no software can match exactly?
For NumAcc3, NumAcc4 and SmLs04 to SmLs09 the data, once stored as double-precision numbers, are already rounded in the digits that matter. No double-precision software can recover all the certified digits from them. The comparison run computes, in exact rational arithmetic, the best agreement those stored values allow, and the engine reaches it.
Two nonlinear problems, BoxBOD and MGH10, are not solved from NIST's first starting point, which is far from the solution; from the second they agree to 10 digits. The statement names both and says why. Saying so is part of the evidence: a statement that claims everything is a claim, not evidence.
Agreement on the hardest datasets, in significant digits
- Maximumdouble precision15
- NumAcc48
- SmLs093
- BoxBOD10
- MGH1010

Fifteen digits is the most double-precision arithmetic gives. NumAcc4 and SmLs09 reach the best agreement their stored values allow. BoxBOD and MGH10 are not solved from NIST's first starting point; the values shown are from the second.

## What else is compared besides NIST?
- Probability distributions: the distribution function, the upper tail probability and the quantile of 16 distributions (normal, t, chi-square, F, gamma, beta, binomial, Poisson, Weibull, lognormal, the noncentral t, chi-square and F, the studentized range and others) against values computed in 50-digit arithmetic, out to probabilities of 1e-12 and very large degrees of freedom. Upper tails are computed directly, so a very small p-value keeps its digits.
- Procedures: each analysis against the reference named for it, such as SciPy, statsmodels and scikit-learn at stated versions with the generator scripts kept, the published worked examples of Minitab and R, and the examples of the standards and textbooks. In all, 184 of the engine's 199 procedures have numerical comparisons; the other 15 are listed with the reason.
- Conventions: where packages differ by convention (the divisor of Cpm, Howe's factor for a two-sided normal tolerance interval, how the within-subgroup standard deviation is estimated) the engine follows the convention Minitab documents, so a result can be set beside an existing Minitab report.
What the engine is compared against, and where the result goes
- data systems
- AI
- people decide and sign
- connected systems

The dots travel in the direction of the comparison. Each reference is compared with the engine on every release, the run writes the accuracy statement, and the statement goes into the release's validation package. The user still qualifies the software for its intended use.

## Why should the statement be generated, not written?
A document written by hand drifts from the software it describes. The QLogix accuracy statement is written by the comparison run itself, from the comparisons it has just made, and the run fails if the statement in the release no longer matches what it measures. The statement in a validation package therefore describes the engine of that release.
It is part of each release's validation package, beside the automated test evidence and the IQ/OQ protocols, and the statistics OQ includes a step that runs the comparisons and checks the statement in hand.
How a release's accuracy statement is produced
- 1 Compare
The engine runs every NIST dataset, the distribution grid and each procedure's reference cases.

- 2 Measure
The agreement of every value is recorded in significant digits, against a stated minimum.

- 3 Write
The statement is generated from the measurements, dataset by dataset and procedure by procedure.

- 4 Check
The run fails if any minimum is missed or the statement in the release differs from what was measured.

Every step runs on every change to the software; a failure at any step stops the release.

## What does the statement not cover?
Agreement with a reference shows that the engine computes what the reference computes. It does not show that a given analysis suits the data or the question; the software supports that judgement with assumption checks and warnings, and the analyst makes it. Python code a user runs inside a study is the user's own computation and is outside the statement. The organization using the software still qualifies it for its intended use, as GAMP 5 and Part 11 expect.
The engine's procedures and their numerical comparisons
- Procedures in the engineall of them199
- With numerical comparisonsagainst a named reference184
- Listed with the reason15

Procedures in the statistics engine on 2026-11-13. The 15 without numerical comparisons are listed in the statement with the reason.

## Common questions

### Does NIST certify statistical software?

No. NIST publishes reference datasets with certified values; software is compared against them. The comparison and its results are the software supplier's, and QLogix publishes them in each release's accuracy statement.

### How many digits of agreement are enough?

It depends on the use. Reported figures such as a Cpk to two decimals or a p-value to three need far fewer digits than the engine reaches on all but the hardest NIST problems. The digits matter more as evidence that the algorithms are numerically sound: a method that loses digits on hard data can be badly wrong on ordinary data with large values.

### Do the results match Minitab?

Where packages differ by convention, the engine follows the convention Minitab documents, and Minitab's published worked examples are among the references the procedures are compared with. A side-by-side run of your own analyses against your Minitab reports is still the best check for your use.

### Where is the full statement?

In the validation package of each QLogix release, beside the automated test evidence and the IQ/OQ protocols. Clients can request it for the release they use.

## Sources
- [NIST Statistical Reference Datasets (StRD)](https://www.itl.nist.gov/div898/strd/)
- [Federal Register, 24 September 2025: Computer Software Assurance for Production and Quality System Software, final guidance, notice of availability](https://www.federalregister.gov/documents/2025/09/24/2025-18468/computer-software-assurance-for-production-and-quality-system-software-guidance-for-industry-and)
- [McCullough, B. D. Assessing the Reliability of Statistical Software: Part I, The American Statistician 52(4), 1998](https://doi.org/10.1080/00031305.1998.10480597)
This article is general information for quality and regulatory professionals. It is not regulatory or legal advice. Check the source documents for their current status before acting on them.

## Topics
- Statistics
- Software validation
- NIST
- GMP
- Computer software assurance

## How QLogix helps
- [Connected quality data](https://qlogix.ai/services/connected-quality-data)
- [Validation of AI-enabled systems](https://qlogix.ai/services/validation-of-ai-enabled-systems)

[All articles](https://qlogix.ai/blog)

## More from the blog
- [Validation · 28 November 2026How to validate an AI use case for automation in GMP manufacturingAn AI use case in GMP manufacturing is validated like any computerised system, for its intended use and in proportion to risk, with three additions that come from the model: acceptance criteria written as measured performance before testing, test data kept independent of the training data, and monitoring after go-live because a model's performance can drift. The risk is set by how much the model's output drives a GMP decision and how serious a wrong decision would be. No GMP text written only for AI was in force in the EU or the United States on 28 November 2026, so the work rests on EU GMP Annex 11 and 21 CFR 211.68, read with draft Annex 22 and FDA's draft credibility framework.](https://qlogix.ai/blog/validate-ai-use-cases-gmp-manufacturing-automation)
- [AI in quality · 19 November 2026Open-weight AI models on your own GPUs: advantages, disadvantages and what to check firstRunning an open-weight model on GPUs you own keeps prompts and documents inside your network, fixes the model version until you decide to change it, and ends the dependence on a supplier's service. In exchange you take on the hardware, the operation, the security of the model file, the licence review and all of the validation evidence, and the model that fits your hardware may not match the strongest hosted ones. It pays for steady, heavy work on data that should not leave. For occasional use and for the hardest tasks a hosted model is usually the better choice, and most companies end up using both.](https://qlogix.ai/blog/open-weight-ai-models-own-gpus-enterprise)
- [AI in quality · 12 November 2026AI in life sciences in 2026: where it is used, what regulators expect and where to startIn 2026 AI is used at every stage of a medicine's life: finding targets and designing molecules, planning and running trials, monitoring processes, drafting investigations and screening safety reports. Regulators use it too, to read what companies submit. The uses that last share one design: a defined context of use, connected data that can be traced, validation in proportion to risk, and a named person who decides. FDA's credibility guidance and the EU's GMP annex on AI are still drafts, the joint FDA and EMA principles are published, and the EU AI Act's high-risk dates have moved to 2027 and 2028.](https://qlogix.ai/blog/ai-applications-life-sciences-2026)

## Talk it through with someone who has run a plant
Bring your backlog, your systems map or one investigation that keeps coming back. We will show you that investigation drafted on the operating system, and tell you plainly what we would move and what we would leave alone.
[Request a meeting](https://qlogix.ai/contact)[Email us](mailto:contact@qlogix.ai)

In the first meeting we cover
- The systems you run today (QMS, MES, LIMS, ERP, CMMS) and which could run on one operating system
- Where investigations, CAPAs and change assessments slow down, and what AI drafting would change
- Where to start, and whether a readiness assessment makes sense

## More from QLogix

- [How to validate an AI use case for automation in GMP manufacturing](https://qlogix.ai/blog/validate-ai-use-cases-gmp-manufacturing-automation.md): Validate an AI use case in GMP manufacturing in eight steps: intended use, risk, acceptance criteria, independent test data, human oversight and monitoring.
- [Open-weight AI models on your own GPUs: advantages, disadvantages and what to check first](https://qlogix.ai/blog/open-weight-ai-models-own-gpus-enterprise.md): What open-weight models are, what it takes to run them on your own GPUs, the advantages and disadvantages for a company, and the rules that apply in GxP work.
- [AI in life sciences in 2026: where it is used, what regulators expect and where to start](https://qlogix.ai/blog/ai-applications-life-sciences-2026.md): Where AI is used across drug discovery, clinical trials, manufacturing, quality and devices in 2026, what FDA, EMA and the EU AI Act expect, and where to start.
- [Right first time in sterile fill-finish: automation, AI-enabled controls and a batch record that refuses the error](https://qlogix.ai/blog/sterile-fill-finish-automation-ai-right-first-time.md): How isolators, connected batch records, environmental monitoring and AI predictions make an aseptic fill-finish batch right first time under EU GMP Annex 1.
- [Signal detection in GMP: how control charts with run rules catch a shift or a drift before it becomes a deviation](https://qlogix.ai/blog/spc-signal-detection-gmp-trending.md): Alert and action limits, Nelson's run rules and capability on any batch or lab parameter; each signal interpreted by the AI, dispositioned and signed by QA.
- [Backlog triage: ranking open deviations, CAPAs and change controls by risk instead of by age](https://qlogix.ai/blog/backlog-triage-risk-based-prioritization.md): A backlog worked oldest-first hides the item that matters. Ranked by patient impact, regulatory exposure, recurrence and dates, with QA's priority signed.
- [Predictive maintenance in GMP: how CMMS, calibration and reliability data decide when equipment is serviced, calibrated and replaced](https://qlogix.ai/blog/predictive-maintenance-cmms-calibration-gmp.md): Work orders, downtime and calibration results on one record give MTBF, availability and a Weibull shape per asset; the preventive interval follows.
- [Connecting LIMS to investigations and CAPA: how AI speeds up OOS investigations and strengthens compliance](https://qlogix.ai/blog/lims-investigation-capa-integration-ai.md): When the LIMS, the investigation and the CAPA share one record graph, an OOS result opens its investigation with the data attached and AI drafts the analysis.
- [AI in deviation investigations: faster, more consistent root cause analysis](https://qlogix.ai/blog/ai-deviation-investigation-root-cause-analysis.md): AI drafts the problem statement, 5 Whys and fishbone from the write-up and documents, each quote sourced, so investigators spend their time testing hypotheses.
- [AI-assisted CAPA: from root cause to a verified effectiveness check](https://qlogix.ai/blog/ai-capa-management-effectiveness.md): How AI turns a confirmed root cause into a CAPA plan with owners, dates and an effectiveness check set up front, and spots the same cause recurring across records.
- [AI in document management and validation workflows for life sciences](https://qlogix.ai/blog/ai-document-management-validation-workflow.md): Where AI fits in GxP document control and validation: drafts, review findings, controlled copies, periodic review and protocols under Part 11, Annex 11 and GAMP 5.
- [FDA's seven-step credibility framework for AI, in plain terms](https://qlogix.ai/blog/fda-ai-credibility-framework.md): FDA's January 2025 draft guidance sets a seven-step, risk-based framework for showing an AI model is credible for its context of use in drug and biologic decisions.
- [QLogix home](https://qlogix.ai/index.md): AI-native GxP operating system for life sciences manufacturers: AI drafts investigations, CAPAs and change assessments from quoted evidence; people review and sign.
- [Services](https://qlogix.ai/services.md): QLogix services that bring the GxP operating system live: digitized records, AI-assisted investigations, connected data, validated AI and agentic workflows.
- [Products](https://qlogix.ai/products.md): QLogix modules on one record store: eQMS, CAPA and deviations, complaints, change and document control, LIMS, ELN, MES and batch records, ERP, CMMS and validation.
- [Blog](https://qlogix.ai/blog.md): QLogix blog: regulatory updates on AI in GxP, FDA and EU guidance explained, and how life sciences quality teams adopt and validate AI.
- [White papers](https://qlogix.ai/whitepapers.md): QLogix white papers: AI investigations, agentic QMS, FMEA, regulatory submissions, complaints, LIMS and CMMS, validation and particulate inspection.
- [Datasheets](https://qlogix.ai/datasheets.md): QLogix product datasheets: a one-page PDF for each module, from complaints, CAPA and change control to LIMS, MES, ERP, validation and Q Intelligence.
- [Request a meeting](https://qlogix.ai/contact.md): Talk to QLogix about the AI-native GxP operating system: AI-drafted investigations, CAPAs and change assessments, implementation, migration and validation.
- [llms.txt: a summary of the site for AI assistants](https://qlogix.ai/llms.txt)
- [Site map](https://qlogix.ai/sitemap.md)

---
Source: https://qlogix.ai/blog/statistics-engine-accuracy-nist-reference-datasets
Cite this page as https://qlogix.ai/blog/statistics-engine-accuracy-nist-reference-datasets
QLogix · contact@qlogix.ai · +17146639012
