Free statistics software for engineers: what to look for
Good free statistics software for engineering work gives results you can verify, methods you can see, and control over your data. Before you rely on any tool, check six things: whether its results are validated against published reference values, whether it tells you exactly which formulas and defaults it uses, where your data go, whether it works offline, whether you can get data in and out in common formats, and whether it works in your language and number format. Price is the easy part; a wrong Cpk or a leaked production file costs far more than a license.
This guide explains each criterion, shows a simple accuracy test you can run on any tool, and describes how StatLab approaches each point.
Why "free" is not the main question
Engineering decisions ride on statistical output: whether a process is released, whether a supplier's lot is accepted, whether a design change goes ahead. A tool that is free but quietly wrong, or that sends confidential process data to a server you know nothing about, is expensive in ways that do not show up on an invoice. So judge free software by the same standard as any other measuring instrument: is it accurate, is it traceable, and is it safe to use with real data?
1. Validated results
A statistics program is a measuring instrument for data, and like any instrument it needs calibration against known references. The best references for numerical accuracy are certified datasets with published answers, such as NIST's Statistical Reference Datasets (StRD). They include data designed to expose weak algorithms, for example values with many leading digits that differ only in the last few.
Questions to ask:
- Does the project say which reference values it checks against, and how many digits must match?
- Are the checks automated, so that a later change cannot quietly break an answer?
- Are textbook and published examples reproduced, not just the easy cases?
How StatLab approaches it. Its build plan says no analysis ships until it reproduces published reference answers, with automated tests that run on every code change. Today the calculator's formula language is checked against the NIST StRD NumAcc1 to NumAcc4 datasets, the probability functions against reference values to at least 12 significant digits, and the means and standard deviations of descriptive statistics against NIST's certified values.
Worked example: a three-number accuracy test
You can test any tool in a minute. A frequency counter checks a 10 MHz oscillator three times and reads 10,000,000.1, 10,000,000.2 and 10,000,000.3 Hz. The deviations from the mean are −0.1, 0 and +0.1 Hz, so the true sample standard deviation is exactly:
s = √[((−0.1)² + 0² + 0.1²) / (3 − 1)] = √0.01 = 0.1 HzA tool that uses the textbook "shortcut" formula, which subtracts two huge, nearly equal sums, loses most of its precision:
s² = (Σx² − (Σx)² / n) / (n − 1)In standard double-precision arithmetic, this gives a variance of 0.03125 and s = 0.17678 Hz, 77% too large. Add one more leading digit (100,000,000.1, 100,000,000.2 and 100,000,000.3 Hz) and the shortcut gives a variance of −2.0, which is impossible.
A careful tool first subtracts the mean, then squares the deviations. StatLab's STDEV in the super calculator gives 0.100000000559 Hz for the first set and 0.100000001490 Hz for the second. The tiny remaining difference from 0.1 comes from how decimal inputs such as 10,000,000.1 are stored in binary, not from the calculation.
Type the three values into any tool you are considering. If its standard deviation is not 0.1 to many digits, be wary of its regression and ANOVA output too, which use the same kinds of sums.
2. Transparent methods
Two correct programs can give different answers because they use different definitions. Quartiles are the classic case. For the seven values 2, 4, 6, 8, 10, 12 and 14, the (n + 1)p rule puts the first and third quartiles at 4 and 12, while another common rule gives 5 and 11. Neither is an error, but you need to know which one you are reading, especially when you compare with a report from someone else.
The same applies to engineering defaults: how σ is estimated for an individuals chart, whether capability uses the within or overall standard deviation, which tests for special causes are on.
Questions to ask:
- Does the documentation state the formula and the estimator behind each result?
- Can you see, or export, the calculation itself?
How StatLab approaches it. Its user guide states the definitions it uses, such as quartiles at rank (n + 1)p, the definition of the NIST/SEMATECH e-Handbook. Its build plan fixes the estimators for later tools in advance, following widely used engineering defaults: σ as MR̄/1.128 for individuals charts and the pooled standard deviation for within-subgroup capability. Under every analysis result, Show code opens the Python code that produced it, with your data written in, which you can copy or download as a .py file and run with Python 3 and NumPy. The source code of the whole app is public.
3. Data privacy
Production data are often confidential: yields, scrap rates, customer part numbers, supplier results. Some tools upload data to a server for processing or collect usage analytics.
Questions to ask:
- Is data processed on your computer or on someone else's server?
- Does the tool require an account? Does it track usage?
- Could you use it on a network with strict data-handling rules?
How StatLab approaches it. Everything runs inside your browser on your computer: the worksheet, the calculations and the Python statistics engine. Nothing you type, paste or import is uploaded. StatLab has no account and no advertising, and adds no analytics of its own. Like any website, the service that delivers the app's files (Cloudflare) sees your IP address when the page loads, but never your data. Files go between StatLab and your own disk only. Whether you may use confidential data in any tool is still up to your company's rules.
4. Offline use and installation
Plants have shop floors without Wi-Fi, locked-down laptops and audit rooms with no internet. A tool that needs an installer with administrator rights, or a constant connection, may simply not be available where the data are.
How StatLab approaches it. It runs in a web browser with nothing to install. After the first visit, the browser keeps a copy of the app, so it opens and works with no connection. The Python engine (about 16 MB, plus about 14 MB for SciPy, which some analyses use) is kept from the first time you run an analysis, so run one while online if you plan to work offline. In browsers that support it, StatLab can also be installed as an app with its own window.
5. Getting data in and out
Data arrive as CSV files from machines, as spreadsheets from colleagues and as pasted cells. Results go into reports, and your work needs to be saved and reopened.
Questions to ask:
- Does import handle your region's decimal comma or point, your date order and your file's text encoding?
- Can you export results and data in open formats?
- Is the project file readable without the tool that made it?
How StatLab approaches it. You can paste from spreadsheets, import CSV, text and Excel (.xlsx) files with detection of the delimiter, decimal separator, date order and encoding, and export to CSV and Excel. Work is saved as a project file, a text file in JSON format with a format version number, which any text editor can open.
6. Language and number formats
Teams work across countries. A tool used in a Spanish-speaking plant should speak Spanish, and a decimal comma should not break the data.
How StatLab approaches it. The interface, the user guide and these articles are in English and Spanish. Number and date formats follow the browser's region, independent of the interface language, so an engineer can use the English interface and still type 10,25.
A checklist
| Criterion | What to check | StatLab |
|---|---|---|
| Validated results | Reference datasets, automated checks | NIST StRD and other reference values, checked on every change, for the analyses available today |
| Transparent methods | Stated formulas and defaults, visible calculation | Stated defaults, Show code under each result, public source |
| Data privacy | Local processing, no account, no tracking | Runs in the browser; nothing uploaded |
| Offline use | Works without a connection, no installer | Works offline after the first visit |
| Data in and out | Region-aware import, open export formats | CSV, text and Excel import; CSV and Excel export |
| Language | Your language and number format | English and Spanish; regional number formats |
| License | Free to use, inspect and keep | MIT license, public repository |
Frequently asked questions
Is open-source statistics software accurate enough for quality work?
It can be, and the license has nothing to do with accuracy. What matters is evidence: published reference checks, documented methods and a way to reproduce a result independently. Open source helps with the last two, because anyone can read the code.
What does the MIT license allow?
Using the software for any purpose, including commercial work, and copying, modifying and sharing it, as long as the license notice is kept. StatLab's code, build plan and progress are public at github.com/andres39-spec/Statlab.
How do I check a result I do not trust?
Run a case with a known answer, such as the three-number test above or a textbook example. In StatLab, open Show code under the result and run the Python yourself, or work the formula step by step in the super calculator.
Which analyses does StatLab have today?
The worksheet, file import and export, the Data and Calc tools and descriptive statistics work now; graphs, control charts, capability and the other analyses follow a published build plan. Each article on this site shows whether its tool is available yet. For an overview of the methods themselves, see statistics for engineers.