Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I am examining the relationship between a categorical variable and a quantitative one. For the test of linearity, I was told that I must use scatter plots. However, this is no longer applicable if one of the variables is categorical. So I resorted to box plots. Now, I have difficulty identifying/checking if there is a linear relationship among males and females (gender is the categorical variable) in terms of their side by side box plots. Can anyone help me with this?

share|improve this question
Relationship between a quantitative variable and a dichotomous variable (such as sex) is but linear. The shortest way to connect the two levels (midlines in the boxes) is a straight line – ttnphns Jul 1 '12 at 8:07
1  
is it always linear ? so if that's the case, I can move on to another test (assumption of normality) – Deah Jul 1 '12 at 8:23
3  
"Linear" and "nonlinear" make no sense when discussing the relationship between a categorical and a continuous variable. As @ttnphns said, you can always draw a straight line, but so what? – Peter Flom Jul 1 '12 at 11:09

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.