# 2.7.1.1: Factorial Notations and Square Tables

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$

( \newcommand{\kernel}{\mathrm{null}\,}\) $$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\id}{\mathrm{id}}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\kernel}{\mathrm{null}\,}$$

$$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$

$$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$

$$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

$$\newcommand{\vectorA}[1]{\vec{#1}} % arrow$$

$$\newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow$$

$$\newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vectorC}[1]{\textbf{#1}}$$

$$\newcommand{\vectorD}[1]{\overrightarrow{#1}}$$

$$\newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}$$

$$\newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}}$$

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$

## 2x2 Designs

We’ve just started talking about a 2x2 Factorial design, which means that we have two IVs (the number of numbers indicates how many IVs we have) and each IV has two levels (the numbers represent the number of level for each IV). We said this means the IVs are crossed. To illustrate this, take a look at the following tables. Table $$\PageIndex{1}$$ is a conceptual version. Although not exactly accurate, many call these types of tables a Punnett Square because it shows the combination of different levels of two categories.

IV Levels IV2 Level 1 IV1 Level I IV1 Level 2 DV DV DV DV

Our study on distraction is a 2x2 design, so what would that look like in this type of table?

##### Example $$\PageIndex{1}$$

Create a "Punnett's Square" for the IVs and DV of the Distraction scenario.

Solution

IV Levels IV2 (Reward): Yes IV1 (Distraction): Yes IV1 (Distraction): No DV = Number of differences spotted DV = Number of differences spotted DV = Number of differences spotted DV = Number of differences spotts

You could have just as easily made IV1 the reward and IV2 the Distraction, and the table would still be correct.

Let’s talk about this crossing business. Here’s what it means for the design. For the first level of Distraction (Yes), we measure the number of differences spotted performance for the people who were rewarded, as well as for the people who were not rewarded. So, for the people who were distracted we also manipulated whether or not they earned a reward. In the second level of the Distraction IV (No), we also manipulate reward, with some people earning a reward and some people not. We collect how many differences were spotted in all conditions.

We could say the same thing, but talk from the point of view of the second IV. For example, for participants who were rewarded, some are distracted and some are not. Similarly, for participants who were not rewarded, we distract some of the participants and don't distract some of them.

Each of the four squares representing a DV, is called a condition. So, we have 2 IVs, each with 2 levels, for a total of 4 conditions. This is why we call it a 2x2 design. 2x2 = 4. The notation tells us how to calculate the total number of conditions.

## Factorial Notation

Anytime all of the levels of each IV in a design are fully crossed, so that they all occur for each level of every other IV, we can say the design is a fully factorial design. We use a notation system to refer to these designs. The rules for notation are as follows. Each IV get’s it’s own number. The number of levels in the IV is the number we use for the IV. Let’s look at some examples:

2x2 = There are two IVS, the first IV has two levels, the second IV has 2 levels. There are a total of 4 conditions, 2x2 = 4.

2x3 = There are two IVs, the first IV has two levels, the second IV has three levels. There are a total of 6 conditions, 2x3 = 6

3x2 = There are two IVs, the first IV has three levels, the second IV has two levels. There are a total of 6 conditions, 3x2=6.

4x4 = There are two IVs, the first IV has 4 levels, the second IV has 4 levels. There are a total of 16 condition, 4x4=16

2x3x2 = There are a total of three IVs. The first IV has 2 levels. The second IV has 3 levels. The third IV has 2 levels. There are a total of 12 condition. 2x3x2 = 12.

Let’s practice a little with this notation.

##### Exercise $$\PageIndex{1}$$

What is the factorial design notation for a study with two IVs, one has 2 levels and the other has 3 levels?

2x3

There are two IVs, so there are two numbers. Each number represents the number of levels for each IV.

##### Exercise $$\PageIndex{2}$$

What is the factorial design notation with a study with the following IVs:

2 (task presentation: computer or paper) by

2 (task difficulty: easy or hard) by

2 (student: high school or college)

2x2x2

There are three IVs, so there are three numbers. Each IV only has two levels, so there are three two’s! Notice that there are no threes. The number of IVs is represented in the number of numbers.

Okay, let’s try something a little more challenging.

Let’s do a couple more to make sure that we have this notation business down.

##### Exercise $$\PageIndex{5}$$

For one of Dr. MO’s dissertation studies, participants read about a character, then rated that character on several personality traits (DV). The race and gender of the character were varied systematically. Here are the IVs:

• Race of participant: White or Black
• Gender of participant: Woman or man
• Race of character: White or Black or none/neutral (the character’s race was not mentioned)
• Gender of character: Woman or man or none/neutral (the character’s gender was not mention)

What kind of factorial design was this study? 2x2? 2x3? Something else (what?)?

This was a 2x2x3x3 study because:

• Race of participant: White or Black = 2
• Gender of participant: Woman or man = 2
• Race of character: White or Black or none/neutral = 3
• Gender of character: Woman or man or none/neutral -= 3

Dr. MO wanted 30 participants in each cell, so she had to have 1,080 participants!

Last one! This one has a few more questions to better understand the scenario.

##### Exercise $$\PageIndex{6}$$

Dr. MO has more Star Wars collectibles than can fit in her office, and she’d like to sell some. Her research question is whether she’d get a better price through CraigsList or eBay? Also, should she take the picture or use a stock photo?

1. What is the DV? (It is not explicitly labeled.)
2. For each IV, what are the levels?
3. Is this a 2x2 factorial design? If not, what kind of design is it?
4. List out each of the combinations of the levels of the IVs.
1. The DV is the price, or how much Dr. MO could earn for selling each collectible.
2. IV1’s levels are CraigsList or eBay, so the IV name could be something like “website” or “platform”. IVs’ levels are personal photo or stock photo, so the IV name could be something like “Photo Type.”
3. This is a 2x2 factorial design: 2 (Platform: CraigsList or eBay) by 2 (Photo Type: Personal or Stock)
4. List out each of the combinations of the levels of the IVs:
• Posted on CraigsList with a personal photo.
• Posted on Craigslists with a stock photo.
• Posted on eBay with a personal photo.
• Posted on eBay with a stock photo.

Just for fun, let’s illustrate a 2x3 design using the same kinds of tables we looked at before for the 2x2 design.

IV Levels IV2 Level 1 IV1 Level I IV1 Level 2 DV DV DV DV DV DV

Our very first example of tiem spent studying is a 2x3 design, so what would that look like in this type of table?

##### Example $$\PageIndex{2}$$

Create a "Punnett's Square" for the IV of Mindset (Growth or Fixed) and the IV of Job (Full-Time, Part-Time, or None) for time spend studying.

Solution

IV Levels IV2 (Job): Full-Time IV1 (Mindset): Growth IV1 (Mindset): Fixed DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying

You could have just as easily made IV1 the Job and IV2 the Mindset, and the table would still be correct.

All we did was add another row for the second IV. It’s a 2x3 design, so it should have 6 conditions. As you can see there are now 6 cells to measure the DV.

You might have noticed in the list of notation for different factorial designs that you can have three IVs (that's the 2x3x2 design). In fact, you can have as many IVs with as many levels as you'd like, but the Central Limit Theorem shows (through complicated math that we aren't going to go into) that each condtion (or cell) should have at least 30-50 participants, that can get expensive quickly! If a 2x2 has 4 conditions, and you want at least 30 participants in each condition, then you'd need 120 participants. If you have a 2x3, then you'd need at least 180 participants (2 * 3 * 30 = 180). So, for a 2x3x2, how many participants would you want?

\begin{aligned} \text{Participants} &=2 * 3 * 2 = 12 \\ \text{Participants}&=12 * 30 = 360 \end{aligned} \nonumber

Students always want to know how we would represent more than two IVs in a Punnett's Square, and the answer is that we don't. We create two Punnett Squares.

Let's say that we were looking at time spend studying for those with different mindsets and who have different jobs for different kinds of schools (community colleges or universities). That could look like:

IV Levels IV2 (Job): Full-Time IV1 (Mindset): Growth IV1 (Mindset): Fixed DV = Minutes spent studying MATH DV = Minutes spent studying MATH DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying

AND:

IV Levels IV2 (Job): Full-Time IV1 (Mindset): Growth IV1 (Mindset): Fixed DV = Minutes spent studying MATH DV = Minutes spent studying MATH DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying DV = Minutes spent studying

You could have just as easily made IV1 the Job and IV2 the Mindset, or even made a table for only students with Growth Mindset (and had IV1 be the type of school) and another table for only students with Fixed Mindset and the table would still be correct. It doesn't matter statistically which IV is placed where, it's more about interpreting and understanding what is besting tested.