Tools
Calculators
Every calculator from the course on one page, for use after you have finished it. Each one runs entirely in your browser with no libraries and sends nothing anywhere. The statistical engines behind them are tested against scipy and against the course's verification results on every dataset in the course; the tests and the code are in the course repository.
Each calculator is pre-loaded with a course dataset so you can see it agree with the module that teaches it. Paste your own data over it. Data may be separated by spaces, commas, tabs or new lines, and a comma decimal is accepted. Where a calculator belongs to a module that is not yet published, the dataset is the one that module will use.
- Descriptive statistics and histogram
- Process capability (Module 7)
- Sigma level, DPMO, DPU and rolled throughput yield (Module 6)
- Control chart builder (Modules 16 and 17)
- Gauge R&R, crossed, ANOVA method (Module 4)
- Two-sample t-test, one-way ANOVA, paired and one-sample t (Module 11)
- Sample size for a t-test (Module 11)
- 2k factorial effects (Module 13)
- Central limit theorem and control chart simulator (Modules 1 and 16)
1. Descriptive statistics and histogram
Mean, median, standard deviation, quartiles, skewness, kurtosis, the Anderson-Darling normality test, and a histogram with a fitted normal curve and optional specification limits. Pre-loaded with the 125 bore diameters of Module 7 (constructed data, Ø12.000 ± 0.025 mm).
2. Process capability
Control chart first, then normality, then Cp, Cpk, Pp, Ppk, Cpm with the sigma estimate printed beside every index, predicted PPM within and overall, and confidence intervals. Both naming conventions (AIAG & VDA 2026 / ISO 22514, and the older AIAG 2005 convention most software prints) are available. Pre-loaded with the Module 7 bore study.
3. Sigma level, DPMO, DPU and rolled throughput yield
Defects, units and opportunities to DPU, DPMO, first-time yield and sigma level, with and without the 1.5σ shift, both labelled; conversion in either direction; and rolled throughput yield for a chain of process steps. Module 6 explains the conventions and the controversy over the shift.
4. Control chart builder
I-MR, X̄-R, X̄-S, p, np, c and u charts with limits computed from the data using the constants for the subgroup size; Western Electric and Nelson rules selectable; limits can be frozen from a baseline period and applied to later data. Pre-loaded with the Module 7 bore data as an X̄-R chart. Specification limits are never drawn on these charts; put them in the capability calculator.
5. Gauge R&R, crossed, ANOVA method
Parts × operators × trials, two-way ANOVA with the interaction term dropped when it is not significant, variance components, %Contribution, %Study Variation, %Tolerance and the number of distinct categories, with the AIAG MSA guideline bands stated as guidelines. Pre-loaded with the Module 4 study of the bore gauge (constructed data: 10 parts, 3 operators, 3 trials, tolerance 0.050 mm).
6. Two-sample t-test, one-way ANOVA, paired and one-sample t
Group summaries, pooled and Welch t-tests with confidence intervals and Cohen's d, one-way ANOVA with η², variance checks, and a plain-language reading of the p-value that says what it is (the probability of data at least this extreme if the null hypothesis were true) and what it is not. Pre-loaded with the Module 11 pull-strength comparison of two suppliers; the ANOVA example (three machines) is in the comment below the box.
One-way ANOVA example: cycle time on three machines (Module 11, constructed data)
Paste these three lines into the box above and choose "One-way ANOVA":
M1 42.0 41.9 42.6 43.0 42.3 42.7 41.9 43.0 41.8 41.2 M2 43.1 41.6 41.5 41.8 43.1 43.0 41.6 40.0 41.0 41.8 M3 43.0 42.8 42.5 43.3 43.2 41.8 42.4 43.3 43.8 43.4
7. Sample size for a t-test
The number of observations needed to detect a difference δ with standard deviation σ at a given α and power, by the normal approximation and by iteration on the t distribution, for one-sample, paired or two-sample designs. Module 11 works an example.
8. 2k factorial effects
Main effects, interactions, coefficients, ANOVA when replicated, and a Pareto of effects for 2² and 2³ designs in standard order. Pre-loaded with Montgomery's plasma-etch 2³ example (8 runs, 2 replicates; etch rate in Å/min), a published textbook dataset that the course's verification scripts reproduce to the published effects; Module 13 builds its own worked example.
9. Central limit theorem and control chart simulator
Choose a parent distribution and a subgroup size, draw subgroups, and watch the distribution of the means become narrower and closer to normal than the parent. Then add a shift in the mean and see how many subgroups each rule set needs to detect it, and how often each one raises a false alarm. Seeded, so a run can be repeated exactly.
Notes on the numerical methods
The normal, t, F and chi-square distribution functions are implemented in assets/js/stats.js with the algorithm and its accuracy cited in the source: Hart's rational approximation for the normal CDF as given by West (2005), Acklam's inverse normal with one Halley refinement, and the incomplete beta and gamma functions of Numerical Recipes for the t, F and chi-square distributions. The test suite compares each function with scipy at 200 or more points; the observed errors are below 1 × 10⁻⁹ everywhere, against targets of 10⁻⁷ for the normal CDF, 10⁻⁶ for its inverse, and 10⁻⁵ for the t and F CDFs. Control chart constants are computed by numerical integration in verification/tables.py and checked against the NIST handbook tables.