Binary Correlation In R
1
0
Entering edit mode
10.6 years ago
arvish666 • 0

How would it be possible to correlate ( preferably Pearson correlation) of two binary matrices (with values 0 and 1) using R ??

r correlation • 13k views
ADD COMMENT
1
Entering edit mode

Btw, I assume you have a biological application in mind? If so you should describe it so we also can see if your approach is sane. If not, in principal I would have to close the question, but I am just assuming you have.

ADD REPLY
1
Entering edit mode
10.6 years ago
Michael 54k

Yes, it works.

In fact, a Pearson correlation coefficient estimated for two binary variables will return the phi coefficient.

http://en.wikipedia.org/wiki/Phi_coefficient

ADD COMMENT

Login before adding your answer.

Traffic: 2072 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6