Hello,
I have two variables that I want to test the correlation of. One is binary, one is a county variable that goes up to three. My understanding is that, generally speaking, for continuous variables use Pearson's (code: pwcorr) for ordinal variables use Spearmans (code: spearman), and for binary variables use tetrachoric. Based on this understanding, I was going to go with spearman. But I'm not sure if it is appropriate if one of my variable is binary, and the other only goes up to three. What is the best way forward? Thanks!
I have two variables that I want to test the correlation of. One is binary, one is a county variable that goes up to three. My understanding is that, generally speaking, for continuous variables use Pearson's (code: pwcorr) for ordinal variables use Spearmans (code: spearman), and for binary variables use tetrachoric. Based on this understanding, I was going to go with spearman. But I'm not sure if it is appropriate if one of my variable is binary, and the other only goes up to three. What is the best way forward? Thanks!
Comment