For this correlation test, my independent variable was family involvement and my dependent variable was income. Income was measured based on the annual household earnings. Family involvement was measured on a 0-10 scale. This test showed there was a weak positive correlation (r=.196) between income and family involvement.
Steps for SPP
- Open SPSS
- Select analysis
- Select correlate
- Select bivariate
- Move independent variable (v.17) and dependent variable (v.36) into variables
- Click ok
Steps for R Studio
- Open R studio
- Input the following codes
z<-y[is.na(y$v36)==0 & is.na(y$v17)==0,]
cor(z$v17,z$v36)
- Select run
Interpretation: There is a weak positive correlation (r= .1957606) between income and engagement.