Week 9 Flashcards

1
Q

What is linear regression?

A

‘If we change X by one, we’d expect y to change by b’

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

Give and example where transforming data by the natural logarithm may help to facilitate linearity and normality?

A

Exponentially decreasing graph of life expectancy (y) versus GDP/capita (x).

Becomes life expectancy (y) versus Ln GDP/capita, thus making the line straight (allows a LOBF)

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

Equation when transforming a graph by natural logs, and how it is then interpreted?

A

ln(y) = a + b(ln(x)) + e

This transformation now means regression coefficients are interpreted as elasticities

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

5 things to infer from this regression equation:

y = a + b1x1 + b2X1^2 + b3X2 + e

A

Turning point = b1/2b2

Max point: b1 = + and b2 = -
Min point: b1 = - and b2 = +
Exp(inc.): b1 = + and b2 = +
Exp(dec): b1 = - and b2 = -

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

What are interaction variables?

A

An interaction variable is used when two different x’s have an impact on y if BOTH x’s occur.

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

Example of interaction variables?

A

Coffee sweetness only occurs if both sugar goes in AND it is stirred - either one of these by them self will not help

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

How is an interaction variable developed?

A

By multiplying the two interaction variables:

y = a + b1x1 + b2x2 + b3x1x2 + e

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