Is it possible to run a correlation test on a continuous DV and a categorical IV with 3 levels?

I'm investigating is gender is associated with academic procrastination, however, my gender variable is coded as: 0 = Male; 1 = Female; 2 = Non-Binary.

Initially I ran a Pearson product-moment correlation coefficient test however, I have now realised that this may not be the right procedure.

Any help would be greatly appreciated!

More Cormac Monaghan's questions See All
Similar questions and discussions