Our first independent variable (also known as a “factor”) is gender. Our dependent variable is Data Science exam score. We want to know whether these exam scores differ based on students’ gender and major. Our fictitious data set contains the Data Science exam scores for 60 students enrolled in one of three majors – Sociology, Political Science, and Economics. (Check out our tutorials on importing data from Excel or MySQL into SPSS). Our starting assumption is that you have imported your data into SPSS, and that you’re looking at something like the data set below. Our tutorial includes a test for this assumption. Please see our tutorial on testing for normality in SPSS.
The dependent variable is approximately normally distributed in each of the populations from which the samples are drawn.
The assumptions of the two-way ANOVA are: