Solved – How to verify linearity assumption in linear regression with categorical predictors

I have used simple linear regression, and I'm now checking that the model meets the assumption of linearity. The model used a continuous response variable and categorical explanatory variables. How can I asses linearity when using categorical explanatory variables?

Linear regression with only categorical explanatory variables is really ANOVA. With only one categorical predictor (with two or more levels) this is one-way ANOVA. In one-way ANOVA the linearity assumption is essentially empty, so there is nothing to check.

With two or more categorical predictors this corresponds to rwo-way (or higher) ANOVA. In this case also, linearity is empty, so there is nothing to check about linearity, but the question of including (or not) interactions arises, so should be checked/thought about.

Similar Posts:

Rate this post

Leave a Comment