I have run a multiple regression analysis and have three explanatory variables (two quantitative and one categorical).
The categorical variable has 4 levels; therefore I have 3 dummy variables in my regression model.
I am wondering whether in the model equation, I am supposed to include a separate term for each dummy variable of the categorical variable, or I'm supposed to simply write out the term for the categorical variable and not include terms for the dummies?
The variables are: $\text{Height}$ (Quantitative), $\text{Age}$ (Quantitative), $\text{Country}$ (Categorical with four levels: England, Wales, Scotland, Ireland)
So is the equation supposed to be:
- $$\text{Life Expectancy} = b_0 + b_1 \text{Height} + b_2 \text{Age} + b_3 \text{Country}$$
or
- $$\text{Life Expectancy} = b_0 + b_1 \text{Height} + b_2 \text{Age} + b_3 \text{Scotland} + b_4 \text{Wales} + b_5 \text{Ireland}$$
Note: The reference variable for the dummy variables is England and therefore I did not include it in the second equation as of course the regression model doesn't produce a coefficient for it.