Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
If you have a single categorical variable you are effectively doing a one-way anova and the concept of a linear relationship between your regressors and your response isn't well defined since you don't have any way to measure the distance between your categories or for that matter even ordination. – Jonathan Lisic Jul 31 '12 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.