Which method will we use to analyse data?
So, when there is a categorical + continuous variable → use ANOVA
Creating a new syntax
How to get a mean for a variable?
1. Descriptive function
2.
You can also divide it by the IV (company here):
,Then, you get the mean of age divided by the company.
SPSS syntax:
One way ANOVA
Performing the One-way ANOVA:
, Adding the Levene’s test: → to test for homogeneity of variance
Correlations
You check this by making a scatterplot (see below)
Then the actual correlation:
Syntax: