Regression with Categorical Predictors Flashcards

1
Q

Categorical Predictor

A

A predictor measured on a categorical (or nominal scale)

These variables classify observations into groups and have a limited number of levels.

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

Ordinal Data

A

Placed in order e.g. sport performance

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

Interval and ratio data

A

E.g. temperature

Ratio has a true 0 point

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

Dummy Coding

A

Used when you want to assess whether a categorical variable predicts an outcome.

Categories are represented by the means of the values 0 and 1.

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

What is meant by a baseline category in dummy coding?

A

A category against which the other categories should be compared.

Assign the value of 0 to the baseline and the value of 1 to the category which will be compared against baseline.

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

What is the B value of a categorical predictor with two categories equal to?

A

The difference between the mean scores obtained on the outcome by the two categorical groups

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

When there is a categorical predictor with two categories, what does the intercept in the regression equation correspond to?

A

The mean of the baseline category (category to which we have assigned the value of 0)

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

What role does a t-test play when a predictor has two categories

A

Tests the null hypothesis that the regression line is flat (b=0) i.e. changes in the value of the predictor do not lead to changes in the value of the outcome.

If t is significant then the baseline category and the other category are significantly different.

Only look at when have 2 categories.

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

Explain the procedure when a predictor has more than two categories

A
  • Numb of dummy variables: Number of categories - 1
  • Choose one category as baseline and assign 0 to that
  • First dummy variable: assign value of 1 to first category that you want to compare against the baseline and assign 0 to all others.
  • Second dummy variable: Assign value of 1 to the second category that you want to compare against the baseline category and assign 0 to others.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which SPSS outputs are relevant for regression with categorical predictors?

A

Model summary
ANOVA
Coefficients table

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