Loading [MathJax]/jax/output/CommonHTML/jax.js

14 One-Way Between-Subjects tables

This chapter is currently under development but will eventually show how to complete ANOVAs and ANOVA tables by hand.

14.1 The ANOVA table

One-Way Between-Subjects Scenario: A research team are investigating the influence of mainstream media on life happiness. They record Life Happiness scores from 0 to 100 with higher scores meaning more happy with life from a large cohort of participants and split the participants into two groups; Group 1 (n = 72) and Group 2 (n = 81). The researchers want to check whether there is a difference between the two groups of participants in terms of Life Happiness. Calculate F from the below one-way ANOVA output table comparing mean Life Happiness scores across the two groups of participants and state whether there is a significant difference between the groups or not. The Sums of Squares (SS) have been given to you.

Conditions SS df Mean Square F-value
Between 44.56
Within 2126.3
Total 2170.86

In order to complete the above table we need to:

  • determine the degrees of freedom (df) of the Between and the Within components
  • use the df to calculate the Mean Squares (MS)
  • use the Mean Squares to calculate the F-value

Degrees of Freedom

In an ANOVA there are two degrees of freedom. The first is the degrees of freedom related to the number of groups/conditions/models and is usually called dfBetween, dfCondition, or dfModel. They all refer to the same idea. Regardless of what you call it, this df is calculated as:

dfbetween=k1

Where k is the number of conditions or groups.

The second degrees of freedom is related to the number of participants/observations/data-points and is usually called dfWithin or dfModel; again both referring to the same idea. This df is calculated as:

dfwithin=Nk

Where N is total number of participants in the whole experiment and k is again the number of conditions or groups. The dfwithin can also be phrased as the:

dfwithin=k1(nk1)

Which can be read as taking 1 away from the n in each group (k) and then summing those values together. For example, if you had a total of 20 participants in your experiment (N=20) and they were split into 2 groups (k=2) of 10 per group (n=10), then you would do:

dfwithin=(101)+(101)=18

But as that is the same as Nk (i.e. 20 - 2 = 18), and Nk is easier to think about, we will use that approach here.

So, using those two formulas and the information given to us, first we see we have two groups. As such:

dfbetween=k1=21=1

Next we see that we have n = 72 in Group 1, and n = 81 in Group 2, meaning that we have a total number of participants of N = 72 + 81 = 153. And if we put that into the formula for the dfWithin we see:

dfWithin=Nk=1532=151

Meaning that we have dfBetween = 1, and dfWithin = 151, and we can fill those into our table as such:

Conditions SS df Mean Square F-value
Between 44.56 1
Within 2126.3 151
Total 2170.86

Mean Squares

Great! Now the next step is to calculate the Mean Square value for both the Between (i.e. Groups) and Within (i.e. Residuals) components. The Mean Square is really an abbreviation of the Mean Sums of Squares and is the Sums of Squares of a component divided by the degrees of freedom. Or in other words:

MS=SSdf

Looking at the table above we have all the information we need to calculate both the MSBetween and the MSWithin. They would look like:

MSBetween=SSBetweendfBetween=44.561=44.56

And

MSWithin=SSWithindfWithin=2126.3151=14.081457

Meaning that we have MSBetween = 44.56 and MSWithin = 14.081457, which we can add in to our ANOVA table as such:

Conditions SS df Mean Square F-value
Between 44.56 1 44.56
Within 2126.3 151 14.081457
Total 2170.86

The F-value

Awesome. Finally, we need to calculate our F-value which is the ratio between the MSBetween and MSWithin, and can be written as:

F=MSBetweenMSWithin

And so if we put our numbers in from above we see:

F=MSBetweenMSWithin=44.5614.081457=3.1644453

Giving us an F-value of F = 3.16 (to two decimal places), which we can now put into our table to complete our table as such:

Conditions SS df Mean Square F-value
Between 44.56 1 44.56 3.16
Within 2126.3 151 14.081457
Total 2170.86

Effect size

There are a few effect sizes that people use for the ANOVA with one of the more common ones being what is called partial eta-squared with the symbol η2p (as η is the symbol for "eta", and is pronounced "eat-ah", and the 2p indicating "partial" and "squared"). The formula for partial eta-squared is:

ηp2=SSBetweenSSBetween+SSWithin

From above, we know that:

  • SSBetween = 44.56 and
  • SSWithin = 2126.3

And if we start to fill those into the formula we see:

η2p=44.5644.56+2126.3=44.562170.86=0.0205264

Meaning that this analysis has an effect size of η2p = 0.02 (to two decimal places).

The Write-UP

The standard APA format for writing up an ANOVA is usually:

F(dfBetween, dfWithin) = F-value, p = p-value, η2p = effectsize-value

From above we know the two dfs and we know the F-value and the effect size, so what we need now is to determine the significance.

Determining Significance

If we were to look at a critical values look-up table for dfBetween = 1, dfWithin = 151, and α=.05, we would see that the closest we have is for dfBetween = 1, dfWithin = 100, which has a critical value of Fcrit = 3.94. Given that our F-value is smaller than our Fcrit then we can say our result is not significant, and as such would be written up as F(1, 151) = 3.16, p > .05, η2p = 0.02.

Remember: If you were writing this up as a report, and analysed the data in R, then you would see the p-value was actually p = 0.07747604, and would be written up as p = 0.077

14.2 Look-Up table

Remembering that the Fcrit value is the smallest F-value you need to find a significant effect, find the Fcrit for your dfs, assuming α=.05. If the F-value you calculated is equal to or larger than Fcrit then your test is significant. In this table, to fit it on to the page, dfBetween is written as df1, and dfWithin is written as df2.

dfs df1 = 1 df1 = 2 df1 = 3 df1 = 4 df1 = 5
df2 = 1 161.448 199.5 215.707 224.583 230.162
df2 = 2 18.513 19 19.164 19.247 19.296
df2 = 3 10.128 9.552 9.277 9.117 9.013
df2 = 4 7.709 6.944 6.591 6.388 6.256
df2 = 5 6.608 5.786 5.409 5.192 5.05
df2 = 10 4.965 4.103 3.708 3.478 3.326
df2 = 15 4.543 3.682 3.287 3.056 2.901
df2 = 20 4.351 3.493 3.098 2.866 2.711
df2 = 25 4.242 3.385 2.991 2.759 2.603
df2 = 30 4.171 3.316 2.922 2.69 2.534
df2 = 40 4.085 3.232 2.839 2.606 2.449
df2 = 50 4.034 3.183 2.79 2.557 2.4
df2 = 60 4.001 3.15 2.758 2.525 2.368
df2 = 70 3.978 3.128 2.736 2.503 2.346
df2 = 80 3.96 3.111 2.719 2.486 2.329
df2 = 90 3.947 3.098 2.706 2.473 2.316
df2 = 100 3.936 3.087 2.696 2.463 2.305