Statistics & probability

Fractional factorial design alias structure calculator from generators

Construct a regular two-level factorial fraction and its defining relation, resolution and signed alias classes from independent generators.

Your numbers

Factors are named A, B,…; enter 2–10.
One defining word per line, e.g.ABCD or−ABEF; use ASCII minus for a negative sign.Use none for a full factorial.
Display alias classes represented by effects through this order, up to 4.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Construct a regular two-level factorial fraction and its defining relation, resolution and signed alias classes from independent generators.

THE FORMULAI=products of signed defining words; run count=2^k/|defining subgroup|; resolution=min nonidentity word length.

A worked example

Six factors with generatorsABCD andABEF have defining relationI, ABCD, ABEF, CDEF, so resolutionIV and 16 runs.

Good to know

2–10 factors A–J, independent signed defining words, interaction-order display 1–4. Exact binary-word algebra and complete±1 run enumeration. No nonregular designs, response analysis, automatic optimal design or alias-resolution claim from observed data.

A fraction trades runs for confounding

A full two-level factorial experiment has one run for every combination of low and high factor settings. A regular fraction selects a structured subset through defining generators. The smaller run count saves experimental effort but makes some effect columns identical up to sign.

Those aliases are algebraic properties of the chosen design, not conclusions drawn from measured responses. This calculator constructs the design and exposes its confounding structure. It does not decide that a confounded interaction is negligible or recover separate effects from columns that the experiment cannot distinguish.

Defining words for the default fractionABCDABEFCDEF×=Shortest nonidentity word: 4 factorsResolution IV: 64 full runs / 4 words = 16
Scroll across to see the full diagram.
ABCD×ABEF=CDEF; all three nonidentity words have length 4.

Compare this with the Entropy regularized optimal transport calculator from a cost matrix. Construct defining words, design resolution and aliased effects of a regular two-level fraction rather than optimize candidate-row information.

Writing defining words unambiguously

Factors are named A through the selected final letter. A word such as ABCD represents the product of those four coded factor columns, where each column has entries minus one or plus one. Entering ABCD means its product equals the identity column; a leading minus changes that defining sign.

Each factor may appear only once within an entered word, and generators must be independent under binary multiplication. A product already implied by previous generators is rejected instead of being counted as another run-reducing constraint. Use none to request the full factorial with no defining subgroup beyond the identity.

Six factors with two generators

The default uses ABCD and ABEF. Multiplying those words cancels the repeated A and B factors, leaving CDEF. Together with the identity, the defining subgroup therefore has four words: I, ABCD, ABEF and CDEF, all with positive sign.

A six-factor full factorial has sixty-four runs. Dividing by four gives sixteen runs in this fraction. The shortest nonidentity defining words have length four, so the design has resolution IV. The calculator verifies each returned run satisfies all defining equations rather than relying only on the run-count formula.

Multiplying effects in binary form

A factor occurring twice cancels because its coded column squared is one. Word multiplication therefore becomes symmetric difference of factor sets, conveniently represented by exclusive-or of bit masks. Signs multiply separately, preserving whether two aliased columns are equal or opposite.

Multiplying any effect by every defining word generates its complete alias class. The requested interaction order limits which effects are used as displayed representatives, not the length of every alias that can appear. A low-order representative can still be aliased with a high-order interaction in the same class.

Reading resolution without overclaiming

Resolution summarizes the minimum defining-word length, which helps describe the earliest orders of confounding. It is a useful structural label, but it does not fully characterize every alias pattern or guarantee that the scientific effects of interest are estimable separately in this particular fraction.

Inspect the actual alias class for each intended main effect or interaction. Even when a familiar resolution rule is favorable, unmodeled interactions can contaminate an estimate. The calculator does not apply a sparsity-of-effects assumption on your behalf or declare one factor causally important from design algebra alone.

Signs, randomization and analysis

A negative defining generator changes which treatment combinations are selected and can reverse some alias signs. It need not change the design's resolution or number of runs. Preserve signs when exporting the matrix and comparing it with another generator convention.

The returned rows are an enumeration of allowed coded settings, not a randomized execution schedule. Practical experiments also need run randomization, replication, blocking and appropriate response analysis. Those choices can affect variance and bias even though they leave the mathematical defining relation unchanged.

Independent checks before use

Multiply the factor settings in every generator for every returned run and confirm the specified sign. The number of rows should equal the full factorial size divided by the defining subgroup size. Reordering independent generators must leave the same fraction, up to the displayed row order.

Before conducting an experiment, compare the design's aliases with the actual questions you need to answer and verify how coded settings map to physical levels. This page supports a bounded regular two-level fraction. It does not replace an optimal-design search, a safety review of factor combinations or the later statistical interpretation of measured responses.

A few questions, answered

Are generators effect estimates?

No. They define a fraction of treatment combinations and its algebraic alias structure.

Why reject a redundant generator?

It adds no independent constraint and must not be counted as another reduction in the run count.

Does resolutionIV separate every two-factor interaction?

No. Inspect the actual alias classes; two-factor interactions can still be mutually confounded.

Is the returned run order randomized?

No. It is an exact enumeration of valid coded settings, not an execution schedule.

Find your calculator

Start typing to explore the library.