Correlations Flashcards
1
Q
What do correlations show?
A
Quantify relationships
Strength of relationship
How much of the variance in one variable is explained by another
2
Q
What is the correlation coefficient?
A
Size of the effect No relationship: r= 0 Perfect relationship : r=+1, positive relationship r= -1, negative relationship. 0= no relationship.
3
Q
How to calculate how much variance is explained by the model?
A
Squaring the correlation coefficient
Convert to percentage
4
Q
What command calculates Pearson’s correlation in R?
A
cor.test()
Need to know x , y, method.
We can access variable x and y by using the $ symbol
Variable x = df$x
Variable y =df$y
cor.test(x = df$xvariable, y= df$RPE, method = “Pearson”)
5
Q
What does squaring the correlation coefficient show?
A
How much variance in one variable is explained by another variable