Unit 13d: Regression with Categorical Variables Flashcards
1
Q
can you use a
regression to run a t-test
A
yes if you create dummy variables (refer to Week 5 lab)
Regression equations only
take numerical values. So we
needed to convert our
categorical ones into
dichotomous dummy variables
with values of 0 and 1
Steps:
1. Create dummy variables (refer to Week 5 lab)
2. Decide on your reference group
1. This is the group that youβre comparing things against
2. They are left OUT of the equation
βπ = π0 + π1πππππ‘πππ + π
βπ = π0 + π1ππππ + π
2
Q
A