I am looking at the relationship betwwen two interval level variables, being income and subjective well-being and I want to test the overall correlation as well as the correlation in three professional groups, namely doctors, high school teachers, and shop assistants.
If I use bivariate correlation, I will have to run two tests, one for the overall relationship and the other for pofessional groups. I am using SPSS.
Can this be done in one setup?
Sorry, I am a newbie so regression may be an option but my focus is on correlation.