Data from Jakob et al. (2019). Collabra: Psychology, 5, 31. The authors investigated how the Hogwarts’ sorting hat test relates to some empirically established personality traits (in this example, Machiavellianism).
First, let's see if there are differences in Machiavellianism between the different houses using a one-way ANOVA.
As you can see in the output below, there is a significant difference in Machiavellianism between the different houses, F(3, 843) = 36.26, p < .001