ANOVA Explained: How to Perform One-Way and Two-Way ANOVA in SPSS

You have collected all your data. Your questionnaire is complete. Your respondents cooperated. Now comes the moment many Kenyan students dread: data analysis. You open SPSS, look at your columns of numbers, and freeze. You have three groups to compare—maybe three teaching methods, four age groups, or five different farms. A T-test won’t work because you have more than two groups. So what do you do? The answer is ANOVA. If this feels overwhelming, you are not alone. Many students at the University of Nairobi, Kenyatta University, and Moi University struggle with statistical analysis. That is exactly why at Proposal Writers Kenya, we offer Data Analysis Assistance to help students like you navigate SPSS with confidence. But first, let us break down ANOVA so you understand what it does and how to run it.
How online thesis writing service work

What is ANOVA? A Simple Explanation

ANOVA stands for Analysis of Variance. Despite the fancy name, the concept is straightforward.

Imagine you want to compare exam scores from three different universities: UoN, KU, and Moi. You notice their average scores are slightly different. But is that difference real, or just random chance?

ANOVA answers this question by looking at variance—how spread out the scores are. It asks: Is the difference between the groups big enough that it probably isn’t just luck?

 
 
ConceptSimple Meaning
Between-group varianceDifferences among the universities
Within-group varianceDifferences inside each university
F-statisticBetween-group ÷ Within-group (signal to noise)

If the F-statistic is large and the p-value is less than 0.05, congratulations—you have found a statistically significant difference.

Thesis Proposal Writers in Kenya

One-Way vs. Two-Way ANOVA: Which One Do You Need?

Before you touch SPSS, you need to know which test to run.

One-Way ANOVA

Use this when you have one independent variable with three or more categories.

  • Example: Comparing exam scores (DV) across three universities (IV: University with levels UoN, KU, Moi).

  • Research question: Is there a significant difference in performance among students from UoN, KU, and Moi?

Two-Way ANOVA

Use this when you have two independent variables. This allows you to test for an interaction effect.

  • Example: Comparing exam scores (DV) based on University (UoN, KU, Moi) AND Gender (Male, Female).

  • Research question: Does the effect of university on performance depend on gender?

The Two-Way ANOVA is more powerful because it can reveal whether two factors work together to influence your results.

Thesis Proposal Writers in Kenya

Assumptions of ANOVA (Check These First)

Before running any test, ensure your data meets these three assumptions. If not, your results may be invalid.

 
 
AssumptionWhat It MeansHow to Check in SPSS
NormalityData is roughly bell-shapedShapiro-Wilk test or Q-Q plots
Homogeneity of varianceSpread of scores is similar across groupsLevene’s test (we will cover this)
IndependenceEach respondent belongs to only one groupStudy design (no repeated measures)

For Kenyan thesis purposes, Levene’s test is the most commonly reported assumption check.

Step-by-Step: One-Way ANOVA in SPSS

Step 1: State Your Hypotheses

  • Null hypothesis (H₀): There is no significant difference in exam scores among UoN, KU, and Moi students.

  • Alternative hypothesis (H₁): There is a significant difference in exam scores among at least two of the universities.

Step 2: Set Up Your Data

In SPSS Data View, create two columns:

  • Column 1 (Score): All exam scores in one column.

  • Column 2 (University): Code groups as 1 = UoN, 2 = KU, 3 = Moi.

Step 3: Run the Test

Navigate to: Analyze > Compare Means > One-Way ANOVA

  • Move your dependent variable (Score) into the Dependent List.

  • Move your independent variable (University) into the Factor box.

Step 4: Click “Post Hoc”

Post hoc tests tell you which specific groups are different. Click Post Hoc and select Tukey (most common for equal sample sizes) or Bonferroni (more conservative).

Step 5: Click “Options”

Select Descriptives (to see means and standard deviations) and Homogeneity of variance test (to check Levene’s test).

Click Continue, then OK.

How to Read One-Way ANOVA Output

SPSS will generate several tables. Focus on these four:

Table 1: Descriptives

This shows the mean and standard deviation for each university. Look here first to see which group scored highest.

Table 2: Test of Homogeneity of Variances (Levene’s Test)

  • Look at the Sig. column.

  • If p > 0.05, you have met the assumption. Good.

  • If p < 0.05, the assumption is violated. You may need to use Welch’s ANOVA instead.

Table 3: The ANOVA Table (The Main Event)

This is what you have been waiting for.

 
 
SourceSum of SquaresdfMean SquareFSig.
Between Groups125.45262.735.230.008
Within Groups450.304510.01  
Total575.7547   
  • Look at the Sig. (p-value) column.

  • If p < 0.05, the result is statistically significant. You reject the null hypothesis.

  • In this example, p = 0.008, which means there is a significant difference somewhere.

Table 4: Post Hoc Tests (Tukey HSD)

This table tells you exactly where the difference lies.

 
 
(I) University(J) UniversityMean DifferenceSig.
UoNKU3.450.042
UoNMoi4.120.008
KUMoi0.670.750

Interpretation: UoN performed significantly better than both KU and Moi (p < 0.05). There was no significant difference between KU and Moi.

Thesis Proposal Literature Review

Step-by-Step: Two-Way ANOVA in SPSS

When you have two independent variables, use Two-Way ANOVA.

Navigate to: Analyze > General Linear Model > Univariate

  • Dependent Variable: Exam Score

  • Fixed Factor(s): University AND Gender

Click Plots to create an interaction graph. Put one factor on the horizontal axis and the other as separate lines. Click Add, then Continue.

Click OK to run.

Reading Two-Way Output

Look at the Tests of Between-Subjects Effects table. Focus on three rows:

 
 
SourceFSig.
University5.230.008
Gender0.450.720
University * Gender3.120.045
  • Main effect of University: Significant (p = 0.008). University matters.

  • Main effect of Gender: Not significant (p = 0.720). Gender does not matter.

  • Interaction effect (University * Gender): Significant (p = 0.045). This means the effect of university on performance depends on gender. Look at your profile plot to interpret this visually.

Writing a Research Proposal Methodology

How to Report ANOVA Results in Your Thesis

Here are ready-to-use templates for your thesis or research paper.

Reporting One-Way ANOVA (APA Format)

*A one-way analysis of variance (ANOVA) was conducted to examine the effect of university type on student exam scores. The results revealed a statistically significant difference among the three universities, F(2, 45) = 5.23, p = 0.008. Post hoc comparisons using the Tukey HSD test indicated that the mean score for UoN (M = 78.5, SD = 4.2) was significantly higher than both KU (M = 75.0, SD = 3.8) and Moi (M = 74.3, SD = 4.0). No significant difference was found between KU and Moi.*

Reporting Two-Way ANOVA (APA Format)

*A two-way ANOVA was conducted to examine the effects of university and gender on exam scores. There was a significant main effect of university, F(2, 42) = 5.23, p = 0.008. There was no significant main effect of gender, F(1, 42) = 0.45, p = 0.720. However, there was a significant interaction effect between university and gender, F(2, 42) = 3.12, p = 0.045, indicating that the effect of university on performance depended on the student’s gender.*

Common Mistakes Kenyan Students Make with ANOVA

MistakeWhy It Is a Problem
Running ANOVA for only 2 groupsA T-test is simpler and more appropriate
Forgetting Post Hoc testsANOVA tells you a difference exists, but not where
Ignoring Levene’s testIf variances are unequal, your results may be wrong
Misreading the p-valuep = 0.000 does not mean zero; it means p < 0.0005

Frequently Asked Questions

1. What is the difference between ANOVA and a T-test?
A T-test compares two groups. ANOVA compares three or more groups.

2. What if my data is not normal?
Use the non-parametric alternative: Kruskal-Wallis test.

3. What does p = 0.000 mean?
It means p < 0.0005. Your result is statistically significant.

4. Can I run ANOVA with unequal sample sizes?
Yes, but use the Welch ANOVA or be cautious with interpretation.

Conclusion

ANOVA does not have to be scary. Once you understand the logic—comparing between-group variance to within-group variance—the test makes sense. One-Way ANOVA handles a single factor with three or more groups. Two-Way ANOVA adds a second factor and reveals interaction effects.

The key steps are simple:

  1. Check your assumptions (Levene’s test)

  2. Run the test in SPSS

  3. Read the p-value in the ANOVA table

  4. Use Post Hoc (Tukey) to find where the difference lies

  5. Report using the APA templates above

If you run into trouble with SPSS, if your p-values do not make sense, or if you simply do not have the time to figure this out alone, you do not have to struggle.

At Proposal Writers Kenya, we specialize in helping students complete their data analysis chapter accurately and on time. Whether you need someone to run your SPSS tests, interpret the output, or write up the results section for your thesis, our experts are here to help.

Click here to get help with your Data Analysis today – and finally move forward with your research.

Need Help With Your Research Proposal?