# 13.5.1: Practice 2x3 Factorial ANOVA on Mindset

$$\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}$$

One more time to practice with a factorial ANOVA Summary Table and interpretation!

## Scenario

We are going back to one of the student research projects to see if faculty can increase understanding and belief in growth mindset. To see if students’ scores on the Mindset Quiz improved so that more student held stronger growth mindset view, the outcome that we are trying to improve is the Difference between their Mindset Quiz score at the beginning of the semester (pretest), and their Mindset Quiz score at the end of the semester (posttest). A positive score means that students’ mindset improved, while a negative score means that their mindset actually became more fixed. We are only going to look at students who did not start holding strong growth mindset beliefs to see if any improvement was made. In this version of the study, we had three types of interventions:

1. A comparison control group who did not complete any activities related to learning about growth mindset. They only took the Mindset Quiz at the beginning of the semester and again at the end of the semester.
2. A minimal intervention group who had some activities and discussion about growth mindset, but not every week.
3. A super-intervention group who had weekly activities and discussion about growth mindset. The concept of mindset was embedded in their curriculum.

At conference discussing prior studies in this series, the student researchers had a discussion with researcher from another school and realized that all of the professors who participated in the study were women (of varying racial identities). We then went back to see if the gender of the student influenced their changes in growth mindset. We had four students whose gender was unknown or non-binary, but they were all in the minimal intervention group, so we excluded them from the analyses and only compared men versus women. Because this study took place in real classrooms, the size of each group varied, but there was a total of 46 students who completed both the pretest and posttest of the Mindset Quiz and indicated their gender.

Let's start by seeing if you understand what’s going on in this scenario.

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

Answer the following questions to understand the variables and groups that we are working with.

1. What are the IVs and their levels?
2. What is the DV (quantitative variable being measured)?
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. One IV was the Mindset Intervention, with the three levels being Control, Minimal, or Super. The other IV was gender, with the levels being men or women.
2. The DV is the Difference between each students score on the first Mindset Quiz (pretest) subtracted from their score on the later Mindset Quiz (posttest).
3. This is a 2x3 factorial design because there are two IVs (two numbers) and the IV with fewer levels has 2 levels, and the IV with more levels had 3 levels.
4. Because 2x3 = 6, we will have six combinations:
1. Women in the Control group
2. Women in the Minimal group
3. Women in the Super group
4. Men in the Control group
5. Men in the Minimal group
6. Men in the Super group

## Step 1. State the Hypothesis

Knowing nothing else, what do you predict for your research hypotheses? Will there be a main effect for gender? A main effect for the mindset intervention? An interaction of gender by mindset intervention?

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

Describe any main effects or interaction that you predict (in words only). Make sure that you predict the direction of effects by naming which group will have larger difference scores.

Dr. MO predicts that there will not be a main effect for the average Differences score from the pretest to the posttest based on gender.

Dr. MO predicts that there will be a main effect for the intervention such that the Control group will have the smallest Difference scores, the Minimal intervention group will be in the middle, and the Super intervention group will have the largest Difference score. All means will be statistically significantly different from each other.

Dr. MO predicts that there will be an interaction such that women will have a larger Difference score in in the Minimal and Super intervention scores than men, but gender won’t matter in the Control group. She’s basing this on the fact that all of the professors were women.

Your research hypothesis may differ! No means were provided, so we’re really just guessing based on the scenario and what we know about psychology and growth mindset…

##### Exercise $$\PageIndex{3}$$

What are the null hypotheses for this scenario (in words)?

All means will be similar.

If it makes more sense to you to mirror the research hypotheses, you can also list out the main effects and interaction:

• The null hypothesis for gender is that the mean Difference score for the men condition will be similar to the Difference score for women.
• The null hypothesis for the Mindset Intervention is that the mean Difference will be similar between the Control group, Minimal group, and Super group.
• The null hypothesis for the interaction is that the average Difference score for Gender and Mindset Intervention combined will be similar. [You could list out all of the combinations here again, too.]

## Step 2. Find the Critical Values

You are welcome to complete this step after you've completed the ANOVA Summary Table so that we have all of the necessary Degrees of Freedom. Instead, we will find the Degrees of Freedom now.

### Formulas for Degrees of Freedom

1. Cells: $$(k_1 \times k_2) – 1$$
2. Between group for one variable (IV11): $$k_1 – 1$$
3. Between group for the other variable (IV2): $$k_2 – 1$$
4. Interaction: $$df_1 \times df_2$$
5. Within group: $$df_{Total} – df_{Cells}$$
6. Total: N-1
##### Exercise $$\PageIndex{4}$$

What are the Degrees of Freedom for each of the six sources if N = 46?

1. Cells: $$(k_1 \times k_2) – 1 = (2 \times 3) - 1 = 6 - 1 = 5$$
2. Between group for one variable (IV11): $$k_1 – 1 = 2 -1 = 1$$
3. Between group for the other variable (IV2) $$k_2) – 1 = 3 - 1 = 2$$
4. Interaction: $$df_1 \times df_2 = 1 \times 2 = 2$$
1. Notice that we are multiplying the Degrees of Freedom of each, not k! It's so easy to get confused...
5. Within group (You have to find the Degrees of Freedom for the Total (#6 here) before you can find this one.): $$df_{Total} – df_{Cells} = 45 - 5 = 40$$
6. Total: $$N-1 = 46 - 1 = 45$$

Now that we have all of the Degrees of Freedom, we can use them to find the critical values.

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

Using the Table of Critical F-Scores, what are the critical values of F for p=0.05 for:

1. Main Effect of IV 1 (Gender)?
2. Main Effect of IV 2 (Mindset Intervention)?
3. Interaction?
1. Main Effect of IV 1 (Gender) = Using the Degrees of Freedom of the numerator (IV 1) and the denominator (WG), $$F_{Crit} (1, 40) = 4.08$$.
2. Main Effect of IV 2 (Mindset Intervention) = Using the Degrees of Freedom of the numerator (IV 2) and the denominator (WG), $$F_{Crit} (2, 40) = 3.23$$.
3. Interaction = Using the Degrees of Freedom of the numerator (Interaction) and the denominator (WG), $$F_{Crit} (2, 40) = 3.23$$.

## Step 3. Compute the Test Statistic

We’ll skip calculating the Sums of Squares; you can find them already in the ANOVA Summary Table (Table $$\PageIndex{1}$$).

Table $$\PageIndex{1}$$- Factorial ANOVA Summary Table
Source $$SS$$ $$df$$ $$MS$$ $$F$$
IV 1 141.69
IV 2 31.82
Interaction 53.01
Within Groups (Error) 1,072.08
Total 1,298.60
##### Example $$\PageIndex{1}$$

Use the Sum of Squares provided in Table $$\PageIndex{1}$$ to fill in the rest of the ANOVA Summary Table in Table $$\PageIndex{2}$$.

Solution

To complete the table, you need to need to calculate the degrees of freedom of cells $$(df_{cells} = (k_1 \times k_2) – 1)$$ although there’s no place in the table to include this information:

\begin{aligned} {df_{cells}} &= (k_1 \times k_2) – 1 \\ df_{cells} &=(2 \times 3) - 1 \\ df_{cells} &= 6 -1 \\ df_{cells} &= 5 \end{aligned} \nonumber

Table $$\PageIndex{2}$$-Factorial ANOVA Summary Table
Source $$SS$$ $$df$$ $$MS$$ $$F$$
IV 1 141.69 $$k_1 - 1 = 2 - 1 = 1$$ $$\dfrac{SS_1}{df_1} = \dfrac{141.69}{1} = 141.69$$ $$\dfrac{MS_{1}}{MS_{WG}} = \dfrac{141.69}{26.80} = 5.29 \nonumber$$
IV 2 31.82 $$k_2 - 1 = 3 - 1 = 2$$ $$\dfrac{SS_2}{df_2} = \dfrac{31.82}{2} = 15.91$$ $$= \dfrac{MS_{2}}{MS_{WG}} = \dfrac{15.91}{26.80} = 0.59 \nonumber$$
Interaction 53.01 $$df_1 \times df_2 = 1 \times 2 = 2$$ $$=\dfrac{SS_{INT}}{df_{INT}} = \dfrac{53.01}{2} = 26.51$$ $$\dfrac{MS_{Interaction}}{MS_{WG}} = \dfrac{26.51}{26.80} = 0.99 \nonumber$$
Within Groups (Error) 1,072.08 $$df_{Total} - df_{cells} = 45 - 5 = 40$$ $$= \dfrac{SS_{WG}}{df_{WG}} = \dfrac{1072.08}{40} = 26.80$$ N/A
Total 1,298.60 $$N-1 = 46 - 1 = 45$$ N/A N/A

We did it! The completed ANOVA Summary Table for this scenario looks like Table $$\PageIndex{3}$$

Table $$\PageIndex{3}$$-Factorial ANOVA Summary Table
Source $$SS$$ $$df$$ $$MS$$ $$F$$
IV 1 141.69 1 141.69 5.29
IV 2 31.82 2 15.91 0.59
Interaction 53.01 2 26.51 0.99
Within Groups (Error) 1,072.08 40 26.80 leave blank
Total 1,298.60 45 leave blank leave blank

ANOVA Summary Tables with more than a 2x2 design are less repetitive than ANOVA Summary Tables for a 2x2, huh?

## Step 4. Make the Decision

To make the decision, we need to compare each calculated F-score to the critical values that we found in Step 2.

##### Note

Remember:

(Critical $$<$$ Calculated) $$=$$ Reject null $$=$$ At least one mean is different from at least one other mean. $$= p<.05$$

(Critical $$>$$ Calculated) $$=$$ Retain null $$=$$ All of the means are similar. $$= p>.05$$

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

For each calculated F (main effect for IV 1, main effect for IV 2, interaction), decide if the null hypothesis should be retained or rejected.

1. For the Main Effect of IV 1 (Gender) = $$F_{Crit} (1, 40) = 4.08$$, so we reject the null hypothesis. The higher mean is higher (because there are only two means).
2. Main Effect of IV 2 (Mindset Intervention) = $$F_{Crit} (2, 40) = 3.23$$, so we retain the null hypothesis. The three means for the Control group, Minimal group, and Super group were similar.
3. Interaction = $$F_{Crit} (2, 40= 3.23$$, so we retain the null hypothesis. Gender and the Mindset Intervention did not interact.

Factorial designs are more complex, but it’s the same basic process that we’ve been working through this whole time.

But before we move on to the full reporting of results, let’s just make sure that we know how to write the “statistical sentences”.

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

What would the statistical sentences look like for each effect?

1. Main Effect of IV 1 (Gender): F(1, 40)=5.29, p<.05
2. Main Effect of IV 2 (Mindset Intervention): F(2,40)=0.59, p>.05
3. Interaction: F(2, 40)=0.99, p>.05

Pay attention to the greater than/lesser than sign after the p! If p<.05, it means that there’s a very small probability that the means are similar. If p>.05, there’s a large probability that the means are similar (that the null hypothesis is correct).

Before we can write the conclusion, we need to know the means to see if they are in the direction that we hypothesized way back in Step 1. The means are shown in in Table $$\PageIndex{4}$$. We do not need to conduct any pairwise comparisons because the only means that were statistically significantly different were for gender, which only had two levels, so we don’t have to do any extra calculations to know that the higher mean is significantly higher.

IV Levels IV2 (Mindset Intervention): Control IV2 (Mindset Intervention): Minimal IV1 (Gender): Men IV1 (Gender): Women Marginal Means for IV2 -2.33 1.56 0.50 -3.50 3.16 1.34 1.00 2.33 1.62 -1.31 2.57 1.22

We are ready to do the write-up! Remember, these are means of the Difference score between each participants’ pretest and posttest, and negative scores mean that the student’s posttest was actually lower than their pretest; another way to say that is that the student was closer to holder growth mindset beliefs at the beginning of the semester (before the intervention) than at the end of the semester.

It can be easier to go through each research hypothesis, one at a time.

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

Evaluate the research hypothesis for the main effect of gender by writing up the conclusion.

Solution

It was predicted that there will not be a main effect for the average Differences score from the pretest to the posttest based on gender. She was incorrect; there were gender differences in the Difference score (F(1, 40)=5.29, p<.05) such that women scored higher (M=2.57) than men (M=-1.31).

Now for the second main effect:

##### Example $$\PageIndex{3}$$

Evaluate the research hypothesis for the main effect of the intervention by writing up the conclusion.

Solution

It was predicted that there will be a main effect for the intervention such that the Control group will have the smallest Difference scores, the Minimal intervention group will be in the middle, and the Super intervention group will have the largest Difference score. This was not supported (F(2, 40)=0.59, p>.05). Instead, the three means were similar $$(M_{Control} = 0.50; M_{Minimal} = 1.34, M_{Super} = 1.62)$$.

And then the interaction:

##### Example $$\PageIndex{4}$$

Evaluate the research hypothesis for the interaction by writing up the conclusion.

Solution

It was predicted predicted that there will be an interaction such that women will have a larger Difference score in in the Minimal and Super intervention scores than men, but gender won’t matter in the Control group. This was not supported (F(2,40)=0.99, p>.05). The means by gender and mindset intervention did not statistically significantly interact. The means for each combination can be seen in Table $$\PageIndex{4}$$.

Before you move on, look at back at your own write-ups to makes sure that each of them includes all of the four required components when Reporting Results.

### Summary of the Current Mindset Study

Now that we’ve interpreted all of the statistical analyses, let’s step back a bit and think about this study. It was predicted that gender wouldn’t matter on its own, but that the mindset intervention would. But the results actually are the opposite! What happened?

Well, we don’t know for sure, and would have to do several more studies to try to figure out exactly what was going on. What we can see is that these interventions designed to increase Mindset Quiz scores actually made men have a more fixed mindset. We’re not really sure why that is, and future research should have more than professors who are women provide the mindset interventions. We could also look at the interventions themselves, and see if those may have inadvertently encouraged women but discouraged men. But this is the fun of research! We accidently found a puzzle, and can do more and more research to find all of the puzzle pieces to understand what’s going on!

Or, we could be experiencing a Type I Error and/or a Type II Error!

##### Example $$\PageIndex{5}$$

What is a Type I Error, and what is a Type II Error (in your own words)? How could they relate to this scenario?

Solution

Type I Errors are when you reject null hypothesis when it is true. In this scenario, we could be saying that there is a difference in changes in mindset between the genders when there wouldn’t be any change in a larger sample or in the population.

Type II Errors are when we retain the null hypothesis when it is false. In this scenario, we said that the intervention didn’t work. If we committed a Type II Error, we could be missing how influential these interventions are because we had a wonky sample.

The good news is that conducting more research studies solves those problems, too! Win-win! If we conduct more research, we can figure out the puzzle, and rule out either of these errors.

Okay, we’re almost done with this chapter, and with learning how to compare means between groups. The only next step is to decide which statistical analysis to run!

This page titled 13.5.1: Practice 2x3 Factorial ANOVA on Mindset is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Michelle Oja.