Central composite designs (circumscribed, inscribed, face-centred) in coded and natural units, version 1.1.0
doe-central-composite@1.1.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.
What this page can and cannot show
Level: Checked against a reference; NIST tables as printed, one misprinted run excluded; other designs against pyDOE3 alone, no second source. Reference kind: an outside program, pyDOE3, 1.6.2; a published dataset, NIST/SEMATECH e-Handbook 5.3.3.6; pyDOE3, e-Handbook as read 10 November 2026; pyDOE3 1.6.2; our own exact-arithmetic script and a hand-worked case.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Every version of this method · Every method · What the levels mean
Version 1.1.0
Level: Checked against a reference; NIST tables as printed, one misprinted run excluded; other designs against pyDOE3 alone, no second source. Reference kind: an outside program, pyDOE3, 1.6.2; a published dataset, NIST/SEMATECH e-Handbook 5.3.3.6; pyDOE3, e-Handbook as read 10 November 2026; pyDOE3 1.6.2; our own exact-arithmetic script and a hand-worked case. doe-central-composite@1.1.0
Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.
Verification statement: α against NIST e-Handbook 5.3.3.6.1 Table 3.23 at printed precision; run counts against Table 3.28 as counting checks; the three-factor circumscribed and face-centred designs against Tables 3.24 to 3.26 as printed, and the inscribed design against Table 3.25 except its misprinted run 7; every other full matrix against pyDOE3 1.6.2 alone; the stated α, refusals and the limit flag by hand
The runs of a central composite design: a full or stated resolution-V-or-higher two-level factorial part from the factorial engine, 2k axial points at ±α on each axis, and the stated centre points, coded and in natural units, with α by a stated rule and the quadratic model's term count.
- How results are reported: none: coded and natural values as exact as double precision allows
- Uncertainty: A design has no uncertainty: it is a construction.
- Computes through this project's own routines: the rounding bound 2·n·ε·M for a natural value against a physical limit
- Reference, as its record states it: NIST/SEMATECH e-Handbook tables (published data) and pyDOE3 1.6.2
- Computes through:
doe-factorial@1.1.1 - Level confirmed by this project's ruling of 14 November 2026
What this page can and cannot show
What was checked
239 cases in 5 files, linked by this exact version.
Run through the tool at build against an outside program, pyDOE3, 1.6.2; a published dataset, NIST/SEMATECH e-Handbook 5.3.3.6; pyDOE3, e-Handbook as read 10 November 2026; pyDOE3 1.6.2; our own exact-arithmetic script and a hand-worked case: 183 agree within the tolerance the file states, 56 refuse as the case expects, 0 differ, 0 were not run.
File 1, 8 cases
- Where the expected values came from: an outside program, pyDOE3 1.6.2
- Recorded on: 2026-11-10
- Reference: pyDOE3, 1.6.2; licence BSD-3-Clause
- Tolerance as the file states it: coded and natural values 1e-12 absolute (each factor's half-range at most 20); alpha 1e-12 absolute; counts, points, statuses and codes exact
File 2, 10 cases
- Where the expected values came from: a published dataset, NIST/SEMATECH e-Handbook 5.3.3.6; pyDOE3 e-Handbook as read 10 November 2026; pyDOE3 1.6.2
- Recorded on: 2026-11-10
- Reference: NIST/SEMATECH e-Handbook 5.3.3.6; pyDOE3, e-Handbook as read 10 November 2026; pyDOE3 1.6.2; licence To be checked
- Tolerance as the file states it: NIST's printed alpha absolute 0.0005 (half a unit of three decimals); every coded and natural value absolute 0.005 (the printed alpha's 0.0005 times a half-range up to 10, on the axial values); counts, points, statuses and codes exact; the printed-table case states its own
File 3, 21 cases
- Where the expected values came from: our own exact-arithmetic script and a hand-worked case
- Recorded on: 2026-11-10
- Reference: exact arithmetic, 3.13.18; licence PSF-2.0
- Tolerance as the file states it: coded and natural values 1e-12 absolute (each factor's half-range at most 20); alpha 1e-12 absolute; counts, points, statuses and codes exact
File 4, 68 cases
- Where the expected values came from: our own exact-arithmetic script and a hand-worked case
- Recorded on: 2026-11-14
- Reference: second implementation (Python 3.13; mpmath and Python fractions), 2026-11-14; licence BSD-3-Clause
- Tolerance as the file states it: coded and natural values 1e-12 absolute; alpha 1e-12 absolute; counts, points, flags, statuses and codes exact
File 5, 132 cases
- Where the expected values came from: our own exact-arithmetic script and a hand-worked case
- Recorded on: 2026-11-14
- Reference: second implementation by a fresh agent (Python 3.13; mpmath and Python fractions), 2026-11-14; licence BSD-3-Clause
- Tolerance as the file states it: coded and natural values 1e-12 absolute; alpha 1e-12 absolute; counts, points, flags, statuses and codes exact; the cases sum-overflow-face and span-overflow-inscribed state their own (natural values relative 1e-15)
Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.
What was not checked
The orthogonal-blocking α (no source read); a stated α below 1; blocking; randomised run order; NIST Table 3.25's inscribed run 7 (misprinted 12 12 18 for 12 18 18; not asserted, taken from pyDOE3 in that case); the choice of α, variant, centre points and generators, which is the caller's.
Definition or model
A closed form: the result follows from the inputs by the equations alone.
Equations
Equation 1
runs = F + 2k + n_c, in this order: the F factorial runs (±1, standard order, from the factorial engine
F = 2^k full or 2^(k − p) for a fraction), point 'factorial'
then the 2k axial runs factor by factor, −α before +α on that factor and 0 on the others, point 'axial'
then the n_c centre runs, all 0, point 'centre'. Run numbers count from 1
list positions and flag paths (result.design[i].natural[j]) count from 0, so run r is at position r − 1
| Symbol | Meaning and unit |
|---|---|
| F | factorial runs: 2^k, or 2^(k − p) for a fraction |
| p | generators of the fractional factorial part |
| k | factors |
| n_c | centre points |
Source: NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?), section 5.3.3.6.1: an embedded factorial or fractional factorial with centre points, augmented with 2k star points, the online e-Handbook as served on the read date (page bytes pinned); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning b3bc007b85ec. Free to read (US Government work, not subject to copyright in the United States), checked 2026-11-11. No erratum found (searched the e-Handbook pages read: no errata notice or revision note on them), 2026-11-11.
Equation 2
α = F^(1/4)
for a full factorial α = (2^k)^(1/4). Computed as Math.pow(F, 0.25) in double precision (ECMAScript
V8 in Node 22), not as the correctly rounded fourth root and not as sqrt(sqrt(F)): for F = 4, 8, 64 and 128 it sits one unit in the last place from the correctly rounded root (F = 4: 1.414213562373095, where √2 rounds to 1.4142135623730951)
for F = 16, 32 and 256 it is the correctly rounded root
| Symbol | Meaning and unit |
|---|---|
| α | axial distance, coded units |
Source: NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?), section 5.3.3.6.1, α for rotatability; Table 3.23, the online e-Handbook as served on the read date (page bytes pinned); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning b3bc007b85ec. Free to read (US Government work, not subject to copyright in the United States), checked 2026-11-11. No erratum found (searched the e-Handbook pages read: no errata notice or revision note on them), 2026-11-11.
Equation 3
the inscribed coded values are computed as each circumscribed coded value times s, s = 1/α rounded to double, each product rounded once: factorial ±s, axial ±α·s (exactly ±1 for every rotatable α of this version and whenever that product rounds to 1), and the natural value takes the stated low or high exactly only where the coded value is exactly ±1
circumscribed: factorial ±1, axial ±α
inscribed: the circumscribed design divided by α (axial at ±1, factorial ±1/α)
face-centred: α = 1
| Symbol | Meaning and unit |
|---|---|
| α | axial distance, coded units |
Source: NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?), section 5.3.3.6.1, Table 3.22 (CCC, CCI, CCF), the online e-Handbook as served on the read date (page bytes pinned); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning b3bc007b85ec. Free to read (US Government work, not subject to copyright in the United States), checked 2026-11-11. No erratum found (searched the e-Handbook pages read: no errata notice or revision note on them), 2026-11-11.
Equation 4
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
AXIAL_BEYOND_LIMIT marks an axial run whose natural value is below a stated minimum, or above a stated maximum, by more than the rounding bound 2·n·ε·M (ε = 2^−52, the double's machine epsilon, Number.EPSILON
n = 4 operations, M the largest of |low|, |high| and |limit|)
a value equal to the limit within that bound is not flagged
a natural value beyond the largest finite double (an axial point of a range near 1e308) is refused, OUT_OF_RANGE
| Symbol | Meaning and unit |
|---|---|
| low | factor's stated low (in the caller's unit), as-given |
| high | factor's stated high (in the caller's unit), as-given |
| coded | the run's coded value for the factor |
| natural | the run's value for the factor (in the caller's unit), as-given |
Source: NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?), section 5.3.3.6.3, Table 3.25 (low 10, high 20: CCC star points 6.6 and 23.4, centre 15), the online e-Handbook as served on the read date (page bytes pinned); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 0fd7d0fdeafc. Free to read (US Government work, not subject to copyright in the United States), checked 2026-11-11. No erratum found (searched the e-Handbook pages read: no errata notice or revision note on them), 2026-11-11.
Equation 5
full quadratic model terms = 1 + 2k + k(k − 1)/2
| Symbol | Meaning and unit |
|---|---|
| k | factors |
Source: NIST/SEMATECH e-Handbook of Statistical Methods, section 5.3.3 (How do you select an experimental design?), section 5.3.3.6, the quadratic model (intercept, k linear, k(k − 1)/2 interactions, k pure quadratic), the online e-Handbook as served on the read date (page bytes pinned); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 0cec7dbb5daf. Free to read (US Government work, not subject to copyright in the United States), checked 2026-11-11. No erratum found (searched the e-Handbook pages read: no errata notice or revision note on them), 2026-11-11.
Equation 6
Definition: the order in which the tool checks a call, the suite's convention, stated so that a call meeting two rules has one answer.
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 count, a unit, UNITS_DIFFER
α not above 0 or above 10, and more than 50 centre points, OUT_OF_RANGE)
(2) DUPLICATE_NAME
(3) each factor in the order given: LEVELS_EQUAL, then LEVELS_NOT_ASCENDING
(4) each factor in the order given: RANGE_BEYOND_LIMIT
(5) the stated rule without α MISSING_ARGUMENT
α given with the rotatable or face-centred rule INVALID_OPTION
a fractional part without generators MISSING_ARGUMENT
generators with a full part INVALID_OPTION
(6) refused: the number of factors OUT_OF_RANGE
CENTRE_POINTS_REQUIRED
the face-centred variant and rule not together ALPHA_VARIANT_CONFLICT
with a stated α, ALPHA_BELOW_ONE, then α exactly 1 ALPHA_VARIANT_CONFLICT
(7) the factorial part's own refusals in doe-factorial's order (a fraction of fewer than three factors OUT_OF_RANGE, GENERATOR_INVALID, GENERATORS_DEPENDENT)
(8) RESOLUTION_BELOW_V
(9) more than 256 factorial runs OUT_OF_RANGE
(10) a natural value beyond the largest finite double OUT_OF_RANGE, naming the factor of the first such value in run order
| Symbol | Meaning and unit |
|---|---|
| k | factors |
Conventions
What each mode computes:
factorial = full: The factorial part is the full 2^k in standard order (the first factor fastest).factorial = fractional: The factorial part is the two-level fraction from your stated generators, of resolution V or more, in standard order of its base.alphaRule = rotatable: α = F^(1/4), F the factorial runs: the rotatable axial distance in coded units (NIST 5.3.3.6.1).alphaRule = face-centred: α = 1: the axial points at the centres of the faces.alphaRule = stated: α is the value you state, in coded units (unit 1), above 1 and at most 10.variant = circumscribed: Factorial points at ±1 coded (your low and high), axial points at ±α, outside your range when α > 1.variant = inscribed: The circumscribed design divided by α: axial points at your low and high, factorial points at ±1/α inside them. The reported α is the ratio of axial to factorial distance; in the coded matrix the axial points are at ±1.variant = face-centred: α = 1: axial points at your low and high on each axis, three levels per factor.
Constants
Constants: none used.
Worked example
Worked example: one case of doe-central-composite@1.1.0, 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
- factors[0].name = temperature
- factors[0].low = 30 degC
- factors[0].high = 40 degC
- factors[0].physicalMax = 41 degC
- factors[1].name = time
- factors[1].low = 10 min
- factors[1].high = 20 min
- factorial = full
- alphaRule = rotatable
- variant = circumscribed
- centrePoints = 2
Steps
- alpha = 1.4142136, from factors; by equation 2; gives alpha.
- n-runs = 10, from factors, centrePoints; by equation 1; gives runs.
- terms = 6, from factors; by equation 5; gives modelTerms.
The working, as the case writes it:
alpha = (2^2)^(1/4) = sqrt 2
the +alpha temperature point is 35 + sqrt(2) x 5 = 42.071 degC, above the stated 41 degC
it is reported with the flag, not moved
Answer
alpha= 1.4142136runs= 10modelTerms= 6
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: coded and natural values 1e-12 absolute (each factor's half-range at most 20); alpha 1e-12 absolute; counts, points, statuses and codes exact.
Who worked this case: not recorded.
What it refuses, and its input ranges
OUT_OF_RANGE: fewer than 2 or more than 10 factors; a factorial part of more than 256 runs (a full factorial part above 8 factors; 9 factors need at least one generator and 10 at least two), checked after the factorial part's own refusals and RESOLUTION_BELOW_V, so that the reply stays inside the reply cap with a tenth to spare (F-16 of the raising run, Drybench, 14 November 2026; the worst case at the cap, measured over every design option, is on the technical page); a natural value beyond the largest finite double (the reason names the factor; narrow its range or lower α) Next: Ask for a design with the number of factors within the stated limits.CENTRE_POINTS_REQUIRED: no centre point: the full quadratic model is singular when α² = k, and otherwise has no run at the centre to anchor the intercept; refused as a design rule (Drybench judgement, response-surface levels ruling of 10 November 2026) Next: Ask for at least one centre point.ALPHA_VARIANT_CONFLICT: the face-centred variant without the face-centred α rule, the face-centred rule with another variant, or a stated α of exactly 1 with the circumscribed or inscribed variant (that design is the face-centred one) Next: State the face-centred variant with the face-centred alpha rule, or another variant with its own alpha.ALPHA_BELOW_ONE: a stated α below 1: the axial points would fall inside the factorial cube, which no variant read covers Next: State an alpha of at least 1, or choose an alpha rule.RESOLUTION_BELOW_V: a fractional factorial part of resolution below V Next: Give generators whose fraction has resolution V or more, or use the full factorial part.GENERATOR_INVALID: a generator the factorial engine refuses (an unknown or repeated factor, a one-letter word, a word using an added factor) Next: Write each generator as a product of two or more distinct base factors, each named once.GENERATORS_DEPENDENT: two added factors with the same word Next: Give each added factor a different generator word.DUPLICATE_NAME(invalid input): two factors share a nameLEVELS_EQUAL(invalid input): a factor's low equals its highLEVELS_NOT_ASCENDING(invalid input): a factor's low is above its high; they are never swappedRANGE_BEYOND_LIMIT(invalid input): a factor's stated low or high outside its own stated physical limit
Flags and notes a reply may carry
A flag says a number must be read differently:
AXIAL_BEYOND_LIMIT: An axial point lies outside a physical limit you stated; it is reported, not moved.
Changes
2026-11-14-doe-central-composite@1.1.0-1
2026-11-14 · doe-central-composite@1.1.0 · Corrections to our methods
- What was wrong: Two defects. A design inside the stated range of 2 to 10 factors could reply with more than the 2 MiB reply cap: ten factors with a full factorial part replied with 4,768,150 bytes. And a natural value whose midpoint, half-range or axial point overflows the largest double made the call fail instead of answering.
- Affected: Calls to doe_central_composite_design with a factorial part of more than 256 runs (9 or 10 factors with a full factorial part, or 10 factors with one generator), and calls with a factor whose levels lie near the largest double, in 1.0.1 and before.
- What changed: In 1.1.0 a factorial part of more than 256 runs is refused, OUT_OF_RANGE; the worst reply at the new cap, over every design option, is 1,845,936 bytes, 88.0 % of the cap. Natural values use an overflow-free form where the plain one is not finite, and a natural value beyond the largest finite double is refused, OUT_OF_RANGE. Every value the tool returned before is unchanged, bit for bit; no published case moved.
- How it was found: A second implementation written from the record by a separate agent, in the raising run of 14 November 2026 (findings F-16 and F-15).
- Cases added: stored reference values: ten factors with a full factorial part, now refused; both sides of the new cap; and four cases at the ends of the double range.
Tools that use it
Cite this version
Central composite designs (circumscribed, inscribed, face-centred) in coded and natural units. Drybench; doe-central-composite@1.1.0; https://www.drybench.com/methods/m/doe-central-composite/1.1.0 (accessed [date]).