correlation Flashcards
1
Q
What are the common names for the x and y variables?
A
- x variable
- predictor
- explanatory
- independent variable
- y variable
- outcome
- response
- dependent
2
Q
How do you quantify a relationship between an x and y variable?
A
- Correlation coefficient (r)
- Aka Pearson’s r
- r = (cov(x,y) / Sx * Sy )
3
Q
r2
A
- % of the variation in Y explained by the variation in x
- r = 1 is a perfectly correlated line in a positive direction (up and to the right)
- r = -1 is a perfectly correlated line in a negative direction (down and to the right)
4
Q
What does the regression line help with?
A
- Describe the data
- make predictions
5
Q
What is the residual?
A
- The difference between the observed and expected values