Fractional factorials and confounding: running half the combinations

Seven factors at two levels each make 128 combinations. When you cannot run them all, there are ways to run half of them, or fewer. Pick corners of a cube yourself and see what you give up in exchange.

Short answer. A fractional factorial design tests a well-chosen part of all the combinations. Of the 8 combinations of three factors (A, B, C), run only the four where the sign of C is set to A × B (C = AB, which means I = ABC). Then A gets mixed up with BC, B with AC and C with AB, and the pairs cannot be told apart (they are aliases). The number you get as "the effect of A" is really A + BC. So you use it only when you can believe the interactions are small. Confounding in blocks uses the same idea differently. When the 8 runs have to be split over two days, you deliberately let ABC, the effect you care least about, overlap with the difference between days, and every other effect is protected.

EffectFrom all 8 (true)From the chosenMixed up with

Use the buttons to choose which corners to run. Dark dots are runs that are made, faint rings are runs that are not. Moving right means A is at its high level (+), moving up means B is, moving back at an angle means C is. The name next to a corner lists, in lower case, the factors that are high ((1) means all three are low), and the number is a made-up result. Every effect in the table is "mean of the + side minus mean of the − side", and orange cells differ from the true value. Every number and every data point on this page is made up.

Definitions

These definitions are for k factors that all have two levels (− and +). As agreed on this page, an effect is "mean of the + side minus mean of the − side", and the column of all + is written I.

fractional factorial design
A design that tests only 2k−p of the 2k treatment combinations, that is 1/2p of them, chosen by p generators. It is written as a 2k−p design.

2k−p=2k2p(e.g. 23−1=4,27−4=8)

generator
An equation that sets the sign of an added factor as the product of the signs of factors already in the design. Each generator halves the number of runs.

C=AB,D=ABC

defining relation
The equation that collects the letter groups (words) equal to I, found by multiplying both sides of each generator by its left-hand factor. A letter multiplied by itself gives I. With several generators, the products of their words are also equal to I.

C=AB⇒C2=ABC⇒I=ABC

alias
Effects that cannot be told apart because their sign columns are identical, or exactly opposite, in the chosen runs. The alias of an effect X is found by multiplying X by the words of the defining relation. The number estimated for X is X plus its alias (minus when the signs are opposite). With I=ABC, the number estimated for A is A + BC.

A=A·I=A·ABC=A2BC=BC

resolution
The number of letters in the shortest word equal to I in the defining relation, written as a Roman numeral.

I=ABC(III),I=ABCD(IV),I=ABCDE(V)

confounding in blocks
A way to split a full factorial design into blocks by the sign of a chosen effect (usually the highest interaction). That effect overlaps with the difference between blocks and cannot be estimated. When 23 is split into two blocks by ABC, every other effect column has two + and two − in each block, so those effects are not affected by the block difference.

block 1={a,b,c,abc}(ABC=+),block 2={(1),ab,ac,bc}(ABC=−)

1. Why run only half

With k factors at two levels each there are 2^k combinations: 8 for three factors, 32 for five, 128 for seven. If one run takes a day or one prototype is expensive, 128 runs are out of reach.

On top of that, of the 127 effects that 128 runs estimate, only 7 are main effects and 21 are two-factor interactions. The other 99 are interactions among three or more factors, which are usually assumed to be small. Running everything spends most of the runs measuring things you already believe are small. So you run a well-chosen part.

Seeing it as a cube

The 8 combinations of three factors (A, B, C) are the eight corners of a cube. In the lab above, moving right means A is high, moving up means B is high, and moving back means C is high. A corner is named by the factors that are high, in lower case. abc has all three high and (1) has all three low. The sign table and computing effects as "mean of the + side minus mean of the − side" carry over from Factorial designs and interaction. On the cube, the effect of A is the mean of the four corners on the right face minus the mean of the four on the left face.

Convention on this page. Interactions are also written as "mean of the + side minus mean of the − side", like main effects. That is half the "difference of differences" from the previous page (the way some books do it, as section 3 there says). Written this way, two aliased effects simply add, as in A + BC.

2. Picking half: setting C = AB gives I = ABC

Run all four combinations of A and B (−−, +−, −+, ++), and set only the sign of C to "sign of A × sign of B" (C = AB). That takes four runs, and the chosen corners are a, b, c, abc. This is written as a 2³⁻¹ design: the 2³ combinations of three factors, cut in half (2⁻¹).

The four chosen corners share no edge, and each of the six faces of the cube holds two of them. So A, B and C each get two + runs and two − runs, and all three main effects give a number. The price is aliasing. Because the sign of C was set to A × B, the C column and the AB column are identical in the chosen runs. The same column gives the same number, so the data cannot say whether the number comes from C or from AB. A pair that is mixed up so that it cannot be told apart is called an alias.

What you wantedWhat the number really is
AA + BC
BB + AC
CC + AB
ABCalways + in the chosen runs, so it cannot be estimated (mixed up with the mean)

The equation that fixes all the pairs, I = ABC, is called the defining relation. Section 4 goes step by step through where it comes from and why the partner of A is BC. Choosing the other four, (1), ab, ac, bc, is also a half. Then I = −ABC, and the number for A is A − BC.

Try this. ① "All 8": the true values are A 6, B 4, C 2. In this made-up data the BC interaction is 4 and every other interaction is 0. ② "Half (I = ABC)": the chosen values are a 22, b 16, c 14, abc 28. A comes out as (22 + 28) ÷ 2 − (16 + 14) ÷ 2 = 25 − 15 = 10, which is not the true 6 but 6 + 4. B 4 and C 2 are right, only because their partners AC and AB are 0 in this data. ③ "Bad half": (1), a, b, ab all sit on the front face (C low). C is always −, so it cannot be estimated, and B comes out as 4 − 4 = 0, as if it had no effect.

3. Aliasing in numbers

See how far the "effect of A" from the half gets pulled by BC. The slider changes the size of the BC interaction in the data, which changes the values at the eight corners. A 6, B 4 and C 2 stay the same.

A from all 8 (true)where A + BC sits

Drag the slider or edit the number (−8 to 8). The green ring is A from all 8 runs, the orange dot is A from the half a, b, c, abc, and the orange bar between them is how far off the half is.

Try this. ① At the start (BC 4) the half gives A = 10. ② Set BC to 0 and it gives 6, the true value. ③ Set it to −6 and it gives 0. The four values are 17, 21, 19, 23, and (17 + 23) ÷ 2 − (21 + 19) ÷ 2 = 0. A looks as if it does nothing, but its true effect is 6, and a BC of −6 cancelled it out. ④ Set it to 8 and it gives 14. The orange dot always sits on the dashed line, and A from all 8 runs stays 6 whatever BC is.

4. How the formula is built: from I = ABC to A = BC

Lay out the sign table of the four chosen runs with all eight columns (I, A, B, C, AB, AC, BC, ABC), and for each line of the formula see which columns become identical.

Press "Next" to go one step at a time. A line is added to the formula (the orange background marks the new line), the columns that become identical get an orange outline, and the reason appears below. Green cells are +, grey cells are −.

Written as formulas only, the steps above look like this. The same letter multiplied twice gives I.

C=AB

C·C=AB·C⇒I=ABC

A·I=A·ABC=A2BC⇒A=BC

B·ABC=AB2C⇒B=AC,C·ABC=ABC2⇒C=AB

a+abc2−b+c2=22+282−16+142=10=6+4=A+BC

  1. The rule that picks the four: C = AB. The sign of C was set to the sign of A times the sign of B, so in the chosen runs the C column equals the AB column. Books call this rule the generator.
  2. Multiply both sides by C. A sign times itself is (+)(+) = + or (−)(−) = +, so it is always +. The column of all + is written I, so C × C = I and the equation becomes I = ABC. In the chosen runs the ABC column is always +, so the ABC effect cannot be estimated (it is mixed up with the mean).
  3. Multiply both sides by A. A × I = A (multiplying by a column of all + changes nothing), and A × ABC = (A × A) × BC = BC. So A = BC.
  4. The other pairs. Multiply by B to get B = AC, and by C to get C = AB. The partner is always "that effect × the word in the defining relation". It works the same with more factors. To run four factors in 8 runs, pick D = ABC. Then I = ABCD, multiplying by A gives A = BCD, and multiplying by AB gives AB = CD.

Try this. ① Press "Next" twice and check that at step ③ the A column and the BC column are both (+, −, −, +). ② At the last step, check that the A column gives (22 + 28) ÷ 2 − (16 + 14) ÷ 2 = 10 = 6 + 4. ③ Use the same algebra on the "Bad half" from the first lab. Those four runs have "C always −", so I = −C. Multiply both sides by B to get B = −BC, which is why B came out as B − BC = 4 − 4 = 0.

5. What you give up: resolution

A number from a fractional factorial is always the sum with its aliases. You may read it as one effect only when you can believe the aliases are small. There are two usual grounds: only a few effects tend to be large (sparsity of effects), and interactions tend to be smaller the more factors they involve. The data does not check this for you.

Which effects get mixed up is set by the number of letters in the shortest word of the defining relation, and that number is called the resolution. It is written in Roman numerals. I = ABC has three letters, so it is resolution III.

ResolutionDefining relation, exampleWhat it protectsWhat gets mixed upExample
IIII = ABCMain effects are not mixed up with each othermain effects ↔ two-factor interactions (A = BC)3 factors in 4 runs (2³⁻¹), 7 factors in 8 runs (2⁷⁻⁴)
IVI = ABCDMain effects are not mixed up with two-factor interactions eithertwo-factor interactions with each other (AB = CD), main effects ↔ three-factor4 factors in 8 runs (2⁴⁻¹)
VI = ABCDEMain effects and two-factor interactions are all kept aparttwo-factor ↔ three-factor, main effects ↔ four-factor5 factors in 16 runs (2⁵⁻¹)

Higher resolution protects more and costs more runs. The 2³⁻¹ in the lab is resolution III, which is why A was tainted by BC.

6. Confounding in blocks: when 8 runs must be split over two days

Now say you can do all 8 runs, but only four a day. When the day changes, the material or the temperature may change too, and shift every result up or down. Groups like these are called blocks.

Splitting the runs carelessly is risky. For example, if the four runs with C low go on the first day and the four with C high on the second, the effect of C and the difference between days are mixed up and cannot be told apart. Confounding in blocks chooses on purpose what gets mixed up. You split by the sign of ABC, the effect you care least about.

DaySign of ABCRuns
Day 1+a, b, c, abc
Day 2−(1), ab, ac, bc

The columns A, B, C, AB, AC and BC each have two + and two − on each day. So the day difference cancels out while you take "mean of the + side minus mean of the − side", and the main effects and two-factor interactions are not tainted by the days. Only ABC is mixed up with the day. Say that on the second day every result in the first lab's data came out 5 higher (made up). A 6, B 4, C 2, BC 4, AB 0 and AC 0 from all 8 runs stay the same, and only ABC moves from 0 to −5. That −5 is the day difference, not ABC.

The four runs on the first day are the same four as the half chosen in section 2. With four blocks you give up two effects to the blocks, and their product (for example AB × AC = BC) is mixed up with the blocks as well. The algebra for choosing is the same as for fractional factorials.

This is not the confounding of observational studies. The confounding page on this site is about a third variable tied to both the cause and the result in observed data, which makes you see the effect wrong. That is a problem to prevent. Confounding in blocks is a technique in factorial experiments where the experimenter deliberately lets a chosen effect overlap with the blocks, knowing in advance what overlaps with what and giving up the effect of least interest. English uses the same word for both, which makes it more confusing.

7. One idea, two uses

Fractional factorials and confounding in blocks both split the 8 combinations by the sign of ABC. What differs is what you do with the overlap. A fractional factorial throws it away to cut the number of runs. Confounding in blocks hands it to the blocks.

Fractional factorial (I = ABC)Confounding in blocks (block = ABC)
The four with ABC +Run only theseRun on day 1
The four with ABC −Not run (half the runs)Run on day 2
What gets mixed upEffects in pairs (A = BC, B = AC, C = AB)Only ABC, with the day
What you loseIf the belief that interactions are small is wrong, the main effects are wrongYou do not learn ABC

8. When to use what

OptionGoodBadUse when
Every combination (full factorial, 2^k)Every main effect and interaction comes out separatelyThe number of runs doubles with each extra factorThree or four factors at most, and each run is cheap
Fractional factorial, resolution VSeparates main effects and two-factor interactionsSaves fewer runs (16 runs for 5 factors)You want the two-factor interactions too
Fractional factorial, resolution IVMain effects are not tainted by two-factor interactionsTwo-factor interactions cannot be told apart from each otherPicking the important factors, while worried about interactions
Fractional factorial, resolution IIIFewest runs (8 runs for 7 factors)Main effects are mixed up with two-factor interactionsA first pass over many factors when most probably do nothing (a screening experiment)
Confounding in blocksRuns every combination and still removes day or batch differencesLoses the effect given to the blocks (usually the highest interaction)All runs cannot be done in one day or one batch

9. Common mistakes

Frequently asked questions

Is confounding in blocks the same as confounding in an observational study?

No. Confounding in an observational study is a problem: a third variable tied to both the cause and the result makes you see the effect wrong, and you try to prevent it. Confounding in blocks is a technique in factorial experiments: you deliberately let the effect you care least about overlap with the blocks, knowing in advance what overlaps with what. English uses the same word for both, which makes it more confusing.

Can analysis software separate aliased effects?

No. In the chosen runs the two sign columns are identical, so no calculation can tell them apart. The aliasing is fixed when you pick the runs. To separate them you have to run more combinations. For a half fraction, running the other half (a fold-over) is a common way.

What should I do when an effect comes out large in a half fraction?

That number is the sum with its alias. With I = ABC the number for A is A + BC. If you have no good reason to believe the interaction is small, run the other half. Add the two estimates and halve to get A. Subtract them and halve to get BC.

Words

Plain words used hereTextbook term
an experiment that tests only part of the combinationsfractional factorial design, a 2^(k−p) design
half of the combinationshalf fraction, 2^(k−1)
mixed up so they cannot be told apartalias, aliasing; also called confounding
the equation that fixes the overlapping pairsdefining relation (defining contrast), e.g. I = ABC
the rule that picks the runsgenerator, e.g. C = AB
the column of all +identity column, I
number of letters in the shortest word of the defining relationresolution, written III, IV, V
letting an effect overlap with blocks on purposeconfounding in blocks
groups formed by something that shifts all resultsblocks
running the other half toofold-over
the belief that only a few effects are largesparsity of effects principle
an experiment that picks the important factors out of manyscreening experiment
sign tabletable of contrasts, design matrix
corner names (1), a, b, ab, …standard order (Yates order)

Related pages: Factorial designs and interaction, Block designs, Confounding, Analysis of variance, Sample size.

Sources

← Factorial designs and interactionResponse surface methodology →