Learn statistics for engineering
Every guide explains when to use a method, how it works, a worked example from a plant or lab, how to read the results and the mistakes to avoid. Each one links to the StatLab tool that does the math for you.
Statistical process control
- Common cause vs special cause variation, with examples
The difference between common cause and special cause variation, how a control chart separates them, and why each needs a different response. With a worked example.
- Control charts explained: types, limits and how to read them
What a control chart is, how its limits are calculated, the main chart types for measurements and counts, and how to read one, with a worked Xbar-R example.
- Control charts in a spreadsheet: pitfalls and how to avoid them
The mistakes that make homemade spreadsheet control charts miss real signals, from limits based on the overall standard deviation to moving formulas, with a worked example.
- How SPC improves manufacturing: less scrap, fewer surprises
What changes on the shop floor with statistical process control: less tweaking, earlier warning of shifts, fixes at the source and decisions based on data.
- How to implement SPC on a production line, step by step
A practical, step-by-step plan to start SPC on a line: choose the characteristic, check the gage, plan subgroups, set limits, write the reaction plan and keep it going.
- The 8 tests for special causes on a control chart
The eight standard tests for special causes on a control chart, each with a small example chart, what it usually means, and the false-alarm cost of using more tests.
- What is SPC? Statistical process control explained
What statistical process control is, how control charts separate common from special causes, and how control limits differ from specification limits.
- Which control chart should I use? A decision guide
Pick the right control chart in three questions: measured or counted, subgroup size, defects or defectives. Includes a decision table and a worked P chart.
Control charts
- Acceptance control chart: limits from the specification
How an acceptance control chart sets limits from the specification and an acceptable process level, so a capable process can drift safely, with a rivet example.
- C chart: control chart for count of defects
How a C chart tracks the number of defects per unit when every unit is the same size, why its limits are c̄ ± 3√c̄, and a paint-finish example with 30 doors.
- CUSUM chart: tabular CUSUM with k and h explained
How the tabular CUSUM accumulates deviations above and below target, how to choose k and h in σ units, and a wire-drawing example that catches a 1σ shift.
- EWMA chart: how λ and L work, with time-varying limits
How an EWMA control chart weights past data with λ, sets time-varying limits with L, and catches a small drift in a plating bath that an individuals chart misses.
- G chart: control chart for rare events between counts
How the G chart plots the number of opportunities between rare events, its geometric limits and median center line, and a surgical infection example.
- Generalized variance chart: monitor multivariate spread
How the generalized variance chart tracks the determinant of each subgroup's covariance matrix, its b₁ and b₂ limits, and a lathe example the S charts miss.
- Hotelling T² chart: multivariate control, Phase I and II
How the Hotelling T² chart watches correlated variables with one statistic, how Phase I and Phase II limits differ, and a molding example it catches.
- I-MR chart: individuals and moving range chart explained
How to build an I-MR chart for one measurement at a time, why σ is MR̄/1.128, and a paint-batch example with computed limits and an out-of-control batch.
- I-MR-R/S chart (between/within): a three-way control chart
When subgroup means vary more than the within-subgroup spread predicts, the I-MR-R/S chart gives honest limits. Formulas and a film-thickness example.
- Individuals chart (I chart): limits, rules and an example
How an individuals control chart sets its limits from the average moving range, which tests apply, and a lab quality-control example where Test 6 flags a shift.
- Laney P′ chart: P chart limits that work for large samples
Why P charts with large samples flag too many points, how the Laney P′ chart widens the limits with σ_z from the z-scores' moving range, and a call-center case.
- Laney U′ chart: defects-per-unit limits for large samples
How the Laney U′ chart corrects U chart limits that are too narrow for large samples, using σ_z from the moving range of z-scores, with a bottling-line example.
- MEWMA chart: multivariate EWMA for small shifts
How the MEWMA chart smooths several correlated variables with λ, why its limit h comes from run-length tables, and a spray-dryer example it catches early.
- Moving average chart: detect small shifts in individual data
How a moving average control chart averages the last w values to catch small shifts, why its first limits are wider, and a dairy example where it beats an I chart.
- Moving range chart: monitor short-term variation
What a moving range (MR) chart shows, why its upper limit is 3.267 MR̄, which tests apply, and a molding example where shot-to-shot variation jumps.
- NP chart: control chart for number of defectives
How an NP chart tracks the count of defective items in samples of constant size, the formulas for its limits, and a molding example with 25 shifts of 500 caps.
- P chart: control chart for proportion defective
How a P chart tracks the fraction of defective items when sample sizes vary, how its limits are calculated for each sample, and a 20-day hospital-lab example.
- R chart (range chart): how to monitor process spread
What a range chart shows, how D₃ and D₄ set its limits, how R̄/d₂ estimates σ, and a solder-paste example where one subgroup's range signals a problem.
- S chart: control chart for subgroup standard deviations
How an S chart tracks within-subgroup standard deviation, how B₃, B₄ and c₄ are computed for any subgroup size, and an example that confirms a real improvement.
- T chart: time between rare events, not Hotelling's T²
How the T chart plots the time between rare events with exponential limits and a median center line, with a drill-breakage example from PCB drilling.
- U chart: control chart for defects per unit
How a U chart tracks defects per unit when the amount inspected varies, how its limits change with each sample's size, and a fabric example with rolls of different length.
- Xbar chart: control limits for subgroup means, with an example
How an Xbar chart monitors the process mean, how σ is estimated with the pooled standard deviation, and a crimp-height example where a run of 9 flags a shift.
- Xbar-R chart: how to make and read one
What an Xbar-R chart shows, how its control limits are calculated with A₂, D₃ and D₄, a worked example with 20 subgroups, and the mistakes to avoid.
- Xbar-S chart: formulas, constants and a worked example
How the Xbar-S chart tracks subgroup means and standard deviations, how A₃, B₃, B₄ and c₄ set its limits, and a tablet-weight example with 20 subgroups.
- Z-MR chart: control charts for short production runs
How a Z-MR chart standardizes measurements from different products so short runs share one control chart, with a three-bottle filling example and its limits.
- Zone chart: scoring points to detect process shifts
How a zone control chart scores each subgroup mean by its zone and signals when the running score reaches 8, with a bakery example worked point by point.
Process capability
- Cp vs Cpk vs Pp vs Ppk: what is the difference?
How Cp, Cpk, Pp and Ppk differ, which standard deviation each uses, and what the gaps between them tell you, with a worked example of a process that drifts.
- Process capability explained, with a worked example
What process capability means, the conditions it needs, how Cp, Cpk, Pp, Ppk and expected PPM are calculated, and how to read them, with a worked shaft example.
- Sigma level, PPM and DPMO explained, with a conversion table
What sigma level, PPM, DPU and DPMO mean, how to convert between them with and without the 1.5 sigma shift, and why six sigma is quoted as 3.4 defects per million.
- Automated capability analysis: let the data pick the model
How an automated capability analysis screens normal, nonnormal and transformed models, picks one by fit, and where your judgment still matters, with an example.
- Batch capability analysis: within- and between-batch variation
How to judge capability for a batch process by splitting variation into within-batch and between-batch parts, with a worked tablet assay example.
- Between/within capability analysis: Cpk when subgroups shift
How between/within capability adds the variation between subgroups (coils, batches, setups) to within σ, with a worked coating thickness example.
- Binomial capability analysis: percent defective and process Z
How to measure capability for pass/fail data: percent defective with a confidence interval, PPM and process Z, with a worked 20-day inspection example.
- Box-Cox transformation: how to choose lambda, with an example
What the Box-Cox transformation does, how lambda is estimated, why the spec limits must be transformed too, and a capability example for leakage current.
- Capability summary: control charts, histogram and Cpk together
What each chart in a capability summary checks (stability, normality, spread against the specification), with a worked example on 30 fill volumes.
- Individual distribution identification: which distribution fits?
How to compare normal, lognormal, Weibull, gamma and other fits with Anderson-Darling statistics and probability plots, with a surface roughness example.
- Johnson transformation: SB, SL and SU explained with an example
How the Johnson transformation picks a bounded, lognormal or unbounded family to make data normal, with a worked purity example and a capability estimate.
- Nonnormal capability analysis: Ppk for skewed data, with example
How to compute Ppk and expected PPM when data are not normal, by fitting a distribution such as the lognormal, with a worked flatness example.
- Nonparametric capability analysis: Ppk without a distribution
How to estimate Pp and Ppk from the data's own percentiles when no distribution fits, why it needs hundreds of values, and a worked example with 800 bores.
- Poisson capability analysis: defects per unit (DPU) explained
How to measure capability when you count defects: mean DPU with an exact confidence interval, a U chart and first-pass yield, with a soldering example.
- Process capability analysis: Cp, Cpk, Pp and Ppk step by step
How a normal capability analysis compares your process spread with the specification, with Cp, Cpk, Pp, Ppk, Cpm and expected PPM worked out from 30 parts.
Measurement systems
- Measurement system analysis (MSA) explained: a practical guide
What measurement system analysis is, why measurement error matters, which study answers which question, and how to read gage R&R, bias and agreement results.
- Attribute agreement analysis: kappa and agreement for inspectors
How attribute agreement analysis checks pass/fail inspectors within, between and against a standard, with exact confidence intervals and Fleiss' kappa.
- Attribute gage study: bias and repeatability of a pass/fail gauge
How the analytic method uses reference parts and 20 trials each to estimate the bias and repeatability of a go/no-go gauge, with a worked example.
- EMP crossed study: probable error and the four monitor classes
How Wheeler's EMP method rates a measurement system with the probable error, the intraclass correlation and four monitor classes, with a worked example.
- Expanded gage R&R: adding gages, fixtures or labs to the study
How an expanded gage R&R handles more than two factors, missing data and fixed or random effects, with a worked example of two gauges and two operators.
- Gage linearity and bias: accuracy across the measuring range
How a gage linearity and bias study measures reference parts, regresses bias on the reference value and shows whether a gauge reads true across its range.
- Gage R&R study (crossed): ANOVA method with a worked example
How a crossed gage R&R splits variation into repeatability, reproducibility and parts, with %Study Var, %Tolerance and ndc worked out by ANOVA.
- Gage R&R study worksheet: how to plan and randomize the runs
How to plan a gage R&R data collection worksheet: choosing parts, operators and trials, randomizing the run order and keeping the study blind.
- Gage run chart: see measurement error at a glance
How a gage run chart plots every reading by part and operator, so you can spot operator offsets, unstable repeats and outliers before running the numbers.
- Nested gage R&R: measurement study for destructive tests
How a nested gage R&R evaluates a measurement system when each part can be tested only once, with a worked tensile test example and how to read it.
- Type 1 gage study: Cg and Cgk from repeated readings
How a type 1 gage study measures one reference part many times and turns repeatability and bias into Cg and Cgk, with the formula variants and a worked example.
- VDA 5 study: measurement uncertainty and capability ratios
How a VDA 5 study builds an uncertainty budget for a measurement process and compares the expanded uncertainty with the tolerance as Q_MS and Q_MP.
Quality tools
- Acceptance sampling plans and OC curves, with an example
How a single sampling plan by attributes works, how to compute its OC curve from the binomial distribution, and how to choose n and c for a given AQL and RQL.
- Chunky data: when measurements are too coarse for SPC
How to tell when a measurement increment is too large for a control chart, with Wheeler's range chart rule, a worked example and what to do about it.
- Fishbone diagram: how to make a cause-and-effect diagram
How to build a fishbone (Ishikawa) diagram with the 6M categories, write a useful effect statement, and turn the brainstorm into causes you can check with data.
- Multi-vari chart: how to find the largest family of variation
How a multi-vari chart splits variation into within-piece, piece-to-piece and time-to-time families, with a worked lathe example and tips for planning a study.
- OEE calculation: availability × performance × quality
How to calculate overall equipment effectiveness from shift data, break the losses down in minutes, and read OEE without being misled by benchmarks.
- Pareto chart: how to make one and find the vital few
How to build a Pareto chart from defect counts, read the cumulative percentage line, weight categories by cost, and avoid the usual mistakes.
- Run chart: how to make one and test for runs
How to make a run chart, count runs about the median and runs up or down, and use the run tests to spot clustering, mixtures, trends and oscillation.
- Tolerance intervals: k factors, formula and an example
What a tolerance interval is, how to compute the normal k factor with Howe's method, an example with 20 parts, and how it differs from a confidence interval.
- Variability chart: compare spread across nested factors
What a variability chart shows, how to read cell means and the standard deviation chart, and a worked example with fill volume by filler and nozzle.
Dominant-cause search
- Dominant-cause search: finding the one variable behind a problem
What dominant-cause search is, why one cause usually dominates, the tools in order from clue-finding to control, and a worked example on a noisy pump.
- B vs C test: prove an improvement with 3 and 3 units
How the B vs C test confirms that a better process beats the current one with only 3 units of each, why the risk is 1 in 20, and how to run it correctly.
- Components search: swap parts to find the dominant cause
How components search finds the part behind a good-versus-bad difference by disassembly, reassembly and swaps, with decision limits and a worked pump example.
- Concentration chart: map where defects occur on a part
How to build a concentration chart (defect location map), test whether defects cluster with a chi-square test, and use the pattern to find the cause.
- Measurement agreement plot: check a gage with 2 readings per part
How to check a measurement system by plotting two readings of each part against each other and comparing the band's width with the spread of the parts.
- Paired comparisons: find what differs between good and bad units
How to compare matched good and bad units characteristic by characteristic, rank each one with Tukey's end count, and read the exact probabilities.
- Pre-Control: green, yellow and red zones and the rules
How Pre-Control splits the tolerance into green, yellow and red zones, the qualification and two-piece sampling rules, and when it beats a control chart.
- Product/process search: compare process records of good and bad
How to find the process parameter behind a defect by comparing the recorded settings of good and bad units with Tukey's end count, with a molding example.
- Realistic tolerance parallelogram: set a tolerance for a cause
How to set a working tolerance for a process variable from its scatter plot against the output, by projecting the output spec through a band around the fit.
- Tukey end-count test (quick test) explained, with an example
How Tukey's quick test compares two groups by counting values at the ends, the critical counts 7, 10 and 13, exact probabilities, and a worked example.
- Variables search: isolate the dominant cause among many
How variables search narrows 5 to 20 suspect variables to the few that matter by swapping best and worst levels in halves, with decision limits and capping.
Improvement methods
- 5 Whys: how to use it without fooling yourself
How to use the 5 Whys well: a precise problem, answers checked against facts, branches for escape and system causes, and a worked seized bearing example.
- 8D problem solving explained: the disciplines D0 to D8
What the 8D method is, what happens in each discipline from D0 to D8, how containment differs from corrective action, and a worked complaint example.
- Control plan: what it contains and how to build one
What a control plan is, what each column means, how it links to the process FMEA, and a worked example with control limits and a reaction plan for a turned shaft.
- DMAIC explained: the five phases, tools and tollgates
What happens in each DMAIC phase (Define, Measure, Analyze, Improve, Control), the tools each uses, what each tollgate must deliver, and a worked project example.
- FMEA explained: DFMEA, PFMEA and AIAG-VDA action priority
What FMEA is, how design and process FMEAs differ, the seven AIAG-VDA steps, rating severity, occurrence and detection, and why action priority replaced RPN.
- Root cause analysis tools for engineers: which to use and when
Root cause analysis tools explained: Pareto, fishbone, 5 Whys, is/is not, multi-vari, dominant-cause search and hypothesis tests, with a worked example.
- SIPOC diagram: what it is and how to make one
What a SIPOC diagram shows, how to build one step by step, a complete example for a powder coating line, and how it sets the scope of a DMAIC project.
- The PDCA cycle explained: Plan, Do, Check, Act
What the PDCA cycle is, what happens in each of its four steps, how it compares with DMAIC and 8D, and a worked example that tests a changeover improvement with data.
- What is Six Sigma? Belts, DMAIC and the statistics behind it
What Six Sigma is, where the name comes from, how DMAIC projects run, what Yellow, Green and Black Belts do, and a worked example of measuring improvement in DPMO.
Basic statistics
- Free statistics software for engineers: what to look for
What to check before trusting free statistics software with engineering data: validated results, open methods, privacy and offline use.
- Normal distribution explained: the bell curve for engineers
What the normal distribution is, the 68-95-99.7 rule, z-scores and how to turn a mean and standard deviation into parts per million.
- Statistics for engineers: the tools you will actually use
A map of the statistics engineers use most: descriptive statistics, control charts, capability, gage studies, tests, regression and DOE.
- 1 proportion test: exact binomial test and confidence interval
How to test a defect rate or yield against a target with the exact binomial test, and how the Clopper-Pearson, Wilson and Agresti-Coull intervals compare.
- 1 variance test: chi-square test for a standard deviation
How to test a process standard deviation against a requirement with the chi-square test, its interval, the Bonett method and a machining example.
- 1-sample Poisson rate test: exact test for defects per unit
How to test a rate of defects per area, hour or unit against a target with the exact Poisson test, its confidence interval and a coating line example.
- 1-sample t-test: how to run and interpret one, with example
How the 1-sample t-test compares a mean with a target when σ is unknown, with the formula, assumptions, a worked chemical batch example and its interval.
- 1-sample Z test: formula, example and when to use it
How the 1-sample Z test compares a mean with a target when the process standard deviation is known, with the formula, an interval and a machining example.
- 2 proportions test: compare two defect rates, with example
How to compare two defect rates or yields with the 2 proportions z test and Fisher's exact test, with formulas, an interval and a board test example.
- 2 variances test: F test, Levene and Bonett compared
How to compare the spread of two groups with the F test, Levene's (Brown-Forsythe) test and Bonett's method, with formulas and an injection molding example.
- 2-sample Poisson rate test: compare two failure rates
How to compare two rates of events per hour, area or unit-month with the exact conditional test, the rate ratio interval and a field returns example.
- 2-sample t-test: Welch's test explained with an example
How the 2-sample t-test compares two means with Welch's unequal-variance method, its degrees of freedom, the pooled version and a wire bond example.
- Correlation coefficient: Pearson r, p-value and interval
What the Pearson correlation coefficient measures, how to test it and put a confidence interval on it, when to use Spearman's rho, and a packaging seal example.
- Covariance and the covariance matrix, with an engineering example
What covariance measures, how to calculate a covariance matrix, how it relates to correlation and changes a tolerance stack-up, with a shaft example.
- Descriptive statistics: mean, standard deviation and quartiles
What descriptive statistics tell you about a column of measurements, how each one is calculated, and how to read N*, SE Mean and the quartiles.
- Graphical summary: statistics, histogram and intervals together
What a graphical summary shows, how its confidence intervals and normality test are calculated, and a worked example with 25 coffee bag weights.
- Normality test: Anderson-Darling, Ryan-Joiner and KS explained
How to test whether data are normal with the Anderson-Darling, Ryan-Joiner and Kolmogorov-Smirnov tests, how to read a probability plot, and a worked example.
- Outlier test: Grubbs' test and Dixon's test with an example
How to test whether an extreme value is an outlier with Grubbs' test and Dixon's ratio test, the formulas, a lab titration example and what to do next.
- Paired t-test: when to use it, formula and worked example
How the paired t-test compares two measurements on the same units, why it beats a 2-sample test for method comparisons, with a lab analyzer example.
- Poisson goodness-of-fit test: are your defect counts Poisson?
How to check whether counts of defects or events follow a Poisson distribution with a chi-square goodness-of-fit test, with a worked fabric flaw example.
Hypothesis tests
- Confidence intervals explained, with a worked example
What a confidence interval is, how to compute one for a mean, a standard deviation and a proportion, and how sample size sets its width.
- Hypothesis testing explained for engineers, with an example
How hypothesis tests work: null and alternative hypotheses, test statistics, p-values, alpha, errors and power, with a fully worked fill-weight example.
- What a p-value means (and what it does not), with an example
A p-value is the chance of data at least this extreme if nothing had changed. A worked supplier example, common misreadings and multiple tests.
- Which hypothesis test should I use? A guide for engineers
Pick the right hypothesis test from four questions: what you compare, how many groups, paired or independent data, and the type of data.
- 1-sample bootstrap: confidence intervals by resampling
How the one-sample bootstrap builds a confidence interval for a median, mean or other statistic by resampling your data, with a percentile interval example.
- 1-sample sign test: test a median, with an example
How the sign test checks a median by counting values above and below it, with the exact binomial p-value, a median interval and a surface finish example.
- 2-sample bootstrap: confidence interval for a difference
How the two-sample bootstrap gives a confidence interval for the difference in medians or means between two groups by resampling each group, with an example.
- 2×2 crossover equivalence test: design, analysis and example
How a 2×2 crossover design tests equivalence with each unit as its own control, how period effects and carryover are handled, and how to read the 90% interval.
- Chi-square goodness-of-fit test: formula and worked example
How the chi-square goodness-of-fit test compares category counts with equal or specified proportions, with degrees of freedom and a molding example.
- Chi-square test of independence: cross tabulation explained
How to cross-tabulate two categorical variables and test their association with the chi-square test, with expected counts, residuals and a lab example.
- Equivalence test for one sample (TOST) against a target
How the one-sample equivalence test shows that a mean is within a margin of a target, using two one-sided t tests and a 90% confidence interval.
- Equivalence test for two samples (TOST): is the new one the same?
How the two-sample equivalence test shows that two process means differ by less than a set margin, with Welch TOST, the 90% interval and a worked example.
- Friedman test: nonparametric test for blocked data, explained
How the Friedman test compares three or more treatments measured on the same blocks, with the rank-sum statistic, ties correction and a machining example.
- Kruskal-Wallis test explained, with an example
How the Kruskal-Wallis test compares three or more groups by ranks, with the H statistic, the ties correction, follow-up comparisons and an electronics example.
- Mann-Whitney U test: how it works, with a worked example
How the Mann-Whitney test compares two independent groups by ranks, with the U statistic, ties correction, an interval and a lab turnaround example.
- Mood's median test: compare medians with outliers present
How Mood's median test compares group medians with a chi-square test on counts above and below the grand median, with a filtration time example.
- Paired equivalence test (TOST): show two methods agree
How the paired equivalence test shows that two measurements on the same units agree within a margin, why pairing matters, and how to read the 90% interval.
- Randomization test (permutation test) for two groups
How a randomization test compares two groups by reshuffling the group labels, how the exact and sampled permutation p-values are computed, with an example.
- Runs test: check whether a sequence of data is random
How the runs test counts runs above and below the mean or median to check whether data in time order are random, with formulas and a check-standard example.
- Tally: count categories with percents and cumulative percents
How a tally counts each category in a column, with percents, cumulative percents and missing values, and a field returns example that leads to a Pareto.
- Wilcoxon signed-rank test: one-sample example and formula
How the Wilcoxon signed-rank test checks a median using ranks, with the exact p-value, the Hodges-Lehmann estimate and a bottle filling example.
ANOVA
- Analysis of means (ANOM): decision limits explained
How analysis of means compares each group mean with the overall mean on a chart with decision limits, how the limits are set, and how ANOM differs from ANOVA.
- General linear model (GLM): unbalanced ANOVA with covariates
How the general linear model handles unbalanced designs, factors and covariates, why adjusted (Type III) sums of squares matter, and what adjusted means are.
- Interaction plot: how to read interactions between factors
What an interaction plot shows, how to tell parallel from crossing lines, how the interaction effect is calculated, and why it changes the best setting.
- Main effects plot: how to make and read one
What a main effects plot shows, how the level means and effects are calculated, and how to read it alongside an interaction plot, with a welding example.
- MANOVA: multivariate analysis of variance and Wilks' lambda
How MANOVA tests several correlated responses at once, how to read Wilks' lambda and the other multivariate tests, and why it finds what separate ANOVAs miss.
- Mixed effects model: random factors and variance components
How a mixed effects model handles random factors such as batches or operators, why it changes the F tests, and how to read variance components, with an example.
- One-way ANOVA explained: F test, Tukey, Dunnett and more
How one-way ANOVA compares several means, how to read the ANOVA table, and how the Tukey, Fisher, Dunnett and Hsu MCB comparisons differ, with an example.
- Test for equal variances: Bartlett, Levene and Brown-Forsythe
How to test whether several groups have the same spread with Bartlett's, Levene's and Brown-Forsythe tests and pairwise comparisons, with an example.
Regression
- Best subsets regression: choosing predictors with Mallows' Cp
How best subsets regression compares every combination of predictors, how to read R², adjusted R², predicted R², S and Mallows' Cp, with a worked example.
- Binary logistic regression explained, with odds ratios
How binary logistic regression models a pass/fail outcome, how to read coefficients, odds ratios, deviance and fit tests, with a solder defect example.
- Fitted line plot: simple linear regression with an example
How a fitted line plot shows a simple linear or quadratic regression, how to read the equation, S, R² and prediction bands, and when a line is not enough.
- Multiple regression analysis explained, with an example
How to fit a multiple linear regression, read the coefficients, p-values, R² and ANOVA table, check residuals and choose terms with stepwise, AICc or BIC.
- Nominal (multinomial) logistic regression explained
How nominal logistic regression models an outcome with unordered categories, such as defect type, how the reference category works and how to read odds ratios.
- Nonlinear regression explained, with a curing example
How nonlinear regression fits curves such as exponential growth or decay, why it needs starting values, and how to read the estimates, S and intervals.
- Ordinal logistic regression for ranked ratings, with example
How ordinal logistic regression models ordered outcomes such as good, fair and poor, how the proportional odds model works, and how to read its output.
- Orthogonal (Deming) regression for comparing two instruments
How orthogonal or Deming regression compares two measurement methods when both have error, how to set the error variance ratio and read the slope.
- Partial least squares (PLS) regression for correlated predictors
How PLS regression predicts a response from many correlated process variables, how to pick the number of components by cross-validation, and how to read it.
- Poisson regression for defect counts, with an example
How Poisson regression models counts such as defects per roll, how to use an exposure offset, read rate ratios and check the fit for overdispersion.
- Response optimizer: desirability functions for several responses
How the response optimizer uses Derringer–Suich desirability functions to find settings that balance several responses, with a coating example worked through.
Design of experiments
- Design of experiments (DOE) explained for engineers
What design of experiments is, why changing one factor at a time misses interactions, and how to choose, size, run and analyze an experiment.
- D-optimal design: when and how to use an optimal design
What D-optimal and other optimal designs are, when a standard design does not fit, how exchange algorithms pick runs, and an example with a constrained region.
- Factorial design (DOE): full and fractional 2-level designs
How 2-level factorial designs work: full and fractional designs, resolution and aliasing, center points, blocking and randomization, with a worked example.
- Mixture design: simplex lattice and centroid, with an example
How mixture designs work when ingredients must add up to 100%: simplex lattice and simplex centroid designs, the Scheffé model and a worked blend example.
- Normal, half-normal and Pareto plots of effects in DOE
How to read normal, half-normal and Pareto plots of effects from a 2-level experiment, and how Lenth's method judges an unreplicated design.
- Response surface design: central composite and Box-Behnken
How response surface designs find an optimum: central composite and Box-Behnken designs, the quadratic model and its stationary point, with a worked example.
- Screening designs: Plackett-Burman and definitive screening
How screening designs find the few factors that matter among many: Plackett-Burman and definitive screening designs, run counts, aliasing and a worked example.
- Taguchi design: orthogonal arrays and signal-to-noise ratios
How Taguchi designs work: orthogonal arrays, inner and outer arrays, signal-to-noise ratios, a worked L9 example and the main criticisms of the method.
Power and sample size
- How many samples do I need? Sample size for engineers
How to choose a sample size for tests, estimates, demonstrations and capability studies, with the formulas, quick rules, tables and a worked example.
- Power and sample size for 2-level factorial designs
How many replicates and center points a 2-level factorial needs to detect an effect of a given size, with the noncentral t method, a power curve and an example.
- Power and sample size for Plackett-Burman screening designs
How to check that a Plackett-Burman screening design can detect the effects you care about: run size, empty columns, center points and power, with an example.
- Sample size for a 1-proportion test (exact binomial)
How many units a 1-proportion test needs to show a defect rate changed: the normal formula, the exact binomial method and its sawtooth power curve.
- Sample size for a 1-sample t test, with a worked example
How to find the sample size and power for a 1-sample t test using the noncentral t distribution, with a worked example, a simulation check and power curves.
- Sample size for a 1-sample Z test: formula and power curve
How to find the sample size for a 1-sample Z test when the standard deviation is known: the formula, the exact power, a worked example and a power curve.
- Sample size for a 1-variance test (chi-square method)
How many units a 1-variance test needs to show a standard deviation dropped below a target, using the exact chi-square method, with an example and curves.
- Sample size for a 2-sample t test: how many per group
How many units per group a 2-sample t test needs to detect a difference in means: the noncentral t method, a quick rule, a worked example and power curves.
- Sample size for a 2-variances test (F test)
How many units per group you need to detect a difference in variation between two machines or suppliers, using the exact F distribution, with an example.
- Sample size for a paired t test, and why pairing saves parts
How many pairs a paired t test needs: the noncentral t method on the differences, how correlation shrinks the sample, a worked gauge example and power curves.
- Sample size for comparing two proportions (defect rates)
How many units per group you need to compare two defect rates or yields: the normal formula, the continuity correction, a simulation check and power curves.
- Sample size for one-way ANOVA: power with several groups
How many units per group a one-way ANOVA needs to detect a given difference between the largest and smallest means, using the noncentral F distribution.
- Sample size for tolerance intervals (normal and nonparametric)
How many samples a tolerance interval needs for a chosen coverage and confidence: exact k factors for normal data and the binomial rule behind 59 and 93.
- Sample size to estimate a mean, proportion or standard deviation
How many samples you need to estimate a mean, a proportion or a standard deviation within a chosen margin of error, with formulas and a worked example for each.
Reliability and survival
- Accelerated life testing: Arrhenius and inverse power law models
How accelerated life tests predict life at use conditions from failures at high stress, with an Arrhenius-Weibull example, activation energy and B10 life.
- Cox regression (proportional hazards) explained, with an example
How Cox proportional hazards regression compares failure risk across conditions without assuming a life distribution, with a pump seal example.
- Probit analysis for stress-response (go/no-go) data
How probit analysis fits the probability of failure against stress level from pass/fail tests, with a drop-test example and the stress for 5% and 10% failures.
- Regression with life data: Weibull regression with censoring
How to model failure times against factors such as supplier and load when some units survive, with a Weibull regression example and how to read time ratios.
- Reliability demonstration test plans: zero-failure sample size
How to size a reliability demonstration test with zero or one allowed failure, using binomial and Weibull relations, with worked sample sizes.
- Repairable systems analysis: Crow-AMSAA model and MCF
How to analyze repeated failures of repaired machines with the power-law (Crow-AMSAA) process, a trend test and the mean cumulative function.
- Stability study: how to estimate shelf life with regression
How a stability study sets shelf life from the regression of assay on time, where the 95% confidence bound crosses the specification, with batch pooling tests.
- Warranty analysis: forecasting returns from shipments and claims
How to turn monthly shipments and warranty returns into a Weibull model and a returns forecast, with a Nevada table example and the warranty failure fraction.
- Weibull analysis: reliability distribution fit with censoring
How to fit Weibull, lognormal and exponential models to failure times with suspensions, estimate B10 life and reliability, and read the probability plot.
Time series
- ARIMA model: identify, fit, check and forecast, with example
How to build an ARIMA model step by step: identify the order from the ACF and PACF, estimate the coefficients, check the residuals with Ljung–Box and forecast.
- Augmented Dickey-Fuller test: check a series for a unit root
How the augmented Dickey-Fuller test checks a time series for a unit root, how to choose lags and deterministic terms, and how to read tau.
- Autocorrelation function (ACF): how to read it, with example
What the autocorrelation function measures, how to read the ±2/√n bounds and the Ljung–Box test, and why autocorrelation matters for control charts.
- Best ARIMA forecast: choose a model by AIC, AICc or BIC
How automatic ARIMA selection compares candidate models by AIC, AICc and BIC, how to check the chosen model, and how to read its forecast intervals.
- Cross correlation function: find the lag between two series
How the cross correlation function finds the delay between a process input and an output, how to read its lags and bounds, and why prewhitening matters.
- Double exponential smoothing (Holt's method) for trending data
How double exponential smoothing tracks a level and a trend to forecast a series that grows or declines, how the two weights work, and how to read the forecast.
- Moving average forecast: how to choose the length, with example
How a moving average forecasts the next period from the last few observations, how to choose its length with MAPE, MAD and MSD, and where it lags behind.
- Partial autocorrelation (PACF): identify the AR order
What the partial autocorrelation function measures, how it differs from the ACF, and how its cutoff identifies the order of an autoregressive model.
- Single exponential smoothing: forecast a level, choose alpha
How single exponential smoothing forecasts a series with no trend or season, what the weight alpha does, how to choose it, and how to read its accuracy.
- Time series decomposition: trend, seasonal indices, forecast
How classical decomposition splits a seasonal series into trend, seasonal and irregular parts, when to choose additive or multiplicative, and how to forecast.
- Trend analysis: fit linear, quadratic and exponential trends
How trend analysis fits a linear, quadratic or exponential curve to a time series, how to compare models with MAPE, MAD and MSD, and how to forecast.
- Winters' method: forecast seasonal data with trend
How Winters' method (Holt-Winters) smooths level, trend and seasonal factors to forecast seasonal series, with a worked quarterly example.
Multivariate analysis
- Cluster variables: group correlated process variables
How variable clustering groups measurements that carry the same information, using correlation distance and linkage, with an extruder sensor example.
- Correspondence analysis: map a contingency table, with example
How correspondence analysis turns a table of counts, such as defect type by line, into a map of associations, and how to read inertia and coordinates.
- Cronbach's alpha: how to calculate and interpret it
What Cronbach's alpha measures, how to calculate it by hand, how to read item-total correlations and alpha if item deleted, with a worked survey example.
- Factor analysis with varimax rotation: a worked example
How factor analysis finds the hidden factors behind correlated variables, how varimax rotation makes them readable, and how to read loadings and communalities.
- Hierarchical cluster analysis of observations, with an example
How hierarchical clustering groups similar parts, lots or machines step by step, how linkage and distance choices work, and how to pick the number of clusters.
- Linear discriminant analysis: classify parts or lots, example
How linear discriminant analysis sorts observations into known groups, how to check it with cross-validation, and how to classify a new lot.
- Principal component analysis (PCA) explained, with an example
What principal components are, how PCA finds them from the correlation matrix, and how to read eigenvalues, loadings and scores, with a resin quality example.
Predictive analytics
- Automated model comparison: choosing a model by cross-validation
How to compare regression models, trees, forests and boosting fairly with k-fold cross-validation and test R², and how to pick the model you will actually use.
- Decision tree: how splits, impurity and pruning work
How a decision tree chooses its splits with Gini impurity, why it needs pruning, and how to read one, with a worked heat-seal example you can follow by hand.
- Gradient boosting: learning rate, trees and early stopping
How gradient boosting adds small trees one at a time to correct earlier errors, and how the learning rate and number of trees interact, with an example.
- Random forest: bagging, feature sampling and out-of-bag error
How a random forest averages decision trees grown on bootstrap samples with random subsets of inputs, how out-of-bag error works, and how to read importance.
Graphs
- 3D surface plot: picture a response over two factors
What a 3D surface plot shows, how it is built from a model or grid, a heat-sealing example with a long ridge, and why perspective can hide what matters.
- 3D wireframe plot: a mesh view of a surface
What a 3D wireframe plot shows, how the mesh is built from grid data, and a flatness example where the mesh reveals a twisted plate in a table of CMM heights.
- Bar chart: when to use one and how to read it right
How a bar chart compares counts or totals across categories, why bars must start at zero, counts versus rates, and a scrap example across five lines.
- Binned scatterplot: a scatterplot for thousands of points
How a binned scatterplot counts points in rectangular or hexagonal bins to beat overplotting, with an example of 2,400 bores against spindle temperature.
- Boxplot (box and whisker plot): how to make and read one
How a boxplot is built from quartiles, whiskers and the 1.5 × IQR outlier rule, with a worked example comparing seal strength across three shifts.
- Bubble plot: show three variables on one scatterplot
How a bubble plot adds a third variable as bubble size, why bubble area (not radius) must follow the data, and a maintenance example ranking presses.
- Contour plot: read a response surface from above
What a contour plot shows, how contour lines are drawn from a model or a grid, and a reactor yield example that finds the optimum and an operating window.
- Correlogram: a correlation matrix shown as a color grid
What a correlogram shows, how correlations are colored and ordered, which ones are significant, and a coating-line example with six variables and 30 runs.
- Distribution plot: draw a distribution and shade its areas
How a distribution plot draws a density curve and shades tail areas, with a fill-weight example and a comparison of the t and normal distributions.
- Dotplot: how to make and read a dot plot of your data
What a dotplot shows, how dots are stacked along a number line, a worked example with 25 cycle times, and when a dotplot beats a histogram.
- Graph builder: explore data by dragging variables into a graph
What an interactive graph builder does, how roles such as X, Y, group and panel work, and an exploration of coating thickness by line, shift and temperature.
- Heatmap: find patterns in a table of values by color
How a heatmap turns a table into colored cells, how to choose the color scale and order rows, and a reject-rate example by press and weekday that averages hide.
- Histogram: how to make one and choose the number of bins
What a histogram shows, how to choose bins with the Sturges, square-root and Freedman-Diaconis rules, a worked example, and how binning can mislead you.
- Individual value plot: show every data point by group
What an individual value plot shows, why it beats a boxplot or bar of means for small groups, and a worked example comparing bond strength from three suppliers.
- Interval plot: confidence intervals and error bars by group
How an interval plot draws t-based confidence intervals or standard error bars for each group's mean, with a hardness example and why overlap can mislead.
- Matrix plot: scatterplots of many variables at once
What a matrix plot (scatterplot matrix) shows, how its grid of panels is laid out, and a molding example that reveals a strong driver and two tangled inputs.
- Normal probability plot: how to make and read one
How a probability plot compares data with a distribution using plotting positions and a fitted line, with 12 tensile tests and the patterns to look for.
- Parallel coordinates plot: compare many variables per row
How a parallel coordinates plot draws each row as a line across one axis per variable, how scaling and axis order work, and a good-versus-bad batch example.
- Pie chart: when it works and when to use a bar chart instead
How a pie chart turns shares of a whole into slice angles, a scrap-cost example worked out slice by slice, and why pies with many slices mislead.
- Scatterplot: how to plot and read the relation of two variables
How a scatterplot shows the relationship between two variables, how to read direction, strength and curvature, and an example of feed rate versus roughness.
- Time series plot: chart data over time and spot trends
How a time series plot shows data in time order, how to read trends, shifts and cycles, and an example comparing weekly scrap on two lines after a change.
- Wafer plot: map measurements across a semiconductor wafer
What a wafer plot shows, how sites or dies are mapped onto the wafer, a 13-site film thickness example, and how to read radial and side-to-side patterns.
Data and calculations
- Calculator formulas: compute a new column from your data
How to use Calc › Calculator in StatLab to compute a column with a formula: deviations from nominal, out-of-tolerance flags, z-scores and dates.
- Export data to CSV or Excel without losing decimals or dates
How to export a StatLab worksheet to a CSV file or an Excel workbook, how decimals, dates and missing values are written, and which format to choose.
- Extract weekday, hour or week number from a date column
How to extract the year, month, weekday, ISO week, hour or the date alone from a date-time column in StatLab, with an example that finds when downtime happens.
- Import CSV and Excel data: delimiters, decimals and dates
How to import CSV, text and Excel files into StatLab, how it detects delimiters, decimal commas and date order, and how to check the preview before you import.
- Insert and delete rows and columns in a worksheet
How to insert and delete rows and columns in a StatLab worksheet without breaking rows apart, with a worked example of cleaning a measurement log.
- Make patterned data: sequences for experiments and gage studies
How to fill a column with a sequence in StatLab: steps, counting down and repeats, to lay out the runs of an experiment or a gage study.
- Numbers stored as text? Change a column's data type
How to fix a column of numbers that turned into text, and how to convert columns between numbers, text and dates in StatLab, including Excel day numbers.
- Probability distributions: PDF, CDF and inverse CDF explained
The PDF, CDF and inverse CDF of the normal, t, chi-square, F, binomial and Poisson distributions, with worked plant examples and the formulas to compute them.
- Project files: save, share and back up your work
How StatLab saves your data, results and notes as a .statlab project file, how to share it with a coworker, and why autosave is not a backup.
- Project reports: share results as PDF, HTML or Markdown
How to build a report of your StatLab project, choose what goes in it, and download it as PDF, a web page, Markdown or a ZIP with every graph and table.
- Random data: generate random samples for simulation
How random data are generated from a distribution, what a seed does for reproducibility, and examples: the inverse transform and a control chart simulation.
- Recipes: rerun analyses on new data, or have an AI build your project
How StatLab recipes keep the settings behind your results and run them again on new data, and how an AI assistant can interview you and hand you a whole project, ready for a report.
- Recode values: replace codes and group ranges into classes
How to recode values in StatLab: turn shift codes into names, group measurements into classes with ranges, label missing values, and avoid gaps between ranges.
- Sort data by one or more columns, keeping rows together
How to sort a worksheet in StatLab by one or more columns, ascending or descending, with text, dates and missing values, and keep rows together.
- Stack columns: turn wide data into one column with groups
How to stack columns in StatLab so that values from several columns sit in one column with a group column beside it, the layout most graphs and tests expect.
- Subset a worksheet: keep or delete rows by a condition
How to keep or delete rows that meet a condition in StatLab, such as one shift or one press, with formulas, missing values and undo.
- Super calculator: probabilities, critical values and quick stats
How to use the StatLab super calculator for quick answers: normal and t probabilities, critical values, column statistics, variables and ans.
- Unstack a column: split values into one column per group
How to unstack a column in StatLab into one column per group, using a column of group codes, with a worked example from a three-cavity mold.
Reference: formulas, constants and glossary
- Control chart constants: A₂, d₂, c₄, D₄ and more, n = 2 to 25
A table of the control chart constants A₂, A₃, c₄, B₃, B₄, d₂, d₃, D₃, D₄ and E₂ for subgroups of 2 to 25, what each one does and how it is calculated.
- Statistics formulas for SPC, capability and graphs
The formulas behind StatLab's results, from the mean and quartiles to control limits, Cp and Cpk, run chart tests, the chunky-data check and probability plots.
- Statistics glossary for engineers, in English and Spanish
The terms StatLab uses in its results, from Cpk and control limits to whiskers and plotting positions, each with its Spanish name and a plain definition.