Skip to content

Simplex-lattice or simplex-centroid mixture design

doe_mixture_design

Lists the blends of a simplex-lattice or simplex-centroid mixture design as component proportions.

Runs
On the server
Level
Checked against a reference: NIST/SEMATECH e-Handbook tables (published data), exact rational arithmetic and a second implementation in Python
Ask your assistant

What it is

Returns the blends of a simplex-lattice or simplex-centroid mixture design as component proportions summing to 1. Use when the factors are the proportions of a formulation, buffer or medium that must add to the whole. Not for independent factors that can each vary freely: use `doe_factorial_design`. Refuses more than 10 components and a lattice degree above 6 (at most 5,005 blends); constrained regions are not offered. By column: entry i of every column is blend i; proportions hold one column per component, in the order given.

Field: Statistics and design.

What it does

You give

  • design (required): 'simplex-lattice' (proportions in steps of 1/m) or 'simplex-centroid' (every equal blend of 1 … q components).
  • components (required): The mixture's components, 2 to 10, unique names.
  • degree: Simplex-lattice only: m, so proportions take 0, 1/m, …, 1 (1 to 6). Must be at least 0 and at most 20. Optional.

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 components you state, in the order you give them: simplex-lattice and simplex-centroid only, with blends in a fixed order that is never randomised.
  • Constrained regions, interior points and process variables are not offered, and no mixture model is fitted.
  • 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 or more than 10 components; a lattice degree below 1 or above 6 (so at most 5005 lattice points, the lattice of ten components at degree six).
  • two components share a name.
Every input, with its units3 inputs
  • design (required): 'simplex-lattice' (proportions in steps of 1/m) or 'simplex-centroid' (every equal blend of 1 … q components).
  • components (required): The mixture's components, 2 to 10, unique names.
  • degree: Simplex-lattice only: m, so proportions take 0, 1/m, …, 1 (1 to 6). Must be at least 0 and at most 20. Optional.
Every refusal, with its code2 refusals
CodeWhen
OUT_OF_RANGEfewer than 2 or more than 10 components; a lattice degree below 1 or above 6 (so at most 5005 lattice points, the lattice of ten components at degree six).
DUPLICATE_NAMEtwo components share a name.

The calculation

The method's equations, constants and worked example.

Simplex-lattice and simplex-centroid mixture designsdoe-mixture@1.0.1

Equation 1

{q, m} simplex-lattice: every (x1, …, xq) with xᵢ ∈ {0, 1/m, …, 1} and Σxᵢ = 1, in ascending lexicographic order of (x1, …, xq) (x1 compared first, the smaller first)

(q + m − 1)!/(m!(q − 1)!) points. In the reply each point has run, its number counted from 1 in this order, and blend, the number of components above 0 in it

list positions count from 0

SymbolMeaning
qcomponents
mlattice degree
xᵢproportion of component i in the blend, components in the order given

Source 1.

Equation 2

q-component simplex-centroid: for s = 1 … q and each s-subset in combination order, 1/s on the subset and 0 elsewhere

2^q − 1 points, the overall centroid last

SymbolMeaning
scomponents in the blend (the reply's blend)
qcomponents

Source 1.

Conventions

  • design = simplex-lattice: The {q, m} simplex-lattice: every blend whose proportions are multiples of 1/m summing to 1 (NIST 5.5.4.2).
  • design = simplex-centroid: The q-component simplex-centroid: every equal blend of 1, 2, …, q components, 2^q − 1 blends (NIST 5.5.4.3).

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-mixture@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

  • design = simplex-lattice
  • components[0] = C1
  • components[1] = C2
  • degree = 4

Steps

  1. n-points = 5, from components, degree; by equation 1; gives runs.
  2. one-quarter = 0.25, from degree; by equation 1; gives design.proportions[0].values[1].

Answer

runs = 5

design.proportions[0].values[1] = 0.25

Where these values came from: our own exact-arithmetic script and a hand-worked case; exact rational arithmetic on the definition.

At build the tool returned this answer within the tolerance the file states: proportions 1e-15 absolute (the double nearest each fraction); counts and statuses exact.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, section 5.5.4 (mixture designs)

    Used for: Simplex-lattice and simplex-centroid mixture designs. At: section 5.5.4.2: the definition, the number of points, Table 5.3 ({3, 3}, printed in this order) and Table 5.4 (the {3, 2} design runs of the yarn-elongation example); section 5.5.4.3: the definition (2^q − 1 points) and the runs for q = 3 and q = 4, printed in this order.

    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.5.4, pages pinned in nist_mixture_sha256.txt; our own exact-arithmetic script and a hand-worked case.

Cases

No case set is linked to this version.

Not checked

Constrained regions (extreme vertices, lower and upper bounds on components) and augmentation with interior points are not offered; component amounts from a total are the caller's (proportion × total); randomised run order; the canonical mixture models are not fitted here.

Changes to its methods0 changes

No change is logged for these method versions.