Tutorials › ANOVA › Building a Factorial Treatment Table

Factorial Designs and Cell Means · Tutorial 179 of 595

Building a Factorial Treatment Table

Build and read a complete two-factor treatment table by placing factor levels on its margins and identifying the combination represented by each cell.

Beginner 9 min read

What You'll Learn

  • Assign one factor to table rows and the other to columns
  • Label factor levels clearly and consistently
  • Identify the treatment combination represented by a cell
  • Check that a table includes every combination exactly once
  • Distinguish a treatment table from a table of observed outcomes
  • Recognize that changing row and column order does not change the combinations

Why Build a Treatment Table?

When a study has two factors, each with several levels, a table makes the design easier to inspect. Its rows list the levels of one factor, its columns list the levels of the other, and each interior cell marks one combination of levels. The table is a planning and organization tool: it shows which conditions belong in the design before any outcome values are entered.

A carefully labelled grid helps prevent a practical error: leaving out a combination or recording a combination under the wrong label. It also makes it easy to point to a specific condition. To read a cell, use its row label and column label together; neither label alone identifies the full combination.

Definition: A factorial treatment table is a grid for a design involving two factors. The levels of one factor label the rows, the levels of the other factor label the columns, and each interior cell represents one treatment combination: one level of each factor used together. The table is complete when every possible pair of factor levels appears in exactly one cell.

The Basic Layout

Suppose Factor A has \(a\) levels and Factor B has \(b\) levels. Choose one factor for the rows and the other for the columns. For example, if Factor A has levels \(A_1\) and \(A_2\), and Factor B has levels \(B_1\), \(B_2\), and \(B_3\), the grid has two data rows and three data columns. Each cell names the row level and the column level together.

Factor A \ Factor B\(B_1\)\(B_2\)\(B_3\)
\(A_1\)\((A_1,B_1)\)\((A_1,B_2)\)\((A_1,B_3)\)
\(A_2\)\((A_2,B_1)\)\((A_2,B_2)\)\((A_2,B_3)\)

The corner label tells the reader what the row and column labels mean. The ordered pair inside a cell is a compact way to show both levels in that combination. In this example, the cell in row \(A_2\) and column \(B_3\) represents \((A_2,B_3)\). A table could instead use descriptive words rather than symbols, as long as the factor and level labels remain unambiguous.

The number of interior cells is the number of row levels multiplied by the number of column levels. Thus, a complete table with \(a\) levels of Factor A and \(b\) levels of Factor B has \(ab\) cells. This is the same count as the number of distinct pairs: each of the \(a\) row levels can be paired with each of the \(b\) column levels.

$$ \text{number of treatment combinations} = (\text{number of Factor A levels})(\text{number of Factor B levels}) = ab $$

A Reliable Construction Method

Build the grid in a consistent order. First list the levels of both factors exactly as they are defined for the design. Next choose which factor labels the rows and which labels the columns. Add one row for each level of the row factor and one interior column for each level of the column factor. Finally, fill each cell with the pair formed from its row and column labels, then check the count and labels.

1
Write down the factors and their levels.
Use the study's actual level names, and keep the levels of each factor distinct from those of the other factor.
2
Assign factors to the margins.
Choose one factor for rows and the other for columns. State this choice in the corner heading.
3
Fill every intersection.
For each row and column, write the combination containing that row's level and that column's level.
4
Check completeness and readability.
Verify that there are \(ab\) interior cells, that every pair appears once, and that the headings identify both factors.

Worked Example: Study Time and Study Setting

A hypothetical experiment has two factors. Study time has levels 20 minutes and 40 minutes. Study setting has levels quiet room, background music, and conversation nearby. Build a treatment table and locate the combination of 40 minutes with background music.

Step 1: Count the levels. Study time has 2 levels, and study setting has 3. The complete table therefore needs \(2\times3=6\) interior cells.

Step 2: Choose the layout. Put study time in the rows and study setting in the columns. Label the corner so that the reader can tell which factor each margin represents.

Study time \ Study settingQuiet roomBackground musicConversation nearby
20 minutes20 minutes, quiet room20 minutes, background music20 minutes, conversation nearby
40 minutes40 minutes, quiet room40 minutes, background music40 minutes, conversation nearby

Step 3: Locate the requested combination. Find the 40 minutes row and the Background music column. Their intersection is the condition “40 minutes, background music.” The grid has two rows of levels and three columns of levels, giving six combinations as required.

Reading and Checking Cells

A cell should be read by combining both of its margin labels. Reading only the row tells you the level of one factor but not the level of the other. Reading only the column has the complementary problem. In the study-time example, “40 minutes” alone does not specify the setting, and “background music” alone does not specify study time.

A useful completeness check is to count cells and then scan their labels. The count detects a missing or extra cell, while the scan checks that the actual pairs are right. Both checks matter: a table can have six cells and still repeat one pair while omitting another.

Check: If Factor A has \(a\) levels and Factor B has \(b\) levels, a complete table has \(ab\) interior cells. Each cell must contain one Factor A level and one Factor B level, and no pair may be repeated or omitted.

Worked Example: Fertilizer and Watering Schedule

A hypothetical plant experiment uses three fertilizer levels: none, standard, and concentrated. It also uses two watering schedules: daily and every third day. Put fertilizer in the rows and watering schedule in the columns. How many combinations should appear, and where is standard fertilizer with daily watering?

Number of combinations. Fertilizer has 3 levels and watering has 2, so the table needs \(3\times2=6\) cells.

Fertilizer \ Watering scheduleDailyEvery third day
NoneNone, dailyNone, every third day
StandardStandard, dailyStandard, every third day
ConcentratedConcentrated, dailyConcentrated, every third day

Location. The requested combination is in the Standard row and the Daily column. Its cell contains both labels. To check the grid, count the three row levels and two column levels: \(3\times2=6\), and confirm that each fertilizer level appears once with each watering schedule.

Changing the Orientation

Either factor can be placed in rows. Swapping the row and column factors changes the appearance of the table, but it does not change the set of combinations. For example, the pair “standard fertilizer, daily watering” remains the same pair whether fertilizer labels a row or a column. The most important requirements are to label both margins and to use the same orientation consistently throughout the table.

The choice of orientation is often made for readability. Put the factor with fewer levels in the rows if that makes the table easier to fit on a page, or use the order that matches a study's usual presentation. Neither choice changes the design. If a reader cannot tell which factor a label belongs to, however, the table is not clear enough.

Worked Example: Checking a Table With Reversed Margins

A hypothetical materials experiment combines two surface treatments, Smooth and Textured, with three curing temperatures, 15°C, 25°C, and 35°C. This time, put temperature in the rows and surface treatment in the columns. Locate Textured at 25°C and verify the total number of combinations.

Count first. There are 3 temperature levels and 2 surface-treatment levels, so there should be \(3\times2=6\) cells.

Temperature \ Surface treatmentSmoothTextured
15°C15°C, Smooth15°C, Textured
25°C25°C, Smooth25°C, Textured
35°C35°C, Smooth35°C, Textured

Locate and verify. Find the 25°C row and the Textured column; their intersection is “25°C, Textured.” There are three rows of temperature levels and two columns of surface-treatment levels, so the table contains six cells. Each temperature occurs with both surface treatments, which confirms that every pair is represented.

What the Table Does—and Does Not—Show

A treatment table lists the design's combinations; it does not report the measured outcome. For example, the cell “40 minutes, background music” identifies a condition in the study-time example, not an observed score. A table of outcome data would need additional information, such as the recorded responses for experimental units assigned to that condition. Keeping the two purposes separate prevents condition labels from being mistaken for results.

The grid also does not, by itself, say how many experimental units receive each combination or how they are assigned. Those are design details beyond the table's basic role. A complete set of cells establishes which combinations are included; it does not establish equal allocation or any particular randomization procedure.

Common Mistakes

  • Using only one margin to identify a condition. “The 40-minute group” leaves the study setting unspecified. Name the row and column levels together.
  • Forgetting the corner heading. A table with unlabeled margins may contain the right words but still leave readers unsure which factor each margin represents. Label both factors.
  • Counting levels instead of cells. With 3 levels of one factor and 2 of the other, there are \(3+2=5\) margin labels but \(3\times2=6\) treatment combinations. Multiply the numbers of levels to check the interior cells.
  • Assuming the table gives the outcome or replication count. A cell names a combination; it does not say what responses were observed or how many units were assigned there.
  • Thinking a reversed layout changes the combinations. Switching rows and columns only changes the display. The same level pairs must still appear once each.

The central habit is simple: label each factor clearly, let each cell inherit one level from each margin, and verify the full grid. That makes the treatment combinations easy to identify without implying anything about outcome values or allocation.

Check Your Understanding

Answer each question by referring to the row level and column level together.

  1. Factor A has 4 levels and Factor B has 3 levels. How many interior cells should a complete treatment table contain?
  2. A table puts dosage in rows and appointment time in columns. What two labels are needed to identify one specific cell?
  3. A design has two soil types and four light levels. If soil type is in the rows, how many rows of levels and how many columns of levels should the grid show?
  4. Explain why a complete table with six cells could still be incorrect.
  5. Does switching which factor is in the rows change the treatment combinations? Explain briefly.
Clinical Biostats