Sunday, December 4, 2011

Can i calculate a Pearson's or a Spearman correlation coefficient if one (or both) of my variables is binary?

Spearman's rank Correlation:


First, rank the binary data (one or both):





Then, apply the formula:


Do you have just 0's and 1's?

No comments:

Post a Comment