9 - Multiple Regression and Categories Flashcards

1
Q

When should we consider categories for a regression analysis?

A
  • When there are nominal/ ordinal predictor variables
  • When there are 2+ groups/ categories for the predictors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the requirements to use groups in multiple regression?

A

All groups must be mutually exclusive and exhaustive.

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

Why is it important to recode categorical variables before entering them into the regression model?

A

Categorical values cannot be entered into a linear regression formula.
- Ex. “tall” and “short” mean nothing to the model.

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

Name 4 coding systems.

A
  1. Dummy coding
  2. Unweighted effects coding
  3. Weighted effects coding
  4. Contrast coding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is dummy coding?

A

Way of coding categorical variables using 0s and 1s. The reference group is coded using all 0s

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

What does every regression coefficient in dummy coding stand for?

A

A comparison of that group’s mean to the reference group’s mean

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

What is unweighted effects coding?

A

Way of coding categorical variables where the base group is the group of least interest (gets all -1s).

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

What does every regression coefficient in unweighted effects coding stand for?

A

The deviation of the outcome for each separate group to the mean of the sample.

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

When is weighted effects coding useful?

A

When the proportion of cases from each group represents the population or when the sample size of the group is different.

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

What are the requirements for contrast coding?

A
  1. The sum of the weights across groups must be 0
  2. The sum of the products of each pair of code variables must be 0
  3. The difference between a positive set of weights and a negative set of weights must be 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When is contrast coding useful?

A

When the means between groups are expected to be different

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

In unweighted effects coding, what is the mean difference for the base group?

A

The sum of all negative coefficients plus the intercept

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