Week 5 - Non-linearities. Binary variables. Interactions. Flashcards

1
Q

When can you use logarithms?

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

What is a binary variable?

A

A binary variable only has two values 1 and 0.

2 They are used to distinguish one category over the rest. Normally, the
value 1 is reserved for the category one wants to focus on

Think switch

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

Binary variables: inference

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

The binary variable trap

A

If your model is going to have di§erent intercepts, one for
each of the n groups in a categorical variable, then you
need to include n-1 binary variables along with the
intercept.

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

2 How do you deal with categorical variables?

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

Define Interactions

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