Lecture 7 - Correlation, Simple Linear Regression, R-Squared Flashcards

1
Q

Correlation, π‘Ÿπ‘₯𝑦

Correlation DOES NOT imply causation

A

Rescaled version of covariance (same sign), which lies in the interval [-1, 1]

If |π‘Ÿπ‘₯𝑦| = 1, we say it has a perfectly linear relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Question

The correlation between π‘₯ and 𝑦 is 1. This implies:

A) We have a positive relationship
B) We have a perfectly linear relationship
C) We have a strong relationship
D) All of the above
E) None of the above

A

B) We have a perfectly linear relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Question

The correlation between π‘₯ and 𝑦 is 0. This implies

A) We have no relationship
B) We have no linear relationship
C) x or y is zero
D) Both x and y are zero
E) None of the above

A

B) We have no linear relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Simple Linear Regression

Regression Line

A
  • Referred to as β€œline of best fit” or least-squares regression line
  • Found by minimizing the sum of the squared vertical distances between each data point and the line (called residuals)

Uses of this line are to:
1. Identify associations
2. Make predictions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Simple Linear Regression

Regression Line Equation

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Notes

Regression Line

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

R-Squared, π‘Ÿ2

coefficient of determination

A

The squared correlation, π‘Ÿ2 = π‘Ÿπ‘₯𝑦2, is a statistic called the coefficient of determination

  • Describes the fraction (percentage) of variability in the data which is explained by the regression model.
  • If π‘Ÿ2 is large (~80%), then it’s a good model and regression line will give solid predictions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

π‘Ÿπ‘₯𝑦

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

π‘Ÿπ‘–

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

π‘Ÿ2

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Question

A

A) Determine whether the association is linear or non-linear

A simple linear regression assumes a linear relationship between the variables. It cannot determine whether the relationship is non-linear; for that, you would need to use other methods such as plotting the data or fitting non-linear models

How well did you know this?
1
Not at all
2
3
4
5
Perfectly