# Statistical analysis and DOE

Run the same test twice and the results differ a little. Statistics tells you whether a difference between results is bigger than that run-to-run variation, and [design of experiments](https://dev.nominal.io/learning/reference/glossary.md#design-of-experiments-doe "A method for choosing test points in advance, so that the results separate the effect of each input, and of their interactions, from random variation.") (DOE) plans the test points so that the answer comes out clearly.

## Describing a set of results

Describe N repeated results by where they’re centered and how far they spread. The mean is the sum of the values divided by N.[[1]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-location) The [standard deviation](https://dev.nominal.io/learning/reference/glossary.md#standard-deviation "A measure of how far a set of values spreads around its mean. For a sample, it's the square root of the sum of the squared differences from the mean, divided by one less than the number of values.") measures the spread:[[2]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-scale)

```text
mean:                ȳ = (y₁ + y₂ + … + y_N) / N
standard deviation:  s = √( Σ (yᵢ − ȳ)² / (N − 1) )
```

These describe the sample, the results you have. They estimate the mean, μ, and standard deviation, σ, of the process that produced them, which are in general unknown. Dividing by N − 1 rather than N makes s² an unbiased estimate of σ².[[3]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-variables-charts)

The [confidence intervals](https://dev.nominal.io/learning/reference/glossary.md#confidence-interval "A range, computed from a sample, that contains the true value, such as a population mean, for a stated share of samples, such as 95%.") and t-tests below assume that the results come from one normal distribution, the symmetric bell curve, and are uncorrelated over time. They tolerate small departures from normality. Check with a histogram or a normal probability plot.[[4]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-assumptions) The outlier tests and capability indices assume normal data too.[[5]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-outliers)[[6]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-capability) In a normal distribution, 68.27% of values lie within 1σ of the mean, 95.45% within 2σ, and 99.73% within 3σ.[[7]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-normal) In data with extreme values in the tails, the median, the middle value, estimates the center better than the mean does.[[1]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-location)

The mean of N runs varies less than one run does. Its standard deviation, called the standard error of the mean, is s/√N.[[8]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l1) In the terms of the GUM, that’s a Type A evaluation of [uncertainty](https://dev.nominal.io/learning/reference/glossary.md#uncertainty "The range around a measurement within which the true value is expected to lie, given every known source of error."),[[9]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-tn1297-3) which you combine with the instrument’s own errors as in [Measurement quality](https://dev.nominal.io/learning/guides/measurement-quality.md#uncertainty).

### Outliers

An outlier is an observation that appears to deviate markedly from the others. If you can show it’s wrong, for example because the test wasn’t run correctly, delete or correct it. If you can’t, don’t delete it: it may be random variation, or a sign of something real. Use a method that outliers affect less instead.[[5]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-outliers) The median is one: extreme values don’t distort it, because it’s based on ranks.[[1]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-location)

On an e-axle [dyno](https://dev.nominal.io/learning/reference/glossary.md#dynamometer-dyno "A test stand that loads a motor or engine and records its speed and torque."), where a motor drives the e-axle under test and a load motor on each side brakes it, a test point recorded while a load motor was above 85 °C has a known cause. Its controller was reducing its current, so the data isn’t at the commanded load. Exclude it, and record why.

To find candidates, plot the data first. For one outlier in roughly normal data, NIST recommends Grubbs’ test. A z-score, the distance from the mean in standard deviations, can mislead in small samples, because it can’t exceed (N − 1)/√N.[[5]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-outliers) With 10 values, that’s 2.85, so a rule that flags values beyond 3 standard deviations never fires.

## Is a difference real?

### Confidence intervals

A confidence interval gives a range for the population mean instead of a single number:[[10]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-ci)

```text
ȳ ± t × s / √N
```

Here t is the 100(1 − α/2) percentile of the t distribution with N − 1 degrees of freedom, and α = 0.05 gives a 95% interval. The interval narrows as N grows and widens as s grows. A 95% interval doesn’t mean a 95% chance that the true mean is inside it. It means that over many samples, about 95% of the intervals computed this way contain the true mean.[[10]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-ci)

Suppose you hold one dyno test point in five separate runs, and the DUT’s mean input power in each run is 61.2, 62.0, 60.8, 61.5 and 62.5 W. The mean is 61.6 W and s is 0.67 W. With t = 2.776 for 4 degrees of freedom, the 95% interval is 61.6 ± 0.8 W.

Each of those values is one run’s mean. The roughly 160 readings in a 10 s hold, at about 16 a second, are repeated measurements of one test point, not independent replicates, so average them into one value per run.[[11]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l5) Measurements made close together in time are often correlated.[[4]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-assumptions)

### Comparing two configurations

To decide whether two configurations differ, test the hypothesis that their population means are equal with a two-sample t-test:[[12]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-t-test)

```text
T = (ȳ₁ − ȳ₂) / √( s₁²/N₁ + s₂²/N₂ )
```

Reject the hypothesis if |T| is larger than t at 1 − α/2 with ν degrees of freedom. The Welch–Satterthwaite formula for ν holds up when the two samples have unequal sizes or unequal variances. If each value in one sample pairs with one in the other, such as the same unit tested in both configurations, test the differences between the pairs instead.[[12]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-t-test)

Suppose a second configuration gives 60.1, 59.6, 60.9, 60.3 and 59.8 W at the same test point: a mean of 60.14 W, with s of 0.50 W. The difference is 1.46 W, T = 3.91 and ν = 7.4. The critical value at α = 0.05 is 2.34, so the difference is significant at the 0.05 level. The 95% confidence interval for the difference, 0.59 to 2.33 W, also says how big it might be.[[13]](https://dev.nominal.io/learning/guides/statistical-analysis.md#scipy-ttest)

### Statistical and practical significance

A p-value, or statistical significance, doesn’t measure the size of an effect or the importance of a result. With enough samples or precise enough measurements, any effect, however tiny, gives a small p-value.[[14]](https://dev.nominal.io/learning/guides/statistical-analysis.md#asa-pvalues) Decide before the test how big a difference has to be to matter, from the requirement or the design margin, and judge the confidence interval against it.

On the dyno, compare configurations on the same stand. The dyno’s manual puts absolute torque at ±5%, but repeat measurements at the same brake current agreed within 1.5%, and comparisons depend on that relative accuracy.

### How many runs you need

The number of runs depends on α, the risk of declaring a difference that isn’t there, and β, the risk of missing a difference of size δ. It also depends on σ, for which you use the best estimate available, such as one from an earlier test. With σ known, the minimum is:[[15]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-sample-size)

```text
N = (z₁₋α/₂ + z₁₋β)² × (σ / δ)²
```

NIST’s table for a two-sided test of one mean, at α = 0.05:[[15]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-sample-size)

| β | Runs for δ = 0.5σ | Runs for δ = 1.0σ | Runs for δ = 1.5σ |
| --- | --- | --- | --- |
| 0.05 | 53 | 13 | 6 |
| 0.10 | 43 | 11 | 5 |
| 0.20 | 33 | 8 | 4 |

N grows with (σ/δ)², so halving the difference you need to detect roughly quadruples the runs.

## Variation over time and across units

### Control charts

Statistical process control compares what a process does now with what it did before.[[16]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-spc) A [control chart](https://dev.nominal.io/learning/reference/glossary.md#control-chart "A plot of a measured characteristic against time or sample number, with a center line at the in-control mean and limits three standard deviations either side. A point outside the limits, or a pattern inside them, means the process has changed.") plots one measured characteristic against sample number or time. A center line marks the in-control mean, with an upper and a lower control limit either side.[[17]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-control-charts) Shewhart’s limits sit k standard deviations from the center line, and k = 3 is the accepted standard in industry.[[3]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-variables-charts) For a normal process, a point falls outside ±3σ by chance 0.27% of the time, so a point outside the limits warrants a search for its cause.[[17]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-control-charts)

A [production test](https://dev.nominal.io/learning/reference/glossary.md#production-testing "Testing every unit built, to catch the ones built wrong.") gives one value per unit, so use an individuals chart. It estimates σ from the average moving range, MR̄, the mean absolute difference between consecutive values:[[18]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-individuals)

```text
UCL = x̄ + 3 × MR̄ / 1.128
LCL = x̄ − 3 × MR̄ / 1.128
```

Points inside the limits must also form a random pattern.[[17]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-control-charts) The Western Electric (WECO) rules flag patterns about as rare as a point beyond 3σ: two of the last three points beyond 2σ on one side, four of the last five beyond 1σ on one side, or eight in a row on one side of the center line. A trend rule adds six points in a row rising or falling. The extra rules cost false alarms. An in-control process gives one false alarm every 371 points on average with the 3σ rule alone, and about one every 92 with the WECO rules added.[[3]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-variables-charts)

Compute the first limits from past data, investigate the points outside them, and recompute. NIST calls that Phase I, and monitoring against the resulting limits Phase II.[[16]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-spc) After that, change the limits only for a compelling reason, such as 30 more points with no process change, or a major change to the process.[[3]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-variables-charts)

Control limits aren’t test limits. Control limits show whether the process is consistent, and specification limits show whether the product will work.[[3]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-variables-charts) In control only means predictable: the process can still be off target or too variable.[[19]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-in-control)

### Process capability

[Process capability](https://dev.nominal.io/learning/reference/glossary.md#process-capability "How well an in-control process fits inside its specification limits. Cp compares the limits' width with six standard deviations, and Cpk also accounts for a mean that's off center.") compares the spread of an in-control process with its specification limits, which for a production test are its test [limits](https://dev.nominal.io/learning/reference/glossary.md#limit "A value a measurement must stay above or below. A test limit decides pass or fail. An alarm limit causes an alarm, which asks an operator to act. A protection limit causes a trip, which protects the equipment."):[[6]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-capability)

```text
Cp  = (USL − LSL) / 6σ
Cpk = min[ (USL − μ) / 3σ, (μ − LSL) / 3σ ]
```

Cp compares widths only. Cpk also accounts for a mean that’s off center, and is never larger than Cp. With only an upper limit, use Cpu = (USL − μ) / 3σ. The indices assume normal data, and need about 50 independent values. For a centered process, a Cp of 1.00 means 0.27% rejects, and a Cp of 1.33 means 64 parts per million.[[6]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-capability)

### Measurement system analysis

Every unit’s result includes the measurement’s own variation. Check the gauges before you rely on them.[[20]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-steps) A [gauge R&R](https://dev.nominal.io/learning/reference/glossary.md#gauge-rr "A study that measures the same items repeatedly, to split a measurement's variation into repeatability, over a short time, and reproducibility, such as from day to day.") study measures the same items repeatedly: over a short time for repeatability, the gauge’s short-term [precision](https://dev.nominal.io/learning/reference/glossary.md#precision "How close repeated measurements of the same value are to each other."), and over days for reproducibility.[[21]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-grr) On a production stand, testing a [golden unit](https://dev.nominal.io/learning/reference/glossary.md#golden-unit "A unit known to be good, kept as a reference to develop and check production tests.") several times a day, over several days, gives you that data. For accuracy and uncertainty, see [Measurement quality](https://dev.nominal.io/learning/guides/measurement-quality.md).

## Design of experiments

[Test design](https://dev.nominal.io/learning/guides/test-design.md#design-of-experiments) introduces DOE, and describes the dyno’s sequence as a full factorial of 15 test points.

### Factors, levels and responses

In an experiment, you change one or more inputs, called factors, to see the effect on one or more outputs, called responses.[[22]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-what) Each factor takes a few settings, called levels. Each combination of levels is a test point, which DOE texts call a treatment combination or a run.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

Choose levels boldly, but not foolishly, and check that every combination is feasible. Record every relevant response, and measure the quantities a ratio combines, not only the ratio:[[24]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-variables) on the dyno, log absorbed power and input power, not only efficiency. Factors you can’t control, such as ambient temperature, can still affect the response, so measure them and use them in the analysis.[[22]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-what)[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

### Why one factor at a time misses interactions

An [interaction](https://dev.nominal.io/learning/reference/glossary.md#interaction "In design of experiments, when the effect of one factor on a response depends on the level of another factor.") occurs when the effect of one factor depends on the level of another.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary) Varying one factor at a time, with the others held fixed, is a very inefficient way to learn.[[8]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l1) Two one-factor experiments give neither the precision of a factorial design nor the ability to test for interactions.[[11]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l5)

To see an interaction, plot the response against one factor, with a line for each level of the other. Parallel lines mean no interaction, and a plot of main effects alone can hide one.[[25]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l6)

### Full factorial designs

A full factorial runs every combination of every factor’s levels. With k factors at two levels each, that’s 2^k test points: 8 for 3 factors, 32 for 5 and 128 for 7. For 5 or more factors, NIST recommends a fractional factorial instead.[[26]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-full-factorial)

Two-level designs code each factor’s low and high levels as −1 and +1.[[24]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-variables) A factor’s main effect is the average response at its high level minus the average at its low level.[[27]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-half-fraction) Once the data is in, test each effect to see whether it’s significantly different from 0.[[22]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-what)

### Fractional factorials and aliasing

A fractional factorial runs a chosen fraction, such as a half or a quarter, of a full factorial’s test points.[[28]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-fractional) The price is aliasing. In DOE, two effects are aliased, or confounded, when one estimate includes both.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary) This is a different sense from aliasing in sampling, which [Measurement quality](https://dev.nominal.io/learning/guides/measurement-quality.md#sample-rate-and-aliasing) covers.

To make a half fraction of a three-factor design, run all four combinations of X1 and X2, and set X3 to X1 × X2 in each. That’s 4 test points instead of 8, but X3’s column is now the X1 × X2 interaction’s column, so the estimate of X3’s main effect is X3’s effect plus the interaction. The design works only if that interaction is small, which NIST calls the sparsity of effects assumption.[[29]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-confounding)

A design’s resolution says how badly it aliases effects:[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)[[30]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-resolution)

| Resolution | Main effects are aliased with | Use |
| --- | --- | --- |
| III | Two-factor interactions | Economical screening |
| IV | Three-factor interactions, while some two-factor interactions are aliased with each other | May be adequate |
| V | Four-factor interactions | Excellent for most purposes |

A full factorial has no aliasing.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

### Randomization, replication and blocking

Randomization, replication and blocking are the basic principles of DOE.[[8]](https://dev.nominal.io/learning/guides/statistical-analysis.md#psu-503-l1)

- **Randomization** runs the test points in an order where one test point’s conditions neither depend on the previous one’s nor predict the next one’s. It’s necessary for the conclusions to be correct and defensible.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)
- **Replication** runs the same test point more than once. It estimates the random error separately from lack of fit, the error from terms the model leaves out.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)
- **Blocking** groups test points so that a nuisance factor, such as the operator or the time of day, is held constant within each group, and its effect stays out of the comparison between levels.[[31]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-rbd) It restricts randomization.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

NIST’s rule is “Block what you can, randomize what you cannot.”[[31]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-rbd) Watch for drifts during the test, and keep all the raw data, not only the averages.[[20]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-steps)

### Response surface designs

A two-level design assumes each effect is a straight line. Adding center points can detect curvature but can’t fit it, and fitting it needs at least three levels of each factor. Response surface designs fit a quadratic model, which adds a squared term for each factor to the main effects and interactions.[[32]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-rsm) A central composite design starts from a factorial or fractional factorial with center points, and adds two star points per factor to estimate curvature.[[33]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-ccd) These designs work best with fewer than 5 factors.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

## Statistics in Nominal

Record each replicate as its own [run](https://dev.nominal.io/learning/reference/glossary.md#run "In general, one execution of a test. In Nominal, a run is a named period of time on one or more assets, such as a test, a flight or a race session."), so that you can compare replicates run by run. A comparison workbook computes a statistic, such as each run’s maximum, or a channel’s mean and standard deviation, across many runs or assets. Its **Filter by ranges** setting picks the part of each run to compare, for example where a channel is above a threshold.[[34]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nominal-post-test)

For a t-test in code, pull each run’s data into a pandas DataFrame with `datasource_to_dataframe`,[[34]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nominal-post-test) and take one mean per run. Pass the two configurations’ means to SciPy’s `ttest_ind` with `equal_var=False` for Welch’s t-test. Its result’s `confidence_interval` gives the interval for the difference.[[13]](https://dev.nominal.io/learning/guides/statistical-analysis.md#scipy-ttest)

## Worked example: planning the dyno’s speed and load test

The dyno’s sequence holds 15 test points: DUT speeds from 500 to 1,500 RPM in 250 RPM steps, at each of three loads, 0.25, 0.75 and 1.25 Nm on each load motor. It dwells 10 s at each. Before the [sweep](https://dev.nominal.io/learning/reference/glossary.md#sweep "Running a test across a range of one input, such as speed, in steps or continuously, and recording the response at each point."), a warm-up runs until the DUT reaches 35 °C. After it, a cool-down runs until every motor is at or below 35 °C. Each gives up after 180 s.

### Run order

The sequence always runs the points in the same order: all five speeds at 0.25 Nm, then at 0.75 Nm, then at 1.25 Nm. The load motors’ windings heat through the sweep, so the highest load always runs when they’re hottest. Any effect of winding temperature on a response then shows up as an effect of load.

On this stand, temperature does affect the responses. The dyno calculates torque from current, using a flux linkage measured cold. As the magnets warm, the flux linkage falls, so hot readings of torque, absorbed power and efficiency come out slightly high. Above 85 °C, the controllers reduce their current without reporting it, and the result looks like a real efficiency change.

To break the link, randomize the order within each replicate, so that no test point’s conditions depend on the one before.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary) The sequence can’t shuffle its points, so a randomized design needs a script that commands them in your order:

```python
import itertools
import random

speeds = [500, 750, 1000, 1250, 1500]  # DUT speed, RPM
loads = [0.25, 0.75, 1.25]  # torque on each load motor, Nm
points = list(itertools.product(speeds, loads))

for block in range(1, 4):
    order = random.sample(points, k=len(points))  # a new order for each block
    for speed, load in order:
        print(f"block {block}: {speed} RPM at {load} Nm")  # save this with the run's data
```

### Blocks and replicates

Make each replicate a block that starts from the same thermal state. The warm-up already brings the DUT up to 35 °C. For the load motors, start each block only once every motor is at or below 35 °C, and record each block’s starting temperatures, because the cool-down moves on after 180 s whether or not it got there. Record each load motor’s winding temperature at every test point too, so you can use it in the analysis.[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary)

Three blocks give 45 test points, with 450 s of dwell plus the ramps between them. The replicates estimate the run-to-run variation at each test point,[[23]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-glossary) which tells you whether a difference between test points is bigger than chance.

### Thermal limits

At 1.25 Nm, each load motor carries about 1.25 / 0.19 ≈ 6.6 A, using its torque constant of 0.19 Nm/A. The manual scales heating with the square of the current from a measured 2.8 °C a minute at 10 A, which gives about 1.2 °C a minute. At 10 A, the manual recommends at most 15 minutes of continuous running, and a block’s 15 points take a few minutes at under half that heating rate, so a block fits.

Add a load near the load motors’ 20 A limit, 3.8 Nm, and the manual’s estimate rises to 11 °C a minute, with at most 4 minutes continuous and a 20 minute cool-down. A random order could then put several high-load points in a row. Check the worst case against 85 °C before you run it, and if it’s too hot, use smaller blocks that each start cool.

### Main effects and interactions

Suppose the four corner test points of one block give these mean DUT input powers, in watts:

| Load | 500 RPM | 1,500 RPM |
| --- | --- | --- |
| 0.25 Nm | 40.0 | 110.0 |
| 1.25 Nm | 55.0 | 155.0 |

Speed’s main effect is the average at 1,500 RPM minus the average at 500 RPM: 132.5 − 47.5 = 85.0 W. Load’s is 105.0 − 75.0 = 30.0 W. But load adds 15.0 W at 500 RPM and 45.0 W at 1,500 RPM. The effect of load depends on speed, which is an interaction, and a plot against load would show two lines that aren’t parallel. Some of it is expected: the dyno’s manual calculates absorbed power as torque times angular speed, so the same load absorbs three times the power at three times the speed.

Five speeds and three loads also let you fit curvature in both factors, which two levels can’t.[[32]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-rsm) Use the replicates to test whether each effect and interaction is significantly different from 0.[[22]](https://dev.nominal.io/learning/guides/statistical-analysis.md#nist-doe-what)

## Further reading

- NIST/SEMATECH, [e-Handbook of Statistical Methods](https://www.itl.nist.gov/div898/handbook/): chapter 5 for DOE, chapter 6 for control charts and capability, and chapter 7 for comparing processes.
- Penn State, [STAT 503: Design of Experiments](https://online.stat.psu.edu/stat503/), open course notes from factorial designs to response surfaces.
- R. L. Wasserstein and N. A. Lazar, [The ASA Statement on p-Values: Context, Process, and Purpose](https://doi.org/10.1080/00031305.2016.1154108), on what a p-value does and doesn’t tell you.

## References

---

[1]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id1),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id8),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id12))

NIST/SEMATECH, [“Measures of Location”](https://www.itl.nist.gov/div898/handbook/eda/section3/eda351.htm), e-Handbook of Statistical Methods, section 1.3.5.1. Retrieved 2026-11-24.

[[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id2)]

NIST/SEMATECH, [“Measures of Scale”](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm), e-Handbook of Statistical Methods, section 1.3.5.6. Retrieved 2026-11-24.

[3]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id3),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id26),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id30),[4](https://dev.nominal.io/learning/guides/statistical-analysis.md#id32),[5](https://dev.nominal.io/learning/guides/statistical-analysis.md#id33))

NIST/SEMATECH, [“What are Variables Control Charts?”](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc32.htm), e-Handbook of Statistical Methods, section 6.3.2. Retrieved 2026-11-24.

[4]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id4),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id17))

NIST/SEMATECH, [“What assumptions are typically made?”](https://www.itl.nist.gov/div898/handbook/prc/section1/prc12.htm), e-Handbook of Statistical Methods, section 7.1.2. Retrieved 2026-11-24.

[5]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id5),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id11),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id13))

NIST/SEMATECH, [“Detection of Outliers”](https://www.itl.nist.gov/div898/handbook/eda/section3/eda35h.htm), e-Handbook of Statistical Methods, section 1.3.5.17. Retrieved 2026-11-24.

[6]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id6),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id35),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id36))

NIST/SEMATECH, [“What is Process Capability?”](https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm), e-Handbook of Statistical Methods, section 6.1.6. Retrieved 2026-11-24.

[[7](https://dev.nominal.io/learning/guides/statistical-analysis.md#id7)]

NIST/SEMATECH, [“What do we mean by ‘Normal’ data?”](https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc51.htm), e-Handbook of Statistical Methods, section 6.5.1. Retrieved 2026-11-24.

[8]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id9),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id45),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id58))

Penn State Department of Statistics, [“Introduction to Design of Experiments”](https://online.stat.psu.edu/stat503/Lesson01.html), STAT 503 lesson 1, section 1.2. Retrieved 2026-11-24.

[[9](https://dev.nominal.io/learning/guides/statistical-analysis.md#id10)]

B. N. Taylor and C. E. Kuyatt, [“Type A evaluation of standard uncertainty”](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-3-type-evaluation-standard-uncertainty), section 3 of NIST Technical Note 1297, 1994. Retrieved 2026-11-24.

[10]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id14),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id15))

NIST/SEMATECH, [“Confidence Limits for the Mean”](https://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm), e-Handbook of Statistical Methods, section 1.3.5.2. Retrieved 2026-11-24.

[11]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id16),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id46))

Penn State Department of Statistics, [“Introduction to Factorial Designs”](https://online.stat.psu.edu/stat503/Lesson05.html), STAT 503 lesson 5. Retrieved 2026-11-24.

[12]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id18),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id19))

NIST/SEMATECH, [“Two-Sample t-Test for Equal Means”](https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm), e-Handbook of Statistical Methods, section 1.3.5.3. Retrieved 2026-11-24.

[13]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id20),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id70))

SciPy, [“scipy.stats.ttest_ind”](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_ind.html), SciPy 1.18.0 documentation. Retrieved 2026-11-24.

[[14](https://dev.nominal.io/learning/guides/statistical-analysis.md#id21)]

R. L. Wasserstein and N. A. Lazar, [“The ASA Statement on p-Values: Context, Process, and Purpose”](https://doi.org/10.1080/00031305.2016.1154108), *The American Statistician* 70(2), 129–133, 2016, principle 5. Retrieved 2026-11-24.

[15]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id22),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id23))

NIST/SEMATECH, [“Sample sizes required”](https://www.itl.nist.gov/div898/handbook/prc/section2/prc222.htm), e-Handbook of Statistical Methods, section 7.2.2.2. Retrieved 2026-11-24.

[16]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id24),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id31))

NIST/SEMATECH, [“What are Process Control Techniques?”](https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc12.htm), e-Handbook of Statistical Methods, section 6.1.2. Retrieved 2026-11-24.

[17]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id25),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id27),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id29))

NIST/SEMATECH, [“What are Control Charts?”](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc31.htm), e-Handbook of Statistical Methods, section 6.3.1. Retrieved 2026-11-24.

[[18](https://dev.nominal.io/learning/guides/statistical-analysis.md#id28)]

NIST/SEMATECH, [“Individuals Control Charts”](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc322.htm), e-Handbook of Statistical Methods, section 6.3.2.2. Retrieved 2026-11-24.

[[19](https://dev.nominal.io/learning/guides/statistical-analysis.md#id34)]

NIST/SEMATECH, [“What to do if ‘In Control’ but Unacceptable?”](https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc15.htm), e-Handbook of Statistical Methods, section 6.1.5. Retrieved 2026-11-24.

[20]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id37),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id64))

NIST/SEMATECH, [“What are the steps of DOE?”](https://www.itl.nist.gov/div898/handbook/pri/section1/pri13.htm), e-Handbook of Statistical Methods, section 5.1.3. Retrieved 2026-11-24.

[[21](https://dev.nominal.io/learning/guides/statistical-analysis.md#id38)]

NIST/SEMATECH, [“Analysis of variability”](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc44.htm), e-Handbook of Statistical Methods, section 2.4.4. Retrieved 2026-11-24.

[22]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id39),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id42),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id51),[4](https://dev.nominal.io/learning/guides/statistical-analysis.md#id75))

NIST/SEMATECH, [“What is experimental design?”](https://www.itl.nist.gov/div898/handbook/pri/section1/pri11.htm), e-Handbook of Statistical Methods, section 5.1.1. Retrieved 2026-11-24.

[23]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id40),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id43),[3](https://dev.nominal.io/learning/guides/statistical-analysis.md#id44),[4](https://dev.nominal.io/learning/guides/statistical-analysis.md#id53),[5](https://dev.nominal.io/learning/guides/statistical-analysis.md#id55),[6](https://dev.nominal.io/learning/guides/statistical-analysis.md#id57),[7](https://dev.nominal.io/learning/guides/statistical-analysis.md#id59),[8](https://dev.nominal.io/learning/guides/statistical-analysis.md#id60),[9](https://dev.nominal.io/learning/guides/statistical-analysis.md#id62),[10](https://dev.nominal.io/learning/guides/statistical-analysis.md#id67),[11](https://dev.nominal.io/learning/guides/statistical-analysis.md#id71),[12](https://dev.nominal.io/learning/guides/statistical-analysis.md#id72),[13](https://dev.nominal.io/learning/guides/statistical-analysis.md#id73))

NIST/SEMATECH, [“A Glossary of DOE Terminology”](https://www.itl.nist.gov/div898/handbook/pri/section7/pri7.htm), e-Handbook of Statistical Methods, section 5.7. Retrieved 2026-11-24.

[24]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id41),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id49))

NIST/SEMATECH, [“How do you select and scale the process variables?”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri32.htm), e-Handbook of Statistical Methods, section 5.3.2. Retrieved 2026-11-24.

[[25](https://dev.nominal.io/learning/guides/statistical-analysis.md#id47)]

Penn State Department of Statistics, [“The 2^k Factorial Design”](https://online.stat.psu.edu/stat503/Lesson06.html), STAT 503 lesson 6. Retrieved 2026-11-24.

[[26](https://dev.nominal.io/learning/guides/statistical-analysis.md#id48)]

NIST/SEMATECH, [“Full factorial designs”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri333.htm), e-Handbook of Statistical Methods, section 5.3.3.3. Retrieved 2026-11-24.

[[27](https://dev.nominal.io/learning/guides/statistical-analysis.md#id50)]

NIST/SEMATECH, [“A 2^(3-1) design (half of a 2^3)”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri3341.htm), e-Handbook of Statistical Methods, section 5.3.3.4.1. Retrieved 2026-11-24.

[[28](https://dev.nominal.io/learning/guides/statistical-analysis.md#id52)]

NIST/SEMATECH, [“Fractional factorial designs”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri334.htm), e-Handbook of Statistical Methods, section 5.3.3.4. Retrieved 2026-11-24.

[[29](https://dev.nominal.io/learning/guides/statistical-analysis.md#id54)]

NIST/SEMATECH, [“Confounding (also called aliasing)”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri3343.htm), e-Handbook of Statistical Methods, section 5.3.3.4.3. Retrieved 2026-11-24.

[[30](https://dev.nominal.io/learning/guides/statistical-analysis.md#id56)]

NIST/SEMATECH, [“Fractional factorial design specifications and design resolution”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri3344.htm), e-Handbook of Statistical Methods, section 5.3.3.4.4. Retrieved 2026-11-24.

[31]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id61),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id63))

NIST/SEMATECH, [“Randomized block designs”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri332.htm), e-Handbook of Statistical Methods, section 5.3.3.2. Retrieved 2026-11-24.

[32]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id65),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id74))

NIST/SEMATECH, [“Response surface designs”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri336.htm), e-Handbook of Statistical Methods, section 5.3.3.6. Retrieved 2026-11-24.

[[33](https://dev.nominal.io/learning/guides/statistical-analysis.md#id66)]

NIST/SEMATECH, [“Central Composite Designs (CCD)”](https://www.itl.nist.gov/div898/handbook/pri/section3/pri3361.htm), e-Handbook of Statistical Methods, section 5.3.3.6.1. Retrieved 2026-11-24.

[34]
([1](https://dev.nominal.io/learning/guides/statistical-analysis.md#id68),[2](https://dev.nominal.io/learning/guides/statistical-analysis.md#id69))

Nominal, [“Post-test analysis”](https://dev.nominal.io/platform/data-model/paradigms/stories/post-test.md). Retrieved 2026-11-24.
