Topic 11- Extensions To Regression Analysis Flashcards

1
Q

This topic looks at alternate ways to specify a regression model. E.g non-linear

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

4 types of new variables in regression equations

A

Natural logarithms of variables
Quadratic variables
Interaction variables
Dummy variables

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

Natural logarithm 2 uses

A

Condenses the dataset, make a non-linear relationship into a linear.

Can also make a skewed distribution become more normally distributed.

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

X values for natural logarithm (on the graph)

A

X=1 on the graph is a 0 log value
X<1 is a negative log value
X>1 is a positive log value

(Line looks roughly like the beginning of a laffer curve)

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

How to use logarithms in regression. (In words)

A

Assume a non-linear relationship between independent variable (x) and dependent variables (y), but a linear relationship between lnX and lnY

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

Logarithm regression equation

A

LnY=a+blnX+e

Where
B=r(SlnY/SlnX)
A=lnY bar - blnX bar

(Basically just add ln to each X and Y from the basic regression formula)

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

2: Quadratic variables

A

Analyse relationships with a quadratic shape e.g tax (laffer curve)

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

Example: estimating happiness with age

What would the regression equation look like, and also in general

A

Happiness=a+b₁AGE+b₂AGE²+e

General
Y=a+b₁x₁+b₂x²₁+b₃x₂+…+e

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

How to find the minimum/maximum

A

Differentiate to find turning point

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

Draw out the 4 quadratic variable grpahs

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

Interaction variables, and example

A

2 independent variables have an additional impact on y (THE DEPENDENT) if they BOTH OCCUR

E.g stirring coffee, and adding sugar.
Sweetness will not be impacted by just sugar or just stirring

It will be affected by sugar and stirring.

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

Example: if testing if it is young or unemployed people, or young AND unemployed people that cause high crime

What would the regression equation look like

A

Crime=a+b₁YOUNG+b₂UNEMPLOYED+b₃YOUNG x UNEMPLOYED+e

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

Final new type of variable: Dummy variables purpose

A

Allows us to include nominal scale data or qualitative variables into the regression model e.g gender, unemployed or employed.

Take value of 0-1

E.g 1=female 0=men
0 usually means attribute not present

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

Example: we want to find out effect of gender on wages

What would the regression equation look like?

A

WAGE=a+b₁EDUCATION+b₂GENDER+b₃CHILDREN+b₄MARRIED+e

Here we can see we added gender, and included control variables to isolate the effect of gender on wages.

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

Using the example equation, how do we interpret the b₂ coefficient?

A

Let gender
1=female
0=male

If b₂>0, women earn more
If b<0 women earn less

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

Note: we can interact dummy variables too

E.g b₅GENDER x CHILDREN

A
17
Q

Aside: P value in ,,

A

=p=0.1
**=p=0.05
**
=p=0.01 (highest confidence as smallest)