Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

Suppose I collect a lot of data from a group of persons, like

  • their height
  • their weight
  • color of eyes (chosen from eg the four categories blue/brown/black/other)
  • sex
  • day of the week the measurement was done

and I want to find which of the above data correlates with height.

For weight, I can image how that goes: just make the (x,y) set and measure stuff like Pearson's correlation. But I get stuck for things like 'colors of eyes' where there's no natural way to order them, or binary data like sex. Also for day of the week (where I'd like to find no correlation at all) but I wouldn't know how to order them.

How do I do this?

share|improve this question
add comment

2 Answers 2

There are lots of textbooks under headings like "Categorical Data Analysis", "Non-Parametric Statistics", et cetera, and all the standard statistical packages — GenStat, SAS, SPSS, and other names that will make me sound real ancient if I mention them — will have lots of practical advice about their usage on this kind of data.

share|improve this answer
add comment

I think sex can be written as a yes/no question. Female = 1. Male = 0.

You can extend this to eye color. Blue eyes: yes/no. Green eyes: yes/no. Brown eyes: yes/no. One variable like eye color becomes three variables that are either 0 or 1. This gives you a lot of variables but you can do numerical things with them.

Sometimes it makes sense to look at these variables as the probability of being male, having green eyes or whatever.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.