Let Consider a multiple regression model for a response y, with one quantitative idividually variable x1, and one qualitative variable at three levels.
a) Write a first-order model that relates the mean response E(y) to the quantitative independent variable.
b) Add the main effect terms for the qualitative independent variable to the model of part a. Justify the coding scheme you use.