Plackett–Burman screening design
doe_plackett_burman_design
Lists the runs of a Plackett-Burman screening design in 12, 20 or 24 runs.
- Runs
- On the server
- Level
- Checked against a reference: NIST/SEMATECH e-Handbook tables (published data) and a second implementation in Python
What it is
Returns the runs of a Plackett–Burman screening design in 12, 20 or 24 runs, coded and in natural units. Use when screening many two-level factors for main effects in few runs. Not for a design whose interactions you need to estimate or whose run count is a power of two: use `doe_factorial_design`. Refuses more factors than runs minus one; main effects are partially, and heavily, confounded with two-factor interactions (NIST 5.3.3.5). A measurement's unit is required, never assumed: any unit of the kit's table, returned in its canonical spelling; a unit group takes one unit, never converted.
Field: Statistics and design.
What it does
You give
runs(required): The run count: '12', '20' or '24' (NIST e-Handbook 5.3.3.5's designs).factors(required): The factors, assigned to the design's columns in order.centrePoints(required): Centre points after the design's runs (0 for none). Must be at least 0 and at most 20.
No request is recorded for this tool.
Limits
- Research statistics and experimental-design arithmetic on the data, margins, prevalence and settings you supply.
- Not for diagnosis or treatment decisions and not a regulatory analysis.
- It does not choose a design, a margin, a cut-off or a sample size for you.
- Designs are constructions from the factors, and any generators, you state.
- Only the factorial design offers a randomised run order: complete randomisation of every run from your seed, with no blocking.
- The other designs come in standard order only.
- A centre point is the arithmetic midpoint of the natural levels, not the geometric centre.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- fewer than 2 factors, or more than N − 1.
- two factors share a name.
- a factor's low equals its high.
- a factor's low is above its high; they are never swapped.
Every input, with its units3 inputs
runs(required): The run count: '12', '20' or '24' (NIST e-Handbook 5.3.3.5's designs).factors(required): The factors, assigned to the design's columns in order.centrePoints(required): Centre points after the design's runs (0 for none). Must be at least 0 and at most 20.
Every refusal, with its code4 refusals
| Code | When |
|---|---|
OUT_OF_RANGE | fewer than 2 factors, or more than N − 1. |
DUPLICATE_NAME | two factors share a name. |
LEVELS_EQUAL | a factor's low equals its high. |
LEVELS_NOT_ASCENDING | a factor's low is above its high; they are never swapped. |
The calculation
The method's equations, constants and worked example.
Equation 1
run 1: +1 on every column
run r (2 … N): the generating row g shifted cyclically right by r − 2, x_{r,j} = g[(j − (r − 2)) mod (N − 1)], with the column index j and the positions of g counted from 0 (j = 0 … N − 2)
factor i (1 … k) takes column j = i − 1, and the other N − 1 − k columns are unused (the reply's unusedColumns)
centre points, coded 0 on every column, follow the N runs (Drybench's convention
NIST 5.3.3.3.2 recommends centre points at the beginning, the middle and the end of the experiment, which this placement does not do: place them yourself when you run it), so runs = N + n_c, n_c from 0 to 20
more than 20 centre points is invalid input, code OUT_OF_RANGE, decided by the tool's input schema before the method. The generating rows (+ for +1, − for −1): N = 12: − + − + + + − − − + −
N = 24: − + + + + − + − + + − − + + − − + − + − − − −. Run numbers count from 1
list positions count from 0
point is 'factorial' or 'centre'
| Symbol | Meaning |
|---|---|
N | runs of the design before centre points |
k | factors |
g | the generating row for N, N − 1 signs |
x_{r,j} | coded value of run r in column j |
r | run number, counted from 1 |
j | column index, counted from 0 |
n_c | centre points |
Source 1.
Equation 2
natural = the stated low at coded −1 and the stated high at coded +1, exactly
otherwise (low + high)/2 + coded × (high − low)/2, in the factor's stated unit
centre points at coded 0, natural the midpoint
| Symbol | Meaning |
|---|---|
low | factor's stated low (in the caller's unit), as-given |
high | factor's stated high (in the caller's unit), as-given |
Source 1.
Equation 3
a call is checked in this order, and the first rule it meets answers: (1) the kit's schema and argument checks, all invalid input (an unknown or misspelt argument, a type, a unit, UNITS_DIFFER
more than 20 centre points OUT_OF_RANGE)
(2) DUPLICATE_NAME
(3) each factor in the order given: LEVELS_EQUAL, then LEVELS_NOT_ASCENDING
(4) refused: fewer than 2 factors or more than N − 1, OUT_OF_RANGE
| Symbol | Meaning |
|---|---|
k | factors |
| Constant | Value | From |
|---|---|---|
the generating rows for N = 12, 20 and 24 g | a table of values, part of the method | Source 1 |
Conventions
- runs = 12: The 12-run design (NIST Table 3.18): up to 11 factors, two levels each, main effects only.
- runs = 20: The 20-run design (NIST Table 3.19): up to 19 factors, two levels each, main effects only.
- runs = 24: The 24-run design (NIST Table 3.20): up to 23 factors, two levels each, main effects only.
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of doe-plackett-burman@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- runs = 12
- factors[0].name = X1
- factors[0].low = 10 g/L
- factors[0].high = 30 g/L
- factors[1].name = X2
- factors[1].low = 6.5
- factors[1].high = 7.5
- factors[2].name = X3
- factors[2].low = 25 degC
- factors[2].high = 37 degC
- factors[3].name = X4
- factors[3].low = 1 mM
- factors[3].high = 5 mM
- centrePoints = 3
Steps
- n-runs = 15, from runs, centrePoints; by equation 1; gives runs.
- centre-glucose = 20 g/L, from factors[0].low, factors[0].high; by equation 2; gives design[12].natural[0].
- centre-ph = 7, from factors[1].low, factors[1].high; by equation 2; gives design[12].natural[1].
The working, as the case writes it:
glucose 20 +- 10 g/L, pH 7 +- 0.5, temperature 31 +- 6 degC, feed 3 +- 2 mM
centre points at the midpoints
Answer
runs = 15
design[12].natural[0] = 20 g/L
design[12].natural[1] = 7
Where these values came from: our own exact-arithmetic script and a hand-worked case; worked by hand.
At build the tool returned this answer within the tolerance the file states: exact: coded and natural values (6.5, 7.5 and the other settings are exact in binary halves), counts, points and statuses.
Sources
NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?)
Used for: Plackett–Burman screening designs in 12, 20 or 24 runs, coded and in natural units. At: section 5.3.3.5, Tables 3.18 (12 runs), 3.19 (20) and 3.20 (24); the cyclic form checked against every printed row by the builder (10 November 2026) and by a separate agent (14 November 2026); section 5.3.3.3.2: low −1, high +1; section run 2 of Tables 3.18, 3.19 and 3.20.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
A published dataset, NIST/SEMATECH e-Handbook 5.3.3.5, page SHA-256 in nist_pb_sha256.txt; our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
Plackett and Burman 1946 is not read: other run counts (28 and above, from its generating rows) are not offered; the partial aliasing of main effects with two-factor interactions (NIST: “heavily confounded”) is stated, not computed; foldover; randomised run order; the choice of N and of which columns to use, which is the caller's.
Changes to its methods0 changes
No change is logged for these method versions.