Pearson’s Correlation

Rstudio:

z <-y[is.na(y$v23)==0 & is.na(y$v36)==0,]

cor(z$v36,z$v23)

The variables examined for this Pearsons correlation were household income (v36) and family involvement (v23). The variables of household income were tested to see if there was correlation between family evolvement and certain income levels. According to this Pearsons correlation test there is weak positive correlation between income and family involvement which means there is not a large difference between families with low incomes involvement and families with high incomes involvement.