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.
| Effect | From all 8 (true) | From the chosen | Mixed 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 of the treatment combinations, that is of them, chosen by p generators. It is written as a design.
- 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.
- 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.
- 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 , the number estimated for A is A + BC.
- resolution
- The number of letters in the shortest word equal to I in the defining relation, written as a Roman numeral.
- 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 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.
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 wanted | What the number really is |
|---|---|
| A | A + BC |
| B | B + AC |
| C | C + AB |
| ABC | always + 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.
- 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. - 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 = Iand the equation becomesI = ABC. In the chosen runs the ABC column is always +, so the ABC effect cannot be estimated (it is mixed up with the mean). - Multiply both sides by A.
A × I = A(multiplying by a column of all + changes nothing), andA × ABC = (A × A) × BC = BC. SoA = BC. - The other pairs. Multiply by B to get
B = AC, and by C to getC = 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, pickD = ABC. ThenI = ABCD, multiplying by A givesA = BCD, and multiplying by AB givesAB = 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.
| Resolution | Defining relation, example | What it protects | What gets mixed up | Example |
|---|---|---|---|---|
| III | I = ABC | Main effects are not mixed up with each other | main effects ↔ two-factor interactions (A = BC) | 3 factors in 4 runs (2³⁻¹), 7 factors in 8 runs (2⁷⁻⁴) |
| IV | I = ABCD | Main effects are not mixed up with two-factor interactions either | two-factor interactions with each other (AB = CD), main effects ↔ three-factor | 4 factors in 8 runs (2⁴⁻¹) |
| V | I = ABCDE | Main effects and two-factor interactions are all kept apart | two-factor ↔ three-factor, main effects ↔ four-factor | 5 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.
| Day | Sign of ABC | Runs |
|---|---|---|
| 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 these | Run on day 1 |
| The four with ABC − | Not run (half the runs) | Run on day 2 |
| What gets mixed up | Effects in pairs (A = BC, B = AC, C = AB) | Only ABC, with the day |
| What you lose | If the belief that interactions are small is wrong, the main effects are wrong | You do not learn ABC |
8. When to use what
| Option | Good | Bad | Use when |
|---|---|---|---|
| Every combination (full factorial, 2^k) | Every main effect and interaction comes out separately | The number of runs doubles with each extra factor | Three or four factors at most, and each run is cheap |
| Fractional factorial, resolution V | Separates main effects and two-factor interactions | Saves fewer runs (16 runs for 5 factors) | You want the two-factor interactions too |
| Fractional factorial, resolution IV | Main effects are not tainted by two-factor interactions | Two-factor interactions cannot be told apart from each other | Picking the important factors, while worried about interactions |
| Fractional factorial, resolution III | Fewest runs (8 runs for 7 factors) | Main effects are mixed up with two-factor interactions | A first pass over many factors when most probably do nothing (a screening experiment) |
| Confounding in blocks | Runs every combination and still removes day or batch differences | Loses the effect given to the blocks (usually the highest interaction) | All runs cannot be done in one day or one batch |
9. Common mistakes
- Aliased effects cannot be separated by analysis. In the chosen runs the two columns are identical, so no calculation can tell them apart. The aliasing is fixed when the runs are chosen, and only running more combinations undoes it.
- If an effect comes out large, run the other half (a fold-over). In the lab, A from the half was 10. Run the remaining four, (1), ab, ac, bc, and A from those is A − BC = 2. Add and halve to get
A = (10 + 2) ÷ 2 = 6. Subtract and halve to getBC = (10 − 2) ÷ 2 = 4. Because the runs were done in two goes, any difference between the goes is mixed up with ABC: the same shape as confounding in blocks in section 6. - A carelessly chosen half mixes up main effects with each other. Choose the four runs where A and B always go up and down together (
I = AB) andA = B, so in the lab's data both A and B come out as 10 (= 6 + 4). Tie one factor to one level, as in "Bad half", and that factor cannot be estimated at all. Write down the generator and work out the aliases before choosing. - "No effect" cannot be trusted either. If A + BC is 0, A and BC may have cancelled each other (BC −6 in section 3).
- Four runs cannot tell an effect from chance. The 4 runs of a 2³⁻¹ spend all their degrees of freedom on the mean and three effects, so nothing is left for an analysis of variance to check whether an effect is bigger than chance. Repeat runs or add more (sample size).
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 here | Textbook term |
|---|---|
| an experiment that tests only part of the combinations | fractional factorial design, a 2^(k−p) design |
| half of the combinations | half fraction, 2^(k−1) |
| mixed up so they cannot be told apart | alias, aliasing; also called confounding |
| the equation that fixes the overlapping pairs | defining relation (defining contrast), e.g. I = ABC |
| the rule that picks the runs | generator, e.g. C = AB |
| the column of all + | identity column, I |
| number of letters in the shortest word of the defining relation | resolution, written III, IV, V |
| letting an effect overlap with blocks on purpose | confounding in blocks |
| groups formed by something that shifts all results | blocks |
| running the other half too | fold-over |
| the belief that only a few effects are large | sparsity of effects principle |
| an experiment that picks the important factors out of many | screening experiment |
| sign table | table 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
- NIST/SEMATECH e-Handbook of Statistical Methods, 5.3.3.4 Fractional factorial designs.
← Factorial designs and interactionResponse surface methodology →