Solved – How does one interpret regression coefficients when no dumthe variables nor intercept are dropped

interpretationmultiple regressionregressionregression coefficientsregularization

I am familiar with how to interpret linear regression coefficients when the independent variables are dummy coded and one of them is dropped. And this question helped me understand how to interpret the coefficients when the intercept is dropped instead.

I am also aware of the dummy variable trap, and why it is necessary to drop one of the dummy coded categories. ( $X^TX$ will not be invertible )

However, I've found that by using regularization $X^TX + \lambda I$ is never singular and therefore invertible. This seems to allow me to not have to drop any dummy variable nor the intercept.

The problem is, I couldn't find a way to interpret the coefficients when neither of those columns are dropped.

e.g.:

Let the dataset be talking about height measurements in males and females and the gender column is dummy coded into $x_f$ and $x_m$.

Let the resulting ridge regression be $\hat{y} = \beta_0 + \beta_fx_f + \beta_m x_m$

How can I interpret the values of $\beta_0$, $\beta_f$ and $\beta_m$?

Does it change if my category has more then 2 possible values?

Does it change if I have multiple categories?

Is this even a valid way of doing regression?

Best Answer

It is certainly a valid way to run a regression. The interpretation of the coefficients in your example ridge regression is simple:

  • If you are a male, then your predicted value is $\widehat{y}=\beta_0+\beta_m$
  • If you are a female, then your predicted value is $\widehat{y}=\beta_0+\beta_f$
  • The predicted difference between males and females is $\beta_f-\beta_m$

Then the interpretation is completely analogous if you have more than one categorical value, or if your variable has more than two categories. For example, if gender had a "not given" category that you wanted to include in your model with $x_n$, then you would simply add that:

  • If gender is not given, then your predicted value is $\widehat{y}=\beta_0+\beta_n$
  • The predicted difference between males and "not given"'s is $\beta_m-\beta_n$
  • The predicted difference between females and "not given"'s is $\beta_f-\beta_n$

And you can keep adding similar examples. There's no limitation on the interpretation of the coefficients because of the intercept/dummy issue.