Linear Regression Flashcards

1
Q

What is a correlation?

A

A measure of strength of a linear relationship, between two variables.

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

What are the two key factors of Correlations?

A
  1. The two variables in a correlation typically reflect numerical values
  2. It is represented with positive or negative values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a correlation coefficient?

A

The value that indicates the strength of the relationship between two variables.
- Falls between +1 and -1

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

Linear relationships are typically represented by what?

A

Pearson’s r

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

What does Pearson’s r tell us?
2 points

A

Strength and direction of the relationship between two variables.

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

What does regression do?

A

Expresses the relationship in the form of an equation.
- The equation for the line of best fit
- can be used to form predictions

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

How many predictor variables in ‘Simple Linear Regression’?

A

1

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

How many predictor variables in ‘Multiple Linear Regression’?

A

+ 1

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

What is a predictor variable?

A

The name given to an independent variable in regression analysis

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

What is the equation for simple regression?

A

y = a + bx
a = intercept
b = slope

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

What is meant by intercept ?

A

The point the line crosses the y axis
- y = 10 + 1x (line cross y axis at point 10)

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

What is meant by slope?

A

How much y increases for every increase in x
- y = 0 + 2x (2 y-units increase per 1 x-unit)
- y = 0 - 0.5x (0.5 y-units decrease per 1 x-unit)

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

How can we determine the strength of a regression fit?

A

By calculating the Sum of Squares Error.
The smaller the SSerror the stronger the regression fit.

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

How do you calculate the SSerror

A
  1. Calculate the deviation for each data point and square it.
  2. Add up all deviations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you calculate Pearson’s r

A
  1. convert x + y values into z scores (equation for this)
  2. multiply Z values of x by Z values of y
  3. Add up the column + divide by the number of participants - 1 (equation for this)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you calculate the regression slope?

A

You divide the standard deviation of y by the standard deviation of x, and multiply it by Pearson’s r.
b = r (sy/sx)

17
Q

How do you calculate the regression intercept?

A

subtract the mean of y from the slope, multiplied by the mean of x.
a = mean of y - slope * mean of x.

18
Q

What is total variance?

A

How much each data point varies from the mean

19
Q

What is Error variance?

A

how much each data point varies from the predicted value

20
Q

What is regression variance?

A

How much the predicted value varies from the mean
- more regression variance = stronger relationship

21
Q

How do you calculate total variance?

A
  1. Subtract the y value from the mean
  2. square the difference from the mean
  3. add up all the square differences
22
Q

How do you calculate Error variance?

A
  1. Input the x-values into regression equation
  2. subtract the predicted score from the actual test score
  3. square the predicted difference
  4. add up all the squared predicted differences
23
Q

What does variance explained tell us

A

how much of the data is explained by the regression model