Pearson’s Correlation

Pearson’s Correlation in Rstudio

#Chapter 10 – Pearson’s Correlation

r<-parent[is.na(parent$v17)==0 & is.na(parent$v18)==0,]

cor(r$v17,r$v18)

cor(v17~v18, data=r)

 

For this activity the variables used were, how well did your family enjoy this activity by how much did this activity help to improve you and your child’s/children’s relationship. Both variables were continuous variables on a scale of 0 to 10.  The correlation was 0.6865167. This shows that parents who helped their child/children with the activity created a better relationship with their child/children.  However, this may or may not reflect a larger population.

 

Notice: There is no table and there is no significance.