Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    $\begingroup$ Thanks. I am learning statistics at the 'speed of light' because it is a requirement of my new job. Would this coding still apply to correlation analysis. $\endgroup$ Commented Oct 7, 2011 at 20:52
  • 1
    $\begingroup$ @Adhesh If you mean correlation between two quantitative variables, then there's no coding issue: just use the raw measures. If your question is about association between two qualitative variables, then you might consider asking a new question, but frankly there's not much difficulty in this case (unless you want to use unevenly spaced scores for variables categories, but this has been answered elsewhere on this site). $\endgroup$ Commented Oct 7, 2011 at 21:04
  • 5
    $\begingroup$ @Adesh Coding a binary 1/2 or 0/1 will get you not affect your correlation coefficient. 0/1 also has the advantage that the mean of the variable would be the percent male or female, depending on which is which. Other coding schemes may be useful for interpreting different types of analysis. $\endgroup$ Commented Oct 7, 2011 at 21:16